Design "for fun", vintage watch à la 90s, made on a contact plate. A gadget perfect for the shelf. :)
I had an AT90S8535 controller in stock, and since I recently returned to programming, I decided to use it for something useful. The once exorbitant 8 kB of flash on board is rather different from today`s standards, and it is so slow that uploading a 4 kB program takes almost 6 minutes using the USBASP programmer.

The construction is quite standard. The controller`s task is to get/set the time from the RTC clock (DS1302) and control the multiplexed display. The control is based on a timer that generates an interrupt every 1 ms with an 8 MHz quartz. The interrupt procedure turns off and on the next segment and keeps the light on for 200 µs. The main loop deals with data retrieval, button and beeper control.
Basically, I made the project as a training and reminder of AVR programming in C, while the assembly on a breadboard involves a bit of modeling to make it work and look good. :)
The watch has found a place of honor on the shelf and does its job - it shows the time.
I had an AT90S8535 controller in stock, and since I recently returned to programming, I decided to use it for something useful. The once exorbitant 8 kB of flash on board is rather different from today`s standards, and it is so slow that uploading a 4 kB program takes almost 6 minutes using the USBASP programmer.



The construction is quite standard. The controller`s task is to get/set the time from the RTC clock (DS1302) and control the multiplexed display. The control is based on a timer that generates an interrupt every 1 ms with an 8 MHz quartz. The interrupt procedure turns off and on the next segment and keeps the light on for 200 µs. The main loop deals with data retrieval, button and beeper control.
Basically, I made the project as a training and reminder of AVR programming in C, while the assembly on a breadboard involves a bit of modeling to make it work and look good. :)
The watch has found a place of honor on the shelf and does its job - it shows the time.

Cool? Ranking DIY