Motorbike Clock Part 1

I got sick of not knowing the time when i ride my motorbike. So i designed a clock to tell the time for me!

Using a 7segment Display from SparkFun a Real Time Clock (I used the ultra accurate DS3232) and a ATMEGA328p.

For the sake of saving space i built it in two layers. This is the first time ive used a SMPS in a design. I used the 5v version of the LM2594 and it was surprisingly simple to use. It worked pretty well. I had originally planned to control the brightness of the display using a LDR but i never implemented this.

sch

brd

After getting the boards made with another order they came out pretty nice.

brd1

brd2

Covered the 12mm battery in kapton tape to keep it in its holder and insulate it.

brd1

brd2

Programing it was a sinch! Using a mixture of C, pre existing arduino libs and processing to upload the time. The clock works in 12 hour time and the seconds are shown in binary on the decimal places on the display with 4 second accuracy (one bit equals 4 seconds).

The Full code and PCB schematics are available here: Motorbike Clock V0.1