This question already has an answer here:
I am trying to create a power supply circuit for the ESP8266, using a voltage divider and a cellphone charger rated at 5V, 1A as power supply.
I have resistors connected like this:
The resistors are rated at 1 - 6 W. Using an online calculator for power dissipation i get 900W per resistor for the ESP8266 max current of 300mA. I am using 3 10K resistors with two in series for the 20K part.
I guess this is the correct reasoning.
Could someone explain if I'm doing something wrong and if this will work?