Re: Pause Function - useful for a Clock?
Posted: Wed Aug 10, 2016 11:25 am
Some years ago, I needed to keep real time on a BASIC Stamp microcontroller. I used a circuit based on a 32.768kHz watch crystal and a 4060 CMOS logic 14 stage counter chip. The microcontroller polled the output of the counter using an I/O pin. It used this as the time reference and then the program kept track of seconds, minutes, hours and days. It ran for weeks and the time was fairly stable with not much drift.
If you wanted, this could also be done on a ZX81 / TS1000. You would of course need some extra circuitry so that the Z80 CPU could read the counter (address decoding and control).
The schematic and other details (for the BASIC Stamp) are in this PDF.
Mark
If you wanted, this could also be done on a ZX81 / TS1000. You would of course need some extra circuitry so that the Z80 CPU could read the counter (address decoding and control).
The schematic and other details (for the BASIC Stamp) are in this PDF.
Mark