I was looking for something to do with this Ardunio Nano that I had
gotten. So I decided to create a clock in a steampunk style with copper
and analog gauges. Four gauges represent a single digit each in HH:MM
time. A fifth gauge represnts the seconds and will have a scale of
0-59 seconds. An LED light will be on for PM and off for
AM. Ardunio's are simple microcontrollers. They are full
pledged CPU's like in a laptop or desktop
computer. As such, they have no internal clock from which to be able
to read the current time. So I used a seperate real time
chip so the program can get the correct time.
Here is the intial prototype. Originally I was only going to have
just the hours and minutes. Later I decided to add the
seconds so you could see the clock doing something. The meters a
really all 5 volts. The program takes a digit and divides to
calculate the voltage needed to postion the needle appropriately. The
actual label in the meters will be replaced later with the new scales. For instance for a
0 - 9 then for a 9 you want the needle at the max far right, 5
volts. For a five the needle should be in the middle.
So that's 2.5 volts.
|The electronics are inside the box. If I were to do it all over again I'd have everything one ciruit board so it would much smaller and compact.||