Author Topic: LED indicator on AC  (Read 2862 times)

0 Members and 2 Guests are viewing this topic.

Offline WatthTopic starter

  • Frequent Contributor
  • **
  • Posts: 263
  • Country: fr
LED indicator on AC
« on: September 21, 2026, 09:02:26 am »
Hello EEVfolks!
In a project, I have a transfo to get 48 ~ 60 V AC from 230V 50Hz mains. (To power PDLC films).

As the load current (a bit less than 80mA) is way lower than the transfo ratings (>= 20A), secondary voltage is actually about 55V.
As the transfo has fuses on primary and thermistor on secondary, I want to add an LED to show if voltage has been cut.
I copied was inspired by this guide: https://www.eleccircuit.com/mains-voltage-indicator-with-a-led/.
2928124-0
I will use red LEDs.

What is your opinion on this circuit?
What values should I use for the secondary LED circuit?

Thanks for reading!
Because "Matth" was already taken.
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5345
  • Country: ro
  • .
Re: LED indicator on AC
« Reply #1 on: September 21, 2026, 09:24:37 am »
I'd just do 

AC ---- [ diode for half wave rectification  ===>| ] ----- [ capacitor to ground) ---- [ + led -] ---- [ resistor to limit current ] --- ground

See this simulator link : link to falstad.com circuit emulator

You can play with the capacitor and resistor values - for example if you change the capacitor to 1uF you will see the led brightness fluctuate because the capacitor can't supply the led enough energy.


Hold mouse over components, click on the switch to turn on/off power to the led etc

I suppose you could "improve" by adding a "zener" diode to cap the voltage to something like 5.6v or 12v or whatever zener diode is cheap and easy to source, then you won't drop as much energy in the resistor but you'll drop some on the zener diode.

« Last Edit: September 21, 2026, 09:27:06 am by mariush »
 
The following users thanked this post: Watth

Offline WatthTopic starter

  • Frequent Contributor
  • **
  • Posts: 263
  • Country: fr
Re: LED indicator on AC
« Reply #2 on: September 22, 2026, 08:41:35 am »
Thanks a lot for your reply, mariush.
To minimize power on the LED, I will put the first LED on the secondary. What matters is that it is placed between the fuse and the thermistor.
Regarding the capacitor, except that it must handle a minimum of ~75V, do you have any advice? Which type should it be?
Because "Matth" was already taken.
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 4196
  • Country: us
Re: LED indicator on AC
« Reply #3 on: September 22, 2026, 02:55:16 pm »
You might consider just using a neon lamp - a lot simpler and safer:

https://www.digikey.com/en/blog/dont-rule-out-the-neon-bulb-as-an-ac-power-on-indicator
 
The following users thanked this post: UnijunctionTransistor

Offline WatthTopic starter

  • Frequent Contributor
  • **
  • Posts: 263
  • Country: fr
Re: LED indicator on AC
« Reply #4 on: September 23, 2026, 08:59:16 am »
Thanks for your feedback, ledtester

The project will be in an enclosure that should be as small as possible, and the light should not be too intense, so I am restricted in the options that work for me.

On the primary (230V AC) side, It is indeed a solution I thought about, and as I will make purchase on tme.eu, there are available products: https://www.tme.eu/en/details/9sltb09sltsvful/neon-indicators/comelux/ : as I can adapt the 3D printed enclosure I design myself.
As for the light intensity, would a series resistor allow to lower it?

However, I need an indicator that works on the secondary 60V AC. Could a series resistor make it work on 230V AC?

Thanks for reading!
Because "Matth" was already taken.
 

Online PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 3369
  • Country: au
Re: LED indicator on AC
« Reply #5 on: September 23, 2026, 09:50:30 am »
Regarding the capacitor, except that it must handle a minimum of ~75V, do you have any advice? Which type should it be?
At 60vac, with a decent red led, you may not need a cap at all.
1-5mA should be enough and that’s 300mW max.
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 4196
  • Country: us
Re: LED indicator on AC
« Reply #6 on: September 23, 2026, 10:04:33 am »
Thanks for your feedback, ledtester

The project will be in an enclosure that should be as small as possible, and the light should not be too intense, so I am restricted in the options that work for me.

On the primary (230V AC) side, It is indeed a solution I thought about, and as I will make purchase on tme.eu, there are available products: https://www.tme.eu/en/details/9sltb09sltsvful/neon-indicators/comelux/ : as I can adapt the 3D printed enclosure I design myself.
As for the light intensity, would a series resistor allow to lower it?

Yes, a series resistor will lower the intensity of the neon bulb.

Quote
However, I need an indicator that works on the secondary 60V AC. Could a series resistor make it work on 230V AC?

I'm not sure what you're asking here. A neon bulb designed for 230V likely will not work on 60V.

However, a neon designed for a lower voltage -- like this one designed for 12V:

https://www.tme.com/ux/en-us/details/ni-2fyl-12v/neon-indicators/ninigi/

could be made to work at 60V with an appropriate resistor.

Update: Based on this discussion:

https://www.eevblog.com/forum/projects/lowest-voltage-neon-tube/

the 12V neon indicator may not really be a neon bulb but an LED. I would verify that it can work with an AC source. The product shot of this green "12VAC neon indicator" from the same company clearly shows a "DC" label on it:

https://ninigi.com/gb/en/product/ninigi/neon-indicators/ni-2fgr-12v/112494
« Last Edit: September 23, 2026, 10:47:27 am by ledtester »
 

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 11185
  • Country: gb
Re: LED indicator on AC
« Reply #7 on: September 23, 2026, 10:30:21 am »
The inverse parallel diode wastes power (light output). putting a small diode bridge rectifier before the LED doubles the light output for a given current and avoids any motion flicker. Alternatively you can get 'AC' LEDs which contain a pair of inverse parallel (same colour) dies. They avoid the need for an external diode(s) altogether.                     
Best Regards, Chris
 
The following users thanked this post: Xena E

Offline liteyear

  • Regular Contributor
  • *
  • Posts: 95
  • Country: au
Re: LED indicator on AC
« Reply #8 on: September 23, 2026, 11:05:18 am »
The circuit is fine. Heed what PCB.Wiz said.

A neon bulb is the right tool for the job and saves on some calcs, some power and some components, but the LED is easier to tune and is more familiar to many these days.

The challenge with mariush's circuit is that that cap gets subjected to mains voltage. There will be an enormous in-rush, and if it fails it shorts your supply. Nothing that can't be managed - every rectifier is a variant of this - but it wouldn't be the first option I'd go playing with if you only want mW of power.

For the LED circuit, consider the role of the R and C. Together they limit current. At PCB.Wiz says, 5mA will probably be plenty. So you need R = 55/0.005 = 11kΩ. At 5mA, power in 11kΩ is 0.005*0.005*11000 = 275mW. So you could use a 1W resistor and call it a day.

But it's a bit wasteful. So suppose you added C = 0.33µF. Zc = 1 / (2*pi*50*0.33µ) = 9600Ω. Drop your R to 4.7k and you get total Z = sqrt(9600*9600+4700*4700) = 10.7kΩ. Similar sort of current but now the power in the resistor is just 0.005*0.005*4700 = 120mW, and a half watt resistor will be fine.

Also note you can replace the 1N4007 with another LED if you want to simplify you BOM. Now your 5mA is making light 100% of the time instead of 50% and just making stuff hot the other 50%.
 

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 11185
  • Country: gb
Re: LED indicator on AC
« Reply #9 on: September 23, 2026, 11:39:22 am »
The circuit is fine. Heed what PCB.Wiz said.
...

Also note you can replace the 1N4007 with another LED if you want to simplify you BOM. Now your 5mA is making light 100% of the time instead of 50% and just making stuff hot the other 50%.

Huh? isn't that exactly what I said? - Light the LED on both half cycles. Assuming the OP is wanting a panel mount LED rather than SMD(s) shining through a plastic case (a fair bet considering the 20VA transformer 1N4007 etc). A dual die LED makes perfect sense, as does substituting the 1N4007 with 4 x 1N4148s - they won't want two panel LEDs.
« Last Edit: September 23, 2026, 11:51:57 am by Gyro »
Best Regards, Chris
 
The following users thanked this post: Xena E

Offline themadhippy

  • Super Contributor
  • ***
  • Posts: 4573
  • Country: gb
Re: LED indicator on AC
« Reply #10 on: September 23, 2026, 11:49:51 am »
Quote
. There will be an enormous in-rush,
So the current limiting resistor is magic as it only limits current to the led not the capacitor?
 

Offline liteyear

  • Regular Contributor
  • *
  • Posts: 95
  • Country: au
Re: LED indicator on AC
« Reply #11 on: September 24, 2026, 12:20:44 am »
Huh? isn't that exactly what I said?

1. No.
2. Your post arrived while writing mine.
 

Offline liteyear

  • Regular Contributor
  • *
  • Posts: 95
  • Country: au
Re: LED indicator on AC
« Reply #12 on: September 24, 2026, 12:21:57 am »
Quote
. There will be an enormous in-rush,
So the current limiting resistor is magic as it only limits current to the led not the capacitor?

Hmm, did you not follow mariush's link perhaps? The current limiting resistor is not in series with the capacitor.
 

Offline UnijunctionTransistor

  • Frequent Contributor
  • **
  • Posts: 492
  • Country: us
  • Ohms Law: Resistance is futile.
Re: LED indicator on AC
« Reply #13 on: September 24, 2026, 03:35:30 am »
You might consider just using a neon lamp - a lot simpler and safer:

https://www.digikey.com/en/blog/dont-rule-out-the-neon-bulb-as-an-ac-power-on-indicator

I also believe this is the best suggestion.
And neon lamps also have this beautiful diffuse glow.
 

Offline gbaddeley

  • Frequent Contributor
  • **
  • Posts: 295
  • Country: au
Re: LED indicator on AC
« Reply #14 on: September 24, 2026, 04:07:02 am »
Hi Watth,
In your first post, the secondary LED circuit is a simple approach. The capacitor is not required. Try R=100k. Adjust value if led is too bright or not bright enough.
« Last Edit: September 24, 2026, 04:46:36 am by gbaddeley »
Glenn
 

Offline WatthTopic starter

  • Frequent Contributor
  • **
  • Posts: 263
  • Country: fr
Re: LED indicator on AC
« Reply #15 on: September 24, 2026, 10:17:43 am »
[...]
And neon lamps also have this beautiful diffuse glow.
I know!
The sad thing is hat for this use, on a stage for a show, the power indicator should be as dim as possible so that the audience is not distracted.
Because "Matth" was already taken.
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 17260
  • Country: de
Re: LED indicator on AC
« Reply #16 on: September 24, 2026, 01:04:33 pm »
A neon lamp needs some 80 V minimum. So the 55 V AC are just at the edge, where a neon lamp is no longer a real option (would need some voltage doubling with diode a capacitor).

With low intensity one could get away with just a resistor and diode to protect the LED from excessive voltage. With the original circuit where most of the current limiting is done by the capacitor the antiparallel diode is OK.
LED efficiency can vary a lot between types and the light needed also depends a lot on the room brightness. So have a test before selecting the capacitor / resistor.

A transformer for 50 V and 20A would be rather large and may have too much current spike to turn on with a 500 mA fuse (some have even issues with a 16 A mains breaker).
 

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 11185
  • Country: gb
Re: LED indicator on AC
« Reply #17 on: September 24, 2026, 01:25:56 pm »
[...]
And neon lamps also have this beautiful diffuse glow.
I know!
The sad thing is hat for this use, on a stage for a show, the power indicator should be as dim as possible so that the audience is not distracted.

You can get orange / amber LEDs (as opposed to the usual Yellow) that are reasonably efficient and a pretty close colour match to Neon.
Best Regards, Chris
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 4196
  • Country: us
Re: LED indicator on AC
« Reply #18 on: September 24, 2026, 04:01:14 pm »
The sad thing is hat for this use, on a stage for a show, the power indicator should be as dim as possible so that the audience is not distracted.

What about just put a small shield in front of it so the audience doesn't see it but you can still see it from behind?
 

Offline WatthTopic starter

  • Frequent Contributor
  • **
  • Posts: 263
  • Country: fr
Re: LED indicator on AC
« Reply #19 on: September 24, 2026, 05:56:28 pm »
The sad thing is hat for this use, on a stage for a show, the power indicator should be as dim as possible so that the audience is not distracted.

What about just put a small shield in front of it so the audience doesn't see it but you can still see it from behind?
Of course, or simply stick some black tape on it, and remove the tape to check the power LEDs when needed.
I also thought I could put a "test" push button, I haven't checked if I could find a switch with dimensions that fit my project.
Because "Matth" was already taken.
 

Offline WatthTopic starter

  • Frequent Contributor
  • **
  • Posts: 263
  • Country: fr
Re: LED indicator on AC
« Reply #20 on: September 24, 2026, 05:58:38 pm »
I'm not sure what you're asking here. A neon bulb designed for 230V likely will not work on 60V.

However, a neon designed for a lower voltage -- like this one designed for 12V:

https://www.tme.com/ux/en-us/details/ni-2fyl-12v/neon-indicators/ninigi/

could be made to work at 60V with an appropriate resistor.
I don't know how/why, but I reversed the issue in my head !
Yes, a neon bulb with lower nominal V, with a series resistor to adjust it to my 55V.
Because "Matth" was already taken.
 

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 11185
  • Country: gb
Re: LED indicator on AC
« Reply #21 on: September 24, 2026, 06:23:38 pm »
The problem with trying to get a Neon working (apart from finding one with low enough striking voltage to reliably illuminate over expected temperature range) is that the series resistor would need to be so low in value that it wouldn't be able to to regulate the lamp current sufficiently from the unregulated secondary voltage caused by the +/- 10% (EU) mains voltage spec.

You can't really dim Neon brightness because the glow discharge becomes unstable on the electrodes and flickers.
« Last Edit: September 24, 2026, 06:27:25 pm by Gyro »
Best Regards, Chris
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 17260
  • Country: de
Re: LED indicator on AC
« Reply #22 on: September 24, 2026, 07:56:58 pm »
With neon lamps there is not much choice in the voltage and there is a lower limit. From memory it is something like 75 - 90 V and maybe special ones for higher voltage (like the long neon tubes for old signs) - the headroom for a resistor to set the current comes on top.

A good efficiency orange LED may get away with a comparable low current. With a capacitor to do most of the drop, the extra voltage does not cause extra power loss. Capacitive load is opposite phase of the transformer magnetizing current. So some capacitive load is actually helping, though the LED droper would be too little to really make a difference.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 22451
  • Country: gb
  • 0999
Re: LED indicator on AC
« Reply #23 on: September 24, 2026, 09:32:28 pm »
I can't stand flickery half wave rectified LEDs.

Add a bridge rectifier, for full wave rectification and less flicker.

 

Online Analog Kid

  • Super Contributor
  • ***
  • Posts: 4989
  • Country: us
  • DANDY fan (Discretes Are Not Dead Yet)
Re: LED indicator on AC
« Reply #24 on: September 25, 2026, 01:16:14 am »
The project will be in an enclosure that should be as small as possible, and the light should not be too intense, so I am restricted in the options that work for me.

I'm puzzled by the responses here about using a neon bulb.
A neon light is quite a bit dimmer than just about any LED, so it should be perfect for your purpose.
All you need is a current-limiting resistor. Put it on the 230-volt side.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

-->