Hello again,
Lynx:
I like the wall wart idea too, because it's so simple and very safe!
Keep in mind however that the power consumption might be as high
as 6 watts just to power a tiny white LED. The capacitor/bridge
circuit uses just about 0.25 watts!
tonyb:
Oh that's ok, you're welcome. If you build one and test it please
let me know how it works out and how you like it. Note that nothing
gets hot either.
Pablo:
All you would have to do is change the cap to about half, 0.33uf
should work fine. I'd use a nice high voltage rating, like 600v
for 220vac line. Of course you can replace the four diodes with
a bridge rectifier, maybe i should draw that over.
koala:
Keep in mind the circuits with less parts require a higher cap value
(twice the value) to get the same light output. The circuits with
a bridge rectifier can deliver 2x light per capacitance value.
The circuit works by shifting the phase of the ac line -- so the
reactance of the cap drops a lot of voltage. The first 100 ohm
is there to limit inrush current if the unit is plugged in
at the peak of the sine wave. The second resistor is to allow
a margin in the voltage getting to the LED, and limits current
through the LED. I'll post a complete analysis with waveforms
if you think it will help.
The zener acts as a clamp, so that if there is a surge or spike
in the line the first 100 ohm resistor and the zener act to
limit peak voltage getting to the 100 ohm resistor on the LED,
which limits peak current.
Yes, the cap must be non-polarized, that's certainly good to
mention.
The fuse is a very fast blow 250ma. In the event the cap blows
out and thus turns into a short, the circuit would quickly
overheat so instead the fuse blows. Cap's often blow out
by shorting, that's the reason for the fuse.
Flame proof resistors (2x100ohm) would also be an improvement.
As mentioned, the four diodes could be a small ic bridge rectifier.
I used one of those small ones, about the size of an 8pin dip.
legtu:
Im surprized those circuits didnt turn up in this forum instead of
that one. The cap values depend on diode configuration (bridge
or half wave rect) to get the desired output current (usually
about 20ma or so).
Take care everybody,
Al