The Multi- Format Clock Instructable

by janw in Circuits > Clocks

6388 Views, 25 Favorites, 0 Comments

The Multi- Format Clock Instructable

SDC11304.JPG
SDC11309.JPG
SDC11311.JPG
SDC11313.JPG
SDC11312.JPG
As my entry for the gift exchange, I made this multi-format clock . A lot of people asked me to write an instructable about it so here it is.

As said in the title, this clock has multiple ways to display time.

The four way of displaying time are:

3 Collum binary: A binary collum for the seconds, one for the minutes and one for the hours. (and inverted)

6 Collum binary: A bit easier to read. Two collums for hours, minutes and seconds. (and inverted)

‘Normal’ decimal: Scrolling

Hexadecimal: Scrolling

The original clock had a backlight too, but I didn't include that in this Instructable.

The clock can be powered by USB, wallplug or via the programming link.


What Do You Need to Build This Clock.

SDC11446.JPG

What is needed:

 

  1. An Atmega16
  2. A 8*8 ledmatrix: I used one with 5mm dots
  3. A DS1307 Clock
  4. A 32768K Crystal
  5. A CR2032 Battery + Holder
  6. A USB B Connector
  7. A Powerconnector
  8. 3 Buttons
  9. 3 1.5K Resistors
  10. 2 4.7k Resistors
  11. 4 sets of 1*8 male headerpins and 4 feamale counterparts
  12. 1 set of 1*4 Male headerpins and a female counterpart
  13. 1 set of 1*4 male headerpins 90degr.
  14. A 5*2 connector for the programming (optional)
  15. A 7805 powerregulator
  16. A 100nf capacitor
  17. A 10 uF capacitor
  18. A 100uF capacitor
  19. Some spacers

Other stuff you need:
  1. Programmer
  2. Stuff to make PCB's
  3. Soldering Iron and solder
  4. Heat-shrinking tube

The Matrix Adaptor-board

SDC11250.JPG
SDC11249.JPG
matrix2.png
matrix.png
SDC11451.JPG

I made this PCB to make life easier. On a 8*8 matrix the row and collum pins are mixed up, so I used this board to make a set of 8 row pins and a set 8 collum pins.

They are set in such a way, that they match with the ports I want to use on the Atmega16. 

As this is a one-sided PCB, the pins need to be soldered on the bottom side. To make sure that they are long enough to fit, I pushed the small side of the pin until it leveled with the black plastic (see photo). Then they are inserted in the appropriate holes and soldered.

Downloads

The Button Board

SDC11259.JPG
switch.png
switch2.png
This is simply a small board that houses the 3 buttons and a 90degr connector.

Downloads

The Main Board

SDC11256.JPG
SDC11257.JPG
SDC11255.JPG
main.png
main3.png
main2.png
The main board houses the atmega16, the DS1307 and all the parts needed to make those work properly. It also houses the 3 1.5K resistors needed for the buttons, as well as the buttonboard itself.

The pcb-layout also indicates the location of the 3 spacers. Just drill on the crosshairs.

Downloads

The Powerboard

SDC11308.JPG
SDC11305.JPG
powerboard3.png
powerboard.png
powerboard2.png
As said in the intro, the powerboard is slightly different than the one in the original clock.
I removed the backlight and the attiny 45 that was there to controle it.

It now houses the USB-connector, the battery for the clock, a connector for a wallplug, a 7805 and the needed capacitors. I used some flatcable connected to a female header to connect this board with the main board(see photo).

Downloads

Programming

programming.jpg
I added the hex-file for this colck so that you can program it yourself.

Downloads