----- Original Message ----- From: "Mircea Chiriciuc" To: Sent: Friday, June 21, 2002 2:34 AM Subject: Re: [PIC]: Turning on a PIC micro every 5 minutes..... > 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 You cannot turn off the WDT. If it is enabled in the configuration this draw will always be present. This could easily be the OP's primary problem. > - Brow-out detect circuit current - 0.125 mA The OP would not be using this, he wants to get all he can out of his pair of lithiums. > - comparator current for each comparator 0.050mA > - VREF current 0.135mA These should certainly be turned off when sleeping. Bob Ammerman RAm Systems -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads