Hi,
I am in the final stages of my project and working on powering down to very low current draw, I tested the snooze library in an empty sketch and it worked fantastically the current draw in sleep was under 1 mA. I then implemented this in my project sketch and functionally it does go to sleep but using a multi meter the current drawn in sleep is nearly 40mA compared to the usual 24mA running this a screen and bluetooth module connected. The only difference in the set up is that I am using nearly all of the flash storage (63k/64k) could this be a problem? I tried using hibernate and that does drop the current very low but I can't get it to wake up with a TSI source. I am using teensyduino 1.28 and arduino 1.6.5-r5. Any help would be greatly appreciated!
Here's the code: http://pastebin.com/X1FXBvgn
I am in the final stages of my project and working on powering down to very low current draw, I tested the snooze library in an empty sketch and it worked fantastically the current draw in sleep was under 1 mA. I then implemented this in my project sketch and functionally it does go to sleep but using a multi meter the current drawn in sleep is nearly 40mA compared to the usual 24mA running this a screen and bluetooth module connected. The only difference in the set up is that I am using nearly all of the flash storage (63k/64k) could this be a problem? I tried using hibernate and that does drop the current very low but I can't get it to wake up with a TSI source. I am using teensyduino 1.28 and arduino 1.6.5-r5. Any help would be greatly appreciated!
Here's the code: http://pastebin.com/X1FXBvgn