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