Here, in part 3, we combine what we learned before to design a LED light that operated directly off AC mains.
Warning: AC mains is hundreds of volts, and is potentially lethal. Please take all necessary precautions before you start working with it!
Remove these ads by
Signing UpStep 1: The no-transformer transformer.
Vac / 3.3
to give us the number of LEDs we need to be able to properly handle the power without additional resistors and other parts.
What if we bypass the transformer completely and consider AC mains? In some ways it is simpler - the voltage from transformers could vary greatly with the load we put on it, whereas AC mains are much more stable.
If we use the 110v standard of the US, we first calculate the peak voltage, 1.4 * 110 = 156 and we can find the number of LEDs it can support:
156 / 3.3 = 47 LEDs
So, does that mean that if we put 47 LEDs in series, we can run the whole string directly off a 110v AC socket?
The answer is Yes! As long as we maintain the voltage across each LED at 3.5v or less, it will operate within its limits.
But then, let's not forget that for each positive cycle, there is a negative cycle! That means we need a mirror circuit like in (1).
Wow, that's an awful lot of bulbs!
However, if we add a blocking diode like in circuit (2), then we can safely operate our circuit. The 1N4003 is capable of handling 200 volts so is fine for US power.
For EU countries, the magic number is 103 LEDs (double if you want to use both cycles) and the diode for ckt (2) should be a 1N4004 or better.
































![pimpMyBike[1] =](http://www.instructables.com/files/deriv/FAO/AC1G/H9T4FC2Q/FAOAC1GH9T4FC2Q.SQUARE.jpg)








Visit Our Store »
Go Pro Today »




If i used combination of white led and amber led (to soften the light), should i use your formula too? let say if i use 80% of the voltage for white led (3.3volts) and use the rest for amber led (2 volts).
can i use capacitor after bridge rectifier to minimize the flickering effect?
thank you.
I commend and thank you on a very interesting and educational Instructable. I really like the way you try to teach the principles instead of just showing how to slap something together. Your style has inspired me to want to try building the circuit in sketch 3 / step 2.
My question: How many of the circuits as in sketch 3 step 2 can I connect safely to one 120V outlet? What is it I have to be careful of ( current, voltage, power, ?).
I'm looking to replace a tube fluorescent lamp in the kitchen and am thinking I will probable need 4 or 6 such circuits (?) to get an equivalent lighting effect.
Here, if you are using 117v, then the 50 or so LEDs will dissipate about 4-watts, making them equivalent to a 20W tube; or a 40W one if aimed down from the ceiling. Running 240v in other countries will see about 10watts.
1.4 x 220v = 308
308 divided by 3.5 = 88
So 88 LED's on both sides without using a Bridge Rectifier.
positive cycle and negative cycle,
That means we have a mirror circuit with 88 + 88 LED's
Am I right?
Coincidentally, Phillips has announce THEIR version of this 'big' light for 230v where they place 96 SMT (Surface mount) LEDs in series with a bridge rectifier. This allows the LEDs to run cooler and perhaps extend their life.
I would rather stick to the present cheap ones, cause if they give me 5 years my money is worth it.
Over 2 years has passed and my LED Chandelier is being used daily is still going strong without any LED's packing up. Isn't that something?
Here's what I measured: V AC is about 540V and the current is about 2.5 A.
I wasn't able to measure the frequency, but looked of the values of other DC-AD inverters and they ranged between 30 to 50 kHz.
Running through the calculations, I get X=38184 ohms and C=1.4E-10 F when using the 30 kHz frequency.
The answer is NO.
DO NOT attempt to run led's from the inverter output.
In actuality, you may have measured 540VAC, but due to the frequency put out, it may actually be producing over 1000volt, and your meter just not able to cope with the switching speed.
If you MUST use that control board, I'd suggest tapping into the circuit somewhere safe, and before the inverter.
To retain the most factory like operation, I'd personally remove the inverter, anbd tap into the former input locations to power my led circuit. but that's just me.
R = 540 / 0.02 = 27000
C = 1/(2*PI*30000*27000) = 1.96E-10
Those are most likely the values I need to use if this is something that might work.
The addition of the capacitor forces the LEDs to work continuously and, in circuits involving large number of LEDs, heat becomes a problem. In cases where the LEDs are of good quality and operated within the rated current, the biggest factor affecting the life of the LED is heat. Ideally, they should never run over 80oC, but it they are placed close together without ventilation, they could reach over 100oC.
For spotlight use, you may find the 25mA 10mm LEDs, with its tight +/- 6-degree beam-spread more usable.
I have arranged a bridge rectifier consists of four 1n4003, I measured its output voltage and the meter reads 105Vdc with measured input of 115Vac. Why is it the output is not 115*√2= 163V ?
The real waveform from your bridge, as this image Wikipedia shows is still very much recognisably "AC", except all the sine-waves appear in the same direction (polarity).
That is why you must add a capacitor to + and - to smooth out the "ripples" before your multimeter can recognize it as true "DC".
As for the high powered leds, say you have 4 that draw 350mA, that uses 1400mA total, with only 3.6V x 4 = 14.4V. Leaving 142V x 100ma = 14.2V wasted or dissipated as heat in the rectifier? Thank you again for all your patience.
Voltage is the pressure of the water, while the Amperage is the amount of water going through the pipe. The two are not interchangeable.
The current throughout the pipe (and circuit) STAYS THE SAME, whether it's gals/minute or electrons, this analogy holds. Meaning the current flowing through the first LED is identical to the current through the last LED.
What we are doing is reducing the voltage (pressure) by putting LEDs in between. If we know that the LEDs can 'use up' 3.3-volts each, then we need 154 / 3.3 = 47 of them to make the circuit work. Regardless of whether they are 25mA or 350mA ones, the magic number of LEDs for this circuit, is 47.
And, because everything is in series (one after another), the 'total' current through them stays at 25mA or 350mA - this is not added.
So, unless there are other 'restricting' elements in the circuit, putting fewer than 47 LEDs will force each LED to work beyond what they are designed to do. And this will likely burn them up, maybe even literally.
This is the number of white LEDs (the same type) that you can connect together in series and operate on 230V-AC without needing resistors or transformers. Just add a suitable bridge rectifier in front.