1

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.

0

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

You have to check the maximum voltage when using the VIN pin. 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

Examples: Wall-Mount-AC-Adapters

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.

7
  • 1
    Thankyou Michel Keijzers. I will go ahead and try the connection today. cheers..!!
    – Vikranth N
    Jan 27 '20 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. Jan 27 '20 at 21:18
  • 1
    NodeMCU is not an Arduino and I've seen stories about them burning up when supplied with voltage too high.
    – S. Imp
    Jun 26 '20 at 16:37
  • 1
    @S.Imp Thanks for that remark, I removed the +20V as I cannot find it (anymore). Jun 26 '20 at 16:43
  • 1
    @MichelKeijzers your answer is pretty helpful. You might offer a link to 3.3V wall warts or to one of the voltage regulators mentioned here
    – S. Imp
    Jun 26 '20 at 20:27

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.