I am trying to make a small project using Nodemcu. My project is WiFi controlled LED, 2 LED's will blink at the same time. I have successfully uploaded the code and it works fine using USB connection. But I want to power the Nodemcu using 12 volts 1.5 amps AC to DC adapter. I have checked it in web search but I have not found an understanding circuit. please help me out guys.

| improve this question | | | | |

You connect the + side of the adapter to VIN pin and the - side to GND.

You can use max 20 V for the VIN pin (which is used by the adapter); probably it means you 'waste' some power (but it's from a wall wart, so it should be ok). See the remark of Flyingfenix below for heating consequences.

See this link: Power Related ESP-12E Development Board Pins, fragment 'Using a Wall Wart':

enter image description here

The current (1.5A) should be more than enough; the adapter's current should be higher than what is needed by the NodeMCU + circuit. So this is ok.

| improve this answer | | | | |
  • 1
    Thankyou Michel Keijzers. I will go ahead and try the connection today. cheers..!! – Vikranth N Jan 27 at 10:21
  • 1
    Please note that the regulator used (AMS1117 3.3V or equivalent) is a linear regulator, meaning that it "wastes" everything above 3.3V as heat. Using a 12V or above supply and loading the module's outputs/using wifi means it will run very hot - possibly even damaging it. Use, if possible, a 5V wall wart - temperatures will be much lower. – Flyingfenix Jan 27 at 21:18
  • @Flyingfenix Thanks for the remark, I put a forward in my answer to your comment. – Michel Keijzers Jan 27 at 21:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.