This topic has been covered before. For example,
https://www.eevblog.com/forum/beginners/led-indicator-for-240vac/. My intended solution is below.
I need to power a few 5 mm LEDs from 240 VAC. They are pretty standard: 20-30 mA, 2-3.5 V drop and will be operated independently. Some are self-flashing. I like them to be bright. There’s the series-resistor-with-reverse-protection-diode approach. But the required resistors will be consuming 80+ times the power of the LED and would have to be sized accordingly too. I don’t like to run resistors at much more than ½ rated wattage, so we’re looking at 5-10 watt resistors. This approach is definitely out.
There is the capacitor approach. A capacitor (preferably class-Y safety) is needed along with reverse protection diode or full-wave bridge, surge protection resistor, and bleed resistor. There are scary implementations on the net for the capacitor approach … capacitor isn’t safety rated, capacitor is rated less than peak voltage, no bleed resistor, no fuse, etc. Isolation? Forget it.
Then there are mini AC to DC PSUs that put out 5 volts at 200-600 mA. Current limiting resistors will still be needed but won’t use much power. I favor this approach and want modules that are enclosed, have pins, have isolated outputs, surge protection, and meet UL specs. Candidates are Mornsun LD03-23B05R2 (
https://www.digikey.com/en/products/detail/mornsun-america-llc/LD03-23B05R2/13531047) and Zettler HP01S0500WI (
https://www.digikey.com/en/products/detail/zettler-magnetics/HP01S0500WI/12093237). Plan is to have one PSU per LED. Having only one PSU for the group and a relay per LED is an option but seemingly more complex and expensive. A fuse would be used to protect the group.
The simplicity of installation, safety, and robustness of the mini PSU more than offsets any price advantage of a properly done capacitor solution, especially for my limited number of one- or two-off projects.
Neon, argon and incandescent lamps are not options.
Any suggestions?
Mike in California