I was trying to run my ESP8266(iot device) by watching and learning from this video.
https://www.youtube.com/watch?v=9QZkCQSHnko (only 5 mins long)
Now in the video it is mentioned that the ESP chip requires 20mA-250mA of current.
The person uses a voltage divider circuit built through resistance to regulate the voltage.
He uses two resistors of 2k Ohms and 1k Ohms respectively. Now, the minimum resistance of the circuit connected to power supply, when the ESP is connected through parallel will still be greater than 1k Ohm (least lower bound) as you will connect the ESP through parallel to the 2k Ohm resistor.
Now the power supply was of 5v in the video, and by using Ohm's law, we would get a maximum current of 5mA. How can the chip work then?