Counting pulses, while the MM sleeps....


Author Message
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2981
Posted: 03:09am 01 Oct 2025      

Hey Grogster,

I think the solution is easy, (well famous last words).

Wake up at your 5s interval.
Check for pulses, and start a loop after each pulse that counts 500ms (or suitable delay) if another pulse comes in that 500ms then start the loop again when you get a 500ms with no pulse then start your count on the next incoming pulse, if no pulse after 1000ms then battery is too low.

What am I missing here?


Regards,

Mick (The big one)



.