Counting pulses, while the MM sleeps....


Author Message
Volhout

Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 6101
Posted: 08:27am 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.


From the MM2 manual. The MM2 can wake up from pin 16 fast enough to also decode the IR remote control message. So you won't miss a pulse from this charger. Problem I see is when the charger does not output any pulse (=0) you sleep forever (unless you implement a watchdog).

Jim's idea can also work with a CD4024 (if that is in your parts bin).

Volhout
Edited 2025-10-01 18:35 by Volhout