power supply for esp8266 #81
Replies: 8 comments
-
@JIM77 , I use 2596 / LM2596 /Step Down Power Supply Module (Supply Voltage:DC 4.5-24V 3Amax) for NodeMCU. |
Beta Was this translation helpful? Give feedback.
-
If you have space to spare, check this 5V buck converter, I've used it in many projects and it works great. I usually desolder the USB connector and cut the board to make it smaller. |
Beta Was this translation helpful? Give feedback.
-
As @UltimatPronin and @aboulfad mentioned, a step-down buck converter will be more efficient than using a linear voltage regulator directly from the DSC Aux power rail. Modules based on either the LM2596 or MP2307 (also labeled as Mini360 modules) are commonly available for < $1 each shipped. The LM2596 modules seem to run more efficiently, whereas the MP2307 modules run hot and some versions of the Mini360 modules use under-spec'd components causing even worse efficiency. I prefer to set these modules to output 5v and let the ESP8266/ESP32 onboard linear voltage regulator take care of the 3.3v for the ESP modules - this helps reduce the ripple current and switching noise from the buck converter. I'm waiting on delivery of a NodeMCU to see if the AMS1117 is staying within acceptable thermal range when powered directly from the DSC panel. Tagging to update the documentation with power supply info. |
Beta Was this translation helpful? Give feedback.
-
You learn something everyday! I have like a dozen of nodemcu and always thought Vin to be 5V. Checking the Datasheet of NCP1117 does indeed support Vi up to 20V. It’s internal thermal shutdown is at 175C, and heat dissipation depends on pad size. Given it’s tiny size it’s expected to be hot, best is to measure with an infrared thermometer and see if it’s within specs. Update: I applied Alarm Aux (13.68V) to Vi of a working Nodemcu V3, and nada, no boot, even the Vu which is supposed to give 5V read 1.6V... interesting. Many other threads caution against applying anything above 5-10V. |
Beta Was this translation helpful? Give feedback.
-
Yeah, but buck converters do not work well with ESP8266, they make the ESP unstable. It probably is a matter of filtering the noise, but I was unable to make it work as stable as with linear regulators. |
Beta Was this translation helpful? Give feedback.
-
I use buck converters with all my nodemcu and esp-12e modules with no issues of stability or reboots/crashes. It depends on the model, YMMV. |
Beta Was this translation helpful? Give feedback.
-
Results (temps measured by thermocouple):
So:
I've stocked up on the LM2596 modules as they are quite inexpensive - pack of two modules for $0.75USD shipped. Updated the README.md with power supply information in the |
Beta Was this translation helpful? Give feedback.
-
I've received (new?) Mini360 based on MP1584EN instead MP2307 and did a current consumption comparasion with LM2596. LM2596: Current measured at Vin (AUX+ 13.68V from DSC PC5020 panel): about 28mA (0.38W) It looks that (new?) Mini360 (sometimes called D-SUN buck converter) based on MP1584 have better efficiency than (old?) ones based on MP2307. In this one sample measurement it is also more efficient than LM2596, but it can be all related onto LM2596 integrated bright blue SMD LED - it can easily draw more than 6mA. Note that MP1584 output voltage was fluctuating about 0.02V, and its potentiometer to set voltage feels flimsy, corrosion from time can easily screw up preset voltage and burn ESP8266 module. I've read that MP1584 works on 1.5MHz (which should be better for reducing EMI) while LM2596 run on 150kHz. |
Beta Was this translation helpful? Give feedback.
-
This is unrelated to the dscKeybusInterface, but I thought I'd ask here to hear others' experiences. In powering my Wemos D1 Mini Pro from dsc's AUX, I tried using 7805 and also AMS1117 5V (not at the same time). However they both got quite hot. Not having a heat sink handy, and not wanting to spend too much time tinkering, I ended up using an external USB adapter and pushing through a USB cable from outside the alarm box to power my Wemos board. This gives me an added benefit of being able to hard reset and also perform firmware update if needed, although I can also do OTA.
I have also tried using a NodeMCU with vin that claimed to be OK for up to 20V. Its voltage regulator is AMS1117 on board, and it too got quite hot. I read somewhere that it can only really handle no more than 12V and the AUX power from the DSC board is more like 13.6V.
What do you guys use to power your board?
Beta Was this translation helpful? Give feedback.
All reactions