>Recently, I had some odd problems with our loggers not going into sleep >mode--or so it appears. Instead of the usual 30-70 uA of current draw from >the battery, I am seeing 1-2 mA. Or what is even more baffling, a drop to >sleep followed by a single slow rise to about 600 uA followed by a fall >back to normal sleep current. I've had similar problems. One of them turned out to be the oscillator pins floating. I added a 10M resistor from ocs1 to gnd - problem gone. The other was an input pin floating - solution was to make it an output during sleep. Use a high impedance probe and look around while the PIC is asleep - keep an eye on the quiescent current each time you touch something. Even a 10M scope probe will bring an input LO - you might not even see that it was floating if the pin / trace capacitance is really lo. But your quiescent current will plummet if you hit the problem pin. dwayne Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 16 years of Engineering Innovation (1984 - 2000) * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Do NOT send unsolicited commercial email to this email address. This message neither grants consent to receive unsolicited commercial email nor is intended to solicit commercial email.