Powering the ESP-12E NodeMCU Development Board

NodeMCU Development Board Power Supplies

powering-nodemcu-boardThe low cost NodeMCU can be powered a variety ways.   The neat thing about the boards being offered on the internet is that they are largely the same.  This article is based on the LoLin V3 module I have on my bench.  It’s an ESP-12E version. There can be subtle differences in others being offered, so do pay attention.

This is not intended to be an exhaustive list, but rather one that should give you some ideas.

GETTING A NodeMCU ESP-12E Development Board

You can pick up one of these modules from anyone of the following vendors:

Amazon     eBay      Bang good      Dealextreme

 

Power Related ESP-12E Development Board Pins

Since we’re focusing on powering the NodeMCU board,  the following illustration only shows the power related pins.

esp12-e-developer-board-power-pinouts

 

NodeMCU ESP-12E Power Supply Simplified Schematic

I found a development board schematic, compared it to the my NodeMCU board and found it to be pretty accurate.  The following simplified drawing is based on that schematic.

The Schottky diode means you can provide both VIN and USB power safely.   Something that is necessary if you USB port chokes.

Keep in mind, there are five ground pins and three 3.3V pins.  They are the same electrical point and thus not included in the schematic below for simplicity sake.

node-mcu-power-supply-schematic

Overview of Your Supply Options

Examining the Schematic,  the options boil down to three basic approaches.

  1.  Use USB Power…   Great for loading programs,  but not so good if you want to actually have your project disconnected from the computer.
  2. Provide 3.3V directly…  This is a strong option.  With your own off board regulator,  you can provide a robust power source for your device.
  3. Provide Power to VIN…   The regulator is rated up to 800 mA.   In may cases, that is more than sufficient.   Care should be taken to keep track of your load if your intent is to power other devices from the 3.3.V pin.

Specific NodeMCU Power Supply Examples

Power the NodeMCU ESP8266 via the USB Port

Using my computer, this works fine.  On yours it might not.  Some USB ports can’t provide the current necessary to the ESP8266 development board.connect-to-computer

 

Use a Bench Top Supply Unit (Minghe B3603)

As the schematic shows,  there is an on board 3.3V regulator.  It is connected to VIN.   This allows us to provide something other than 3.3 V to the board.

If you’re constantly testing ideas, having a small constant current, constant voltage adjustable supply around is smart.  I use the Minghe B3603 and I cover it in more detail HERE.

In this example, the power supply is set to 5V and connected to VIN.   It should be capable of providing more than 1.0 Amp of current with no heat issues.  As mentioned before, the ESP8266, when doing it’s thing,  can hog some current.

NOTE – You could use a higher voltage.  I selected 5V because I often have other devices that are powered by 5 Volts.

 

nodemcu-powered-by-b3603Getting a Minghe B3603..

Try any of the following locations:

Amazon    eBay     Bang good     Deal Extreme

Use the Minghe Supply and Connect to 3.3V Input

A set up similar to what is pictured above is what will be required.  Set the voltage to 3.3 Volts and connect to one of the 3V inputs.

 

Use a Wall Wart

Something like a nine volt supply will work fine.   You just need to cut the end off.   Use a meter to verify polarity and then connect.

esp-12e-powered-by-wall-wart

Power the NodeMCU with a 9V Battery

This is my least favorite option.   You may wish to think about re-chargeable batteries if this is the route you choose to go.

power-esp-12e-with-a-9v-battery

Power the ESP-12E Development Board with 3.3V Regulator

This option allows you to power other 3.3 volt devices.   I’d normally use some 10 uF capacitors in a circuit like this.   I didn’t find them necessary at the output because the NodeMCU board already has one.

As for the input to the regulator, I was just being lazy.

power-nodemcu-with-ld33

Getting a 3.3V Regulator

Amazon      eBay