Word and Figure LED Clock

by Drumpeter in Circuits > Clocks

4953 Views, 66 Favorites, 0 Comments

Word and Figure LED Clock

test.gif
temp_1079680561.jpg

This is an instructable about a clock that I built a few weeks ago. The syntax is really specific for the area I live which is called "Baden". Baden is in the most south western corner of Germany. The traditional way to read the clock here is kind of special especially for quarters of hours. If you want to understand it have a look at the excursus. I'm sure that you can create your own design adapted to your region.

DO IT BETTER

If I would build that clock again I will make some things different. But in the instructable I stick to the way I did it and point out improvement potential by highlighting it with the words "DO IT BETTER". Therefore to avoid the mistakes that I made please read the instructable from beginning to end before you start working.

PLEASE VOTE
If you like this instructable, please vote for it in the "
LIGHTS", "MICROCONTROLLER" and "WOODWORKING" Contests. Thank You!

Features

DSCN7321.JPG

The clock has the following features:

  • displaying time in 5 minute steps
  • keeping the time when disconnected from power supply
  • changing between colors
  • save energy by setting a calendar according to your regular absences (in source code)
  • user input:
    • set time
    • set day of week
    • toggle color mode
    • set brightness
    • toggle mode

Needed Materials

  • 1 Arduino (I used an Arduino Nano clone)
  • 1 real time clock module (I used one for a raspberry pi)
  • ~22 Neopixels (I used a cheap chain of lights)
  • 3 push buttons
  • 1 5V power supply
  • wood
  • veneer (optional)

Excursus: How We Read the Clock in Baden

Vocabulary.PNG
Meaning.PNG
examples.PNG

This is hard to explain with a lot of text. Please have a look at the pictures. If it is not understandable please tell me and I will try to improve the explanations.

Create the Layout

Layout.PNG

I'm sure you can do that how you like in your own language. But...

DO IT BETTER

  • The spaces between characters that need to be separated have to be big enough to put something separating in between. It was hardly feasible for me...
  • If you don't want to have the trouble of the inner parts of the characters (e.g. 0, d, e, o, a, b, 4, 6, 8, 9), just use a font that solves that problem.
  • Don't go too small if you have to cut with a scroll saw. My size (about 20x20cm) was just big enough to avoid big trouble. Maybe do some testing first...

Cutting the Front Face

DSC_0547.JPG
DSC_0555.JPG
DSC_0553.JPG
DSC_0549.JPG
DSC_0550.JPG
DSC_0556.JPG
DSC_0551.JPG
DSC_0557.JPG
DSC_0558.JPG
DSC_0559.JPG
DSC_0560.JPG
DSC_0562.JPG
DSC_0568.JPG
DSC_0569.JPG
DSC_0572.JPG

This step took me hours! I first cut the template from printed paper. Then I traced it onto the wood. For the front plate I used cheap plywood with an oak veneer glued onto it.

I did all the cutting with an old scroll saw. If you own a laser: Lucky You!

IMPORTANT:

  • Keep all the inner parts of the characters!
  • Mind the cutting direction of your saw when copying to the wood!

Building the Frame

DSC_0573.JPG
DSC_0574.JPG
DSC_0575.JPG
DSC_0579.JPG
DSC_0580.JPG
DSC_0581.JPG

The frame has to separate all the "pixels" and provides the distance between the LED and the screen to spread the light.

You see how it works... I didn't have a special plan. You can probably do it better by making one. If you can cut the wood with a laser you will have it easier by adding tongues and grooves to position all the parts. I just cut one piece after the other and glued it in.

Build the Screen to Diffuse the Light

DSC_0635.JPG
DSC_0636.JPG
DSC_0637.JPG
DSC_0638.JPG
DSC_0639.JPG
DSC_0640.JPG
DSC_0641.JPG
DSC_0643.JPG
DSC_0644.JPG
DSC_0645.JPG
DSC_0646.JPG

To make the light from the LEDs look smooth in the characters I had to find a way to diffuse it. I found out that hot glue works pretty good for this purpose. Just lay the frame onto a baking paper and fill up one area after the other. Maybe you should wear gloves for this step. I had blisters on my fingers from pumping. And you will need lots of glue sticks! I made the layer of glue about 5mm thick.

Arrange the LEDs

DSC_0654.JPG
DSC_0655.JPG
DSC_0656.JPG
DSC_0657.JPG
DSC_0658.JPG
DSC_0659.JPG
DSC_0660.JPG
DSC_0661.JPG
DSC_0666.JPG
DSC_0667.JPG
DSC_0668.JPG

Take a flat piece of wood, drill holes for the LEDs and glue them in. Be careful to position them in the middle of each field. To do this you can copy the layout from the front plate. If one field is very wide like my "viertel" use two LEDs.

Improving the Frame

DSC_0662.JPG
DSC_0663.JPG
DSC_0664.JPG
DSC_0665.JPG
DSC_0669.JPG

DO IT BETTER

Sh**! I made my frame too flat to put the LEDs in. Make a plane or improvise like I did ;-)

Wiring

Schaltplan LED-Uhr.PNG
DSC_0940.JPG
DSC_0941.JPG

I know that I won't win a prize for a professional wiring. You can do that better by using a nice circuit board.

Assembly

DSC_0671.JPG
DSC_0672.JPG
DSC_0673.JPG
DSC_0675.JPG
DSC_0677.JPG
DSC_0678.JPG
DSC_0679.JPG
DSC_0682.JPG

Glue the screen to the frame. Be careful when positioning and keep away the glue from visible spots!

I made my screen bigger than the frame. After gluing I aligned the edges with a router.

Finishing

DSC_0674.JPG
DSC_0683.JPG
DSC_0684.JPG
DSC_0687.JPG
DSC_0688.JPG
DSC_0689.JPG
DSC_0690.JPG
DSC_0691.JPG
DSC_0692.JPG
DSC_0693.JPG

For a nice finish I used the same oak veneer that I used for the front. Therefore I glued a piece of veneer to the clock which was slightly bigger than needed. Then I just cut it with a knife.

Fixing the inner parts of the characters was a bit tricky. I heated the hot glue with a hot air gun to melt it and that stuck the parts to it. Be careful to not burn the wood especially at sharp edges!

What really surprised me was the fact that the surface of the hot glue became clear after that step (I will keep that in mind for future projects ;-)). I used a plastic brush on a Dremel to matt it again. Don't let the brush and glue get to hot!

Coding

DSC_0697.JPG

Nothing much to say here. Probably it's not the best coding but it works. I tried to make it as easy to understand as possible and used a lot of custom functions.

Downloads

Usage

You can use the 3 push buttons to set up the clock:

  • Mode button
    • short: toggle mode (permanently on or calendar)
    • long: set day of week to make the calendar work (hours on display show set day of week, e.g. "4" for Thursday)
  • Color button
    • short: toggle color mode (hours show color mode, see code)
    • long: set brightness from 1 to 12 (hours on display show brightness)
  • Time set button
    • short: set minutes in 5 min steps (sets seconds to zero)
    • long: set hours ("vor" = "to" means am and "ab" = "past" means pm, which is important for the calendar to work)

My Mistakes

As pointed out in the intro there were some mistakes in my process. Here are some hints how you can improve it:

  • Make a plan! Design the clock and then think about every step. The only reason my clock turned out well was luck! Don't rely on that!
  • After making a layout start with the electronics! Then build a box around it. By doing that you won't have to resize you housing in the process.
  • Find something better than hot glue as a screen.

PLEASE VOTE

If you like this instructable, please vote for it in the "LIGHTS", "MICROCONTROLLER" and "WOODWORKING" Contests. Thank You!