
Originally Posted by
Darrel Taylor
Yes, turn off the WDT ... and the BOR ... and the PORTAB Pull-Ups.
400uA is too high for sleep mode.
But the real problem is with ANSEL.
As trivial as it might seem, I think this will make a huge difference.
In the Main loop ...
I have the demo board he's using, and found changing Tris to TRISA = %00001000 instead of all inputs helped too. Pinned out the ports and found the Ports A & B to be hot without turning WPUA & WPUB off, but as no load didnt affect sleep draw all that much, the thing is my trusty ElCheapo low impeadance $6.00 Chinese meter gives me much higher numbers than 400 µA , but it does indicate the change reliably.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks