Nice, Les. Since the TS is talking about syncing 50 of these, I suggested an RTC with a GPS timebase. While it will cost a bit, a GPS with a 1PPS output could keep them all in sync.Some thoughts on using ATtiny micro controllers.
I write some code to do what I think the TS requires.
As I had some ATtiny13A s in stock I decided to use one of them.
The internal oscillator is not very accurate but there is a register to fine tune it.
…
Les.
The GPS time could be used to set the clock on startup and the 1PPS signal could be used to keep the RTCs exactly on target. Or the RTC could be omitted and the 1PPS signal could be used on an interrupt with a seconds accumulator variable used to manage firing the motor advance events.



