You can save on transistors and switchoff logic by using a capacitance multiplier with a single transistor. This saves a PIC pin (required to hold the power on) (I suspect you are using a 8-pin PIC). The required capacitor will be small, too. Peter -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads