Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By rodrigocirilo
#56327 Hello everyone!.

I'm doing some tests with NodeMCU and it is powered by USB computer right? Could I use a mobile charger with micro USB output to power the NodeMCU?
Image

Also use as alternative power, a battery 12v going through a 7805 regulator connected to GND and Vin
User avatar
By rudy
#56331 I use chargers and adapters along with other switching power supplies. You didn't list the ratings for the charger you want to use. Quality of chargers vary.

Using a linear regulator from a 12 volt battery will waste power but it will work but you will need to use a heatsink.
User avatar
By ChrisH
#56332 Powering it with a phone charger works just fine (it should be at least 500mA, but most chargers are).

Using a regulator works fine to. I'm using a 7805 on my board to power the NodeMCU.
It's meant to control a RGB LED strip, so I have 12v for the strip and then bump it down to run the NodeMCU.
Image

EDIT (because making food makes you take almost an hour to write a reply.. ;D ):
Yes, as rudy said: Use a heatsink!
Also, using a USB power bank or a couple of AA batteries might be better/easier than a 12v battery (depending on your other requirements).