Here's a circuit I have used many times in the past to do what I think you want to do: http://www.pic101.com/pix/rsin.gif Rick Omega Software wrote: > . Clearly, I'm no engineer.. just a hobbyist beginner. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads