Understand, I was just the opposite, wanting to keep dangerous (120 VAC) away from untrained humans.:) There still is 2 ways to walk around the town square, one with the sun in the eyes and the other with the wind at you. :) I do have several extra wall warts and PCB's available as spares. Dario Greggio wrote: > Carl Denk ha scritto: > >> That's what I do on my standby generator's PLC, but should work on a >> PIC. A wallwart with 12 VAC out, rectifier bridge, and resistor voltage >> divider with a pot for for calibration adjustment. All I need is voltage >> within a few volts accuracy, to verify the generator is actually putting >> out current, or the power line is down. >> > > > Yeah, as I said, I wanted to avoid those external parts. > thank you > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist