Introduction: The Multi- Format Clock Instructable

Picture of The Multi- Format Clock Instructable

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.


Step 1: What Do You Need to Build This Clock.

Picture of What Do You Need to Build This Clock.

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

Step 2: The Matrix Adaptor-board

Picture of The Matrix Adaptor-board

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.

Step 3: The Button Board

Picture of The Button Board

This is simply a small board that houses the 3 buttons and a 90degr connector.

Step 4: The Main Board

Picture of The Main Board

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.

Step 5: The Powerboard

Picture of The Powerboard

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).

Step 6: Programming

Picture of Programming

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

Comments

brcoenen (author)2013-02-01

When u say led matrix, can one assume u mean just 8 leds with cathodes and anodes conected with a resistor here for each row or column? Or is it more complex like needing to be purchased or built with additional electronics?

janw (author)brcoenen2013-02-02

You can either buy a ledmatrix as shown in the pics or you can build your own by placing 64 leds in 8 rows of 8. Then you connect all anodes and cathodes as rows and collumns. Add resistors and you are done

vividsaddam (author)2012-10-19

hello. how can buy that are already made cause i don't have any item to do the shoulder and knowledge of doing electronic stuff.

mwagner63 (author)2011-07-28

How do you set the clock and change the format?

janw (author)mwagner632011-07-28

There are 3 buttons on the side.
One for the hours, one for the minutes and one to set the format.

About This Instructable

5,685views

24favorites

License:

Bio: I'm mainly interested in music, food and electronics but I like to read and learn about a lot more than that.
More by janw:Pickled ChilliesExtra hot sriracha sauce (Mme Jeanette)Build a Nest Box for Bumblebees
Add instructable to: