#79048 - 09/03/2002 20:25
Running a LED off of 240 Volts question
|
old hand
Registered: 30/04/2001
Posts: 745
Loc: In The Village or sometimes: A...
|
I'm no electronics expert but I have a situation whereby I want to run a LED off a 240Volt power supply [and before anyone asks, its got nothing to do with Empegs, docking stations or anything of this ilk ;-)) ].
Can you use a ordinary '5 volt' type LED or do you need special 'high voltage' versions to stop the LED shorting out?
And if so, then How big a resistance should the resistor be, and what sort of 'wattage' (1/4 Watt ok)
We are talking a regular (rectangular) Green LED here that runs fine on 3 volts.
|
Top
|
|
|
|
#79049 - 09/03/2002 22:25
Re: Running a LED off of 240 Volts question
[Re: number6]
|
stranger
Registered: 20/02/2002
Posts: 32
Loc: Silverdale WA USA
|
WOW !! .....can you use a light vice an LED. That would have to be one hell of a resistor to drop the voltage that much. not to mention possiably alot of heat. Personally i think a 240V really small light would be a heck of alot easier. Are there spaceing issues or anything like that, is it 240 VAC or VDC. You have alot of options as to how to handle this.
_________________________
RIO CAR 60GIG (blue)
|
Top
|
|
|
|
#79050 - 09/03/2002 23:03
Re: Running a LED off of 240 Volts question
[Re: number6]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
12Kohm, 4.8W
But since you had to ask, this is definately not recommended. 240V is enough to kill, and should not be taken lightly.
Can you not use an enclosed class 2 power supply to derive a more suitable DC voltage - say around 5V, which you could then use with a 150ohm resistor in complete safety?
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
#79051 - 10/03/2002 04:22
Re: Running a LED off of 240 Volts question
[Re: number6]
|
stranger
Registered: 24/10/2001
Posts: 45
Loc: Peterborough, UK
|
Does it have to be an LED?
Use a 240VAC Neon based indicator.
|
Top
|
|
|
|
#79052 - 10/03/2002 07:31
Re: Running a LED off of 240 Volts question
[Re: genixia]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
..and a 240V rectifier (power diode) in series, or otherwise the LED may "complain" about the 240V reverse voltage (it's AC..).
Do not do this!
|
Top
|
|
|
|
#79053 - 11/03/2002 22:23
Re: Running a LED off of 240 Volts question
[Re: mlord]
|
old hand
Registered: 30/04/2001
Posts: 745
Loc: In The Village or sometimes: A...
|
No I decided to forgo this option and went with a 3 volt (battery) solution & a switch instead.
My original idea was prompted by the local electronics shop (JayCar) selling a small LED bezel with integral Red LED rated for connection to 240 Volts - my question was asking how do they fit whatever they require to make it 240 Volts 'safe' in such a small package [or maybe its not really safe - in which case why are they selling these things at all?].
The Bezel itself is big enough to hold a 3mm LED and little else - the anode and cathode leads are both insulated of course.
|
Top
|
|
|
|
#79054 - 12/03/2002 13:31
Re: Running a LED off of 240 Volts question
[Re: number6]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
You know I've seen those things around for years, but never taken the time to find out how they work.
An inbuilt resistor and rectifier is not an option with heat generation of about 5W.
Maybe they really put about 120 chip LEDs in series in the package with a far smaller resistor? I'll have to take a look at one of those next time I'm in RatShack.
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
#79055 - 12/03/2002 13:51
Re: Running a LED off of 240 Volts question
[Re: number6]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
Are you sure the electronics store device was really an LED, and not just an incandescent light bulb with a red plastic lens over it?
|
Top
|
|
|
|
#79056 - 12/03/2002 15:00
Re: Running a LED off of 240 Volts question
[Re: number6]
|
Pooh-Bah
Registered: 09/09/1999
Posts: 1721
Loc: San Jose, CA
|
As an experiment, in my younger days, I decided to find out what exactly would happen when you connect a normal low voltage LED to 120V AC (house) current.
It glows very, very, very brightly. So bright, it lights up the whole room. If you turn it on for short bursts (on, off, on off), it will last some time. If you leave it on, eventually it burns out. Believe it or not, it's true... I also played with blowing up other DC type items connected to AC current, such as peizo buzzers. Those things get very loud as well, before dying.
Be careful.
Calvin
|
Top
|
|
|
|
#79057 - 12/03/2002 18:47
Re: Running a LED off of 240 Volts question
[Re: eternalsun]
|
Carpal Tunnel
Registered: 08/02/2002
Posts: 3411
|
LOL. By your presence here I trust you didn't try a capacitor!
_________________________
Mk2a 60GB Blue. Serial 030102962
sig.mp3: File Format not Valid.
|
Top
|
|
|
|
#79058 - 13/03/2002 13:43
Re: Running a LED off of 240 Volts question
[Re: genixia]
|
Pooh-Bah
Registered: 09/09/1999
Posts: 1721
Loc: San Jose, CA
|
No I didn't. :-) How big is the alleged explosion? Can the explosion be varyed by voltage, etc? I wonder.
I rigged these things with long wires and a knife switch that I threw at a distance.
Calvin
|
Top
|
|
|
|
#79059 - 15/03/2002 01:54
Re: Running a LED off of 240 Volts question
[Re: number6]
|
journeyman
Registered: 04/05/2000
Posts: 84
Loc: Australia
|
I'm glad you have a low voltage (safe) solution.
Then running an LED from 240V AC a small capacitor is normally used in place of the current limiting resistor and a diode connected in parallel with the LED with opposite polarity to the LED.
The capacitor MUST be rated for continual mains (AC) operation. I don't recommend you try this without experience in mains wiring which is why I'm not mentioning any capacitance values.
Rod
|
Top
|
|
|
|
#79060 - 15/03/2002 02:12
Re: Running a LED off of 240 Volts question
[Re: eternalsun]
|
pooh-bah
Registered: 09/08/2000
Posts: 2091
Loc: Edinburgh, Scotland
|
Running 240 Volts into a big capacitor in Physics class in school (think it was 1/2 Farad) our teacher got a pretty big explosion, but it wasn't so much a bang as a BIG PFFFT!! And some type of corrosive liquid covered one side of the room. Luckily we were all behind a glass screen, but it was very cool (as things like that are when you're 17 )
Come to think of it, that teacher was a nutter - demonstrating the interesting reaction between chunks of Potassium and high molarity acids, showing how much gas you need to ignite to blow the door off a cupboard etc etc
They don't teach science like that anymore
_________________________
Rory MkIIa, blue lit buttons, memory upgrade, 1Tb in Subaru Forester STi MkII, 240Gb in Mark Lord dock MkII, 80Gb SSD in dock
|
Top
|
|
|
|
#79061 - 21/03/2002 10:59
Re: Running a LED off of 240 Volts question
[Re: number6]
|
old hand
Registered: 30/07/2001
Posts: 1115
Loc: Lochcarron and Edinburgh
|
You need to drop the voltage using a capacitor. I can't remember exactly what value you want, but 330nF sounds familiar. You can work it out easily enough, knowing you want to drop about 230V at 10 to 20mA (depending on your LED) at 50Hz. If you don't know the formulae involved, you probably shouldn't be working with the mains!
You could use an inductor instead, but capacitors are cheaper and more convenient. Don't use a resistor, unless you want to make a heater!
The other thing you need to remember is to put a diode (possibly another LED) back-to-back with your LED, but the opposite way around, so you don't get a big reverse voltage across it in the other half of the cycle. In fact, you can obtain a red LED back-to-back with a green one - these appear yellow with AC current.
_________________________
Toby Speight 030103016 (80GB Mk2a, blue) 030102806 (0GB Mk2a, blue)
|
Top
|
|
|
|
|
|