-->
Page 1 of 1

External power supply

PostPosted: Mon Oct 10, 2016 1:43 pm
by rodrigocirilo
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

Re: External power supply

PostPosted: Mon Oct 10, 2016 2:46 pm
by rudy
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.

Re: External power supply

PostPosted: Mon Oct 10, 2016 3:17 pm
by ChrisH
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).

Re: External power supply

PostPosted: Tue Oct 11, 2016 6:49 am
by rodrigocirilo
Ok, thanks for the answers.
I will be here with a good charger.
Yes Governor 7805 heats up a bit, he put in a sink.