In this instructable I will talk a little bit about the theory and then we'll move on to the actual code itself. This was just a project build on the breadboard, while building my wifi radio. It started life as the script for a grafical volume button and ended up as a clock that never made it in the final project but it might come in handy for one of you out there.
My code will be written in Bascom but it will be very easy to translate it into your favorite language once you understand the theory.
Remove these ads by
Signing UpStep 1What do we need?
A breadboard
An Atmega16
A grapic LCD (240*128)
A DS1307 Realtime Clock
A 32.768kHz quartz crystal
A 3V battery + holder
Two 4K7 resistors
Two 1K5 resistors
Two pushbuttons
A 10K potentiometer
Your favorite programmer
| « Previous Step | Download PDFView All Steps | Next Step » |









































Nice DIY, congratulations.
My suggestion to improvement:
Each 12 minutes you need to increase the hour pointer.
I did an analog clock fews year ago (~ 12 years), but I didn't improve its visual:
https://acassis.wordpress.com/2009/03/29/nostagia-ponto-com/
BR,
Alan
I will work on it