TassyJim
 Guru
 Joined: 07/08/2011 Location: AustraliaPosts: 6638 |
| Posted: 08:10am 01 Oct 2025 |
|
|
|
If you want to use an external counter, The 4040 12 bit binary counter would be ideal. Just keep counting over the 5 seconds between the present wake-up. If the 5sec is spot on, there will be 5, 10, 15 or 20 counts. If the 5 secs is fast there could be 4, 8, 12 or 16 counts and if the micromite is slow, you may get 6, 12, 18 or 24 counts.
For the purpose, that will be sufficient to determine the battery state. 5 pins needed to read the counter and one to reset after the read.
Jim |