Grogster
 Admin Group
 Joined: 31/12/2012 Location: New ZealandPosts: 10039 |
| Posted: 11:04pm 30 Sep 2025 |
|
|
|
Hi everyone - thanks for the suggestions.
@ Volhout:
#1 - MM2 must sleep, as maximizing the battery life is what this project is all about. Leaving the MM2 running - even at CPU 5 for example, has a DRASTIC effect on the life of the battery. Sleeping the MM2, and only waking to check the tilt switch, and if inactive, go back to sleep, dramatically increases battery life before a recharge is needed.
#2 - That's interesting! Never thought of that, but we'd have the same issue with the O8M2 running all the time, it will kill the battery much much faster, so although I like that idea, I can't do it that way either.
I like the idea of using the WAKEUP concept and counting the pulses then going back to sleep. That is an idea I think I might play with on the test-bench.
I'll also look up the counter chip and the cap idea by Rob - all worthy of further investigation.
It's only tricky, cos I need to keep the MM2 asleep as much as possible, to maximize the battery life. |