Yapp, thank's for the point, I knew it ( it's more than 300V, it's 316V usual and much more on spikes or mains failure ) but this one was intend to work plugin forever , and exactly like this is working continuously from about two years...with same capacitor. But needs a VERY GOOD capacitor and I must admit, I had search something for it. (any cap or xcap like you named it, who make a delicate noise, almost imperceptible, will die soon ) About the current surge, you have right, there is a series resistor which seems is missing in the picture. Vasile On Thu, 26 Jul 2001, Spehro Pefhany wrote: > At 12:10 PM 7/26/01 +0300, you wrote: > >I've done one, some time ago, see > >http://www.geocities.com/vsurducan/c520.htm > >at the bottom of the page, up to 150mA, but I don't recommend such power > >supplies for production devices ( maybe on 120V mains, only ) > >Note that in my design, the supply don't like to remain without load... > >Vasile > > If you use something like this (and I don't recommend it..) be sure to > put a resistor in series with the capacitor to reduce current surge and > in *parallel* with the capacitor .. because there is a good chance > if it is unplugged near the peak line voltage the capacitor may hold as > much as +/-300V charge .. that's enough energy in a 4.7uF cap to give > someone a goodly shock, and they can get it quite easily without > opening the case, if you see that? > > Best regards, > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Spehro Pefhany --"it's the network..." "The Journey is the reward" > speff@interlog.com Info for manufacturers: http://www.trexon.com > Embedded software/hardware/analog Info for designers: http://www.speff.com > Contributions invited->The AVR-gcc FAQ is at: http://www.bluecollarlinux.com > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads