Counting pulses, while the MM sleeps....


Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6638
Posted: 04:05am 01 Oct 2025      

  phil99 said  
I think Jim's point is using the pulses to wake it up may not work if the pulses last less than 1mS. .... All unknown at this time.

The pulse is designed to light a LED so the user can count the 1 to 4 pulses.
I doubt if 1mS would be visible to human eye.

If it was 1mS on/1mS off, waking from sleep and counting the up to 4 pulses would be minimal drain on the battery.
That is easy to implement.

If is 10 mS on/10mS off, using the interrupt method would have high drain.
Integrating the pulses with a capacitor might be better. It would effectively be a slow PWM

Too little information to decide.

Jim