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.

asked Jan 27, 2020 at 10:10

1 Answer 1

1

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.

answered Jan 27, 2020 at 10:16
7
  • 1
    Thankyou Michel Keijzers. I will go ahead and try the connection today. cheers..!! Commented Jan 27, 2020 at 10:21
  • 3
    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. Commented Jan 27, 2020 at 21:18
  • 1
    NodeMCU is not an Arduino and I've seen stories about them burning up when supplied with voltage too high. Commented Jun 26, 2020 at 16:37
  • 1
    @S.Imp Thanks for that remark, I removed the +20V as I cannot find it (anymore). Commented Jun 26, 2020 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 Commented Jun 26, 2020 at 20:27

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.