Well, that helped.I would suggest putting a small ceramic capacitor (maybe .05uF) across the right-hand diode feeding the optocoupler. That will filter out most high frequency noise coming from the power line, but will still allow 60Hz.
The pins of that diode projected invitingly on the underside of the board, so I tacked on a 0.04 µF. Now instead of the circuit tripping prematurely at about 40 sec, it trips at ~59 sec. Target of course is 60 sec. That is a big improvement.
I knew @Sensacell was right about a noisy AC source.
The counter section is almost for sure running OK.
I have an o-scope coming in a couple of days. With it, I should be able to refine the little network feeding the optocoupler. I think there is a good chance of getting the device to run at exactly 60 sec.
Thanks!



