Power Supply considerations for simple hardware nodes

Like many makers, I build simple hardware nodes using ESP32 devices and power them from low-voltage supplies, such as batteries or standard AC/DC adapters (e.g., mobile phone chargers).

My regulator of choice is the ubiquitous LD33CV (also known as LD1117V33C), a Low Dropout (LDO) linear regulator. It comes in a 3-pin TO-220 package, provides a fixed 3.3 V output up to 800 mA, and features low dropout voltage and minimal noise—making it ideal for battery-powered applications.


Typically, I drive it from a 5 V input, supplied by an AC/DC power unit like this:

This setup has served well in several PCB-based nodes. However, as with all linear regulators, efficiency drops as input voltage increases. For example:

  • 5 V input → 3.3 V output: ~66% efficient
  • 12 V input → 3.3 V output: ~27.5% efficient, with ~0.87 W of heat dissipated

This low efficiency is particularly noticeable in my greenhouse nodes powered by a 12 V mobility scooter battery, which only lasts a couple of months before needing a recharge.

To improve efficiency, I have started using low-cost Switched Mode Power Supply (SMPS) modules, such as the DD4012SA. These modules are inexpensive and can achieve efficiencies of 80–95%.


The trade-off is switching noise, typically in the 100 kHz–3 MHz range, which manifests as voltage ripple on the output. How much ripple matters depends on the load. ESP32s, Raspberry Pis, and Arduinos generally work fine from an SMPS, but some sensitive ADCs or sensors may require extra filtering.

A common solution is a SMPS + LDO combo, which combines the best of both worlds:

  • SMPS: efficiently drops voltage (e.g., 12 V → 5 V)
  • LDO: smooths out noise (e.g., 5 V → 3.3 V)

I plan to implement this in my next PCB-based node using a 5 V DD4012SA followed by an LD33CV. My design will include two 3-pin female headers for the combo. For indoor applications with a 5 V supply, the SMPS can be omitted and replaced with a simple wire link, making the same PCB suitable for multiple scenarios.



2 Likes

I've just bought some of the below, which are only rated at 1A (5W), but sufficient for some home constructed modules. Currently on clearance at IKEA for £1 each!

https://applink.ikea.com/tY8M9r9M4w--50538729--gb--en

1 Like

Oh that looks nice and cheaper than the ones I get from CPC-Farnell.

IKEA is IKEA... :flexed_biceps: :sweden:

1 Like

i need some more USB PSUs but I'm not prepared to walk 3 miles round Ikea to buy them, even at £1 each!

2 Likes

:rofl: But you get to try out all the beds! And your partner gets all those furniture ideas that you will never implement! And don't forget the meatballs lunch if you time it right. :wink:

3 Likes

Just taken advantage of JLCpcb's special offer to build another PCB.


This particular board will be a try out of my power supply COMBO idea.
Here's a detailed view of the area of the board where H3 and H3_A are located.

12V Power Source
When the board is powered from a 12 V source (such as a mobility scooter or car battery), an SMPS module DD4012SA (5 V output) is fitted to H3, and an LD33CV LDO regulator is fitted to H3_A. This combination provides very low output noise, with an overall efficiency of approximately 53–63%.

If the LD33CV is removed and replaced with a wire link, and the DD4012SA is replaced with a 3.3 V output version, overall efficiency improves significantly to around 80–95%, at the cost of increased output ripple voltage.

A third option is to retain the LD33CV and remove the SMPS, replacing it with a wire link. This configuration offers very low noise, but results in poor efficiency (≈27.5%) and significant power dissipation in the linear regulator.


5V Power Source
When powered from a 5 V supply, two practical options are available.

The first option is to fit a DD4012SA (3.3 V output) to H3 and a wire link to H3_A. This provides a high efficiency of approximately 80–95%, again at the expense of increased output ripple.

The second option is to retain the LD33CV and replace the SMPS with a wire link. In this case, efficiency drops to approximately 66%, but the output rail benefits from very low noise.

3 Likes