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.
1 Answer 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':
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.
-
1Thankyou Michel Keijzers. I will go ahead and try the connection today. cheers..!!Vikranth N– Vikranth N2020年01月27日 10:21:25 +00:00Commented Jan 27, 2020 at 10:21
-
3Please 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– Flyingfenix2020年01月27日 21:18:03 +00:00Commented Jan 27, 2020 at 21:18
-
1
-
1@S.Imp Thanks for that remark, I removed the +20V as I cannot find it (anymore).Michel Keijzers– Michel Keijzers2020年06月26日 16:43:06 +00:00Commented 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 hereS. Imp– S. Imp2020年06月26日 20:27:42 +00:00Commented Jun 26, 2020 at 20:27