Check the pullup resistors you may have on the pins. If current is still flowwing trough them in sleem there is your current. If possible try to use PIC's internal pullups or increase the value at the upper limit your apllication can handle. I have donne some battery powered devices and I started with 0.024 and endedup with 0.010 mA. Also to consider is the following (and I quote the 16F628 datasheet): - power down current 0.009mA - WDT current (if you didn't turn it off before sleep) 0.020 mA - Brow-out detect circuit current - 0.125 mA - comparator current for each comparator 0.050mA - VREF current 0.135mA So, dou you use a comparator and WDT? If so, there is your current. Mircea Chiriciuc EMCO INVEST -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads