loading
Picture of Sleek word clock
DSC_5123.JPG
DSC_5004.JPG
Inspired by drj113's great instructable on making a word clock, I wanted to make my own.  After seeing the (extremely overpriced) commercial "qlocktwo" word clock, I decided to borrow its smooth glossy black design while basing the innards of my clock on drj113's design.

In the end, I managed to stuff the arduino and LED's inside an IKEA shadow box, and used printed transparencies to create the black letter mask.
 
Remove these adsRemove these ads by Signing Up

Step 1: The materials

Picture of The materials
This is what you need:

1 Ikea RIBBA shadow box - $10
98 white LEDs - $7-10 (buy in bulk on ebay)
98 1KOhm resistors - $3
1 Arduino (or an ATMega168/ATMega328 and extra hardware - 5V regulator, crystal, etc) - $7 (for standalone chip and extra hardware) or $30 for arduino USB board
3 ULN2003A Driver ICs - $1.89 at Digikey
3 HCF4094 shift registers - $1.44 at Digikey
1 Barrel-plug connector - $0.38 at Digikey
2 Buttons - scavenged from old electronics
1 6V or 7V DC wall wart - scavenged from old electronics, or ~$4 online
1 sheet colored paper (used for a hint of color around the border)
1 9" square piece of cardboard (used to hold LEDs in place)
1 cereal box (cut up to make light baffles - see step 3)
1 black garbage bag
2 printed transparencies (see attached pdf on step 2) - $1
1 protoboard for microcontroller, driver ICs, etc. - $5

Total cost: around $44 (using standalone ATMega168) or $67 (if you buy a full Arduino)

optionally a breadboard is useful for prototyping the circuit

Step 2: The black letter mask

The key to making the clock look nice was making the glossy black letter mask.  I thought of several different ways to make the letters, such as silk-screening on the back of the glass, or having a custom black sticker made, but eventually I settled on printing black onto transparencies - see the attached PDF file.

Since there's a lot of black ink, I had my transparencies printed at Staples for something like 50 cents a piece.  The ink wasn't quite black enough to completely block out light, so I printed 2 of them and stacked them.  Depending on how dark your ink is you may need more or fewer layers to get an opaque black.

Cut off the clear parts of the transparency so only the black square is left.  Align the letters of the two layers and tape the layers together with double-sided tape on the top and bottom black regions - see photos 2 and 3.

Note: the viewable area of the Ikea frame is 8.5" square, but unfortunately you can't print all the way to the edge of the transparency. Therefore you need to cut a piece of construction paper to form a border and fill the gap - it also adds a nice touch of color.  Cut a piece of construction paper to be 9"x9".  Mark lines 0.5" in from each side forming an 8"x8" square (photo 4).  Use a utility knife to cut out the inner square leaving a 0.5" paper border (photo 5).  Tape the transparencies to the back of the border (photo 6).

Now, cut out a square piece of the black garbage bag big enough to cover all of the letters.  Tape this on the inside (back) of the letter mask to help diffuse the LED light and make the letters a dim gray when not illuminated.  Also, put a piece of black electrical tape behind each of the non-used spacer letters to make sure no stray light gets through.

(Edit 8/1/10: Added a better description of the construction paper border and more pictures)
letterLayout3.pdf(612x792) 62 KB

Step 3: Soldering LEDs

Picture of Soldering LEDs
DSC_6811.JPG
DSC_6812.JPG
DSC_6813.JPG
DSC_6825.JPG
DSC_5002.JPG
Now comes the repetitive task of soldering all 98 LEDs and resistors.

We need to attach a resistor to each LED to limit the current that flows through it.  I chose to use 1Kohm resistors and drive the LEDs at 10mA (half their rated current), but you might want to use 470ohm or smaller depending on your power supply and LEDs.  Keep in mind that up to 31 LEDs will be lit at once ("IT IS TWENTY FIVE MINUTES PAST ELEVEN"), so if you drive each LED at 20mA you will need a 620mA power supply - this is part of the reason why I planned for 10mA a piece.

First, trim one lead of each resistor leaving about 3-5mm (see photo 1).

Next, prepare the LEDs:
- bend the leads opposite directions
- we're going to attach a resistor to the anode (+) of each LED.  The anode is the longer lead, and is opposite the flat edge of the LED - photo 2
- trim the anode so that a small stub ~3-5mm is left (it shouldn't even extend past the base of the LED) - photo 3


Now, solder a resistor to each LED:
- place the LED into some kind of jig to hold it steady - a piece of cardboard with a hole punched in it works well
- hold the short lead of the resistor next to the trimmed lead of the LED and tack them together with a bit of solder (photo 5)
- test the LED-resistor combo on a 5v supply to make sure the solder joint is good and polarity is correct (photo 6)

Step 4: The LED holder

Picture of The LED holder
DSC_6827.JPG
DSC_6829.JPG
Next we need a way to hold the 98 LEDs in place behind each letter.  In drj113's instructable, he made a pcb for the LEDs - this works well, but it also requires a lot of work to etch and drill the board. 

I decided to take a 9"x9" piece of cardboard and punch out holes for each LED.  I printed out a pattern with the letters (you can use the same file as the transparency, or invert the colors to save ink) and taped it centered on the cardboard.  Then I took an awl and punched a hole through the center of each letter that would be lit (photo 3).

Once all the holes are punched, you can remove the paper template.

Step 5: Installing the LEDs

Take each of the LEDs and bend one lead 90 degrees, and the other 90 degrees the other way (see photos 1/2). Make sure you make the bend close to the resistor/LED otherwise the leads might touch another row once installed.

If you did this consistently, the leads of the resistors should overlap when placed into the cardboard backing.

Tip: mark the division between words on the back of the cardboard - this will help when connecting LEDs.

Solder together all of the positive leads (the resistor side) in each row and solder together all of the negative leads leaving a gap (discontinuity) between words (photos 3/4/5).  Finally, bend the positive lead (resistor) on the end of each row down and solder it to the lower row to connect all of the resistors together (photo 6).

You can then attach a single wire to any positive lead (since they're all connected), and attach a wire to a negative lead for each of the words. Make sure you test each of the words at this point - I had a few loose solder joints which caused only parts of words to light up.

Solder groups of 7 of the cathode wires to male pin headers (photo 8) - this will make it easy to connect and disconnect the LED board from the controller board.  However, don't include the "IT IS" cathode in one of the groups of 7 - it will be connected separately.

Step 6: Light baffles

Picture of Light baffles
DSC_7147.JPG
DSC_7148.JPG
DSC_7151.JPG
DSC_7152.JPG
Once all the LEDs are in place, we need to add some baffles to prevent the light from bleeding between words.  I made the baffles out of cardboard from a cereal box, and hot-melt glued these to the cardboard LED holder. 

Start by cutting strips of cardboard that are 6"x1-1/8" (photo 1).  Then using a couple dots of hot-melt glue (photo 2), attach four of these strips to form a square perimeter around the LEDs (photo 3).  Then add strips between each row of LEDs (photos 4/5).  Finally, cut the remaining strips into small pieces that can fit within a row and block light between words.

Step 7: Wiring up the Arduino

Picture of Wiring up the Arduino
DSC_7157.JPG
DSC_7158.JPG
DSC_7166.JPG
DSC_7175.JPG
DSC_7174.JPG
The clock needs some brains, so it's time to hook up the microcontroller.

First, you'll want to program the Arduino before placing it in the circuit.  The code I used (WordClockModified.pde) is a slightly modified version of drj113's original code, updated so that the pinouts match my version and I changed the buttons to be hour-advance and minute-advance rather than minute forward/backward.

Space-wise, you probably won't be able to fit the whole arduino USB board inside the frame, and there's no reason to anyway, so I chose to set up a standalone ATMega168.  If you do this make sure you use a crystal, not a resonator - resonators are simple since you don't need separate capacitors, but crystals tend to be more accurate which is important in a clock.

For the most part I followed drj113's schematic with a few changes:
- I hooked up the output-enable pin of the shift registers to a PWM pin on the ATMega168 (instead of just tying them high) so that I could dim the LEDs programmatically
- I added a potentiometer to an analog input pin for setting the brightness (you might substitute a photoresistor so the lights dim when it's dark)

I've uploaded a mini-schematic I drew to help wire the components (Note: the pinouts on my version are different than those used by drj113)

To start building the controller, you may want to use a breadboard to prototype some of the design (photo 1).  Once you are convinced that things are working as expected, it's time to move to a more permanent layout. 

Start by cutting down a piece of protoboard and laying the components out to make sure everything fits OK (photo 2).  Then start wiring up the components.  I started with the voltage regulator and ATMega168 and made sure that the microcontroller was hooked up correctly before continuing (photo 3 - note: the top of the board was pretty cramped, so I wired up some things on the bottom side).  Then I wired up the shift-registers and drivers, checking to make sure that each set worked correctly before continuing (photo 4 shows the board after two sets of shift-register/drivers have been wired).  The completed controller board can be seen in photos 5 and 6.

Step 8: Mount the power connector and buttons

Picture of Mount the power connector and buttons
DSC_7176.JPG
DSC_7179.JPG
A clock is pretty useless if you can't set the time, so we need to mount some buttons on the enclosure.  We'll also mount the power connector now too.

Take the back panel from the Ikea frame and drill three holes - the first two should have a diameter equal to the width of the buttons, and the third should have a diameter equal to the smaller width of the barrel-plug jack.

Once you've drilled these holes, use a square-edged file to expand the holes into squares big enough for the buttons and connector to fit (photo 1).  Press the components into place and glue them from the back side (photos 2/3).

You can also mount the potentiometer at this point (these pictures are from my second word clock, which I opted to skip the potentiometer).

Step 9: Enjoy your creation!

Picture of Enjoy your creation!
Finally, stuff all the electronics and LEDs into the frame, turn it on and enjoy your hard work!

Let me know if you have any questions.

-Scott
1-40 of 136Next »
raritan013 years ago
If I'm using the Arduino Uno instead of the ATMega, how is the wiring diagram changed? What should I hook up to what?
I used the schematic here. Easier for me to follow:

http://www.highonsolder.com/blog/2011/1/8/arduino-word-clock.html

The pins you should wire to on your Arduino UNO are shown below:
Strobe - Digital 8
Data - Digital 7
Clear - Digital 6
PWM - Digital 9
Minute Pushbutton - Digital 2
Hours Pushbutton - Digital 3

quoting Joe from "http://www.highonsolder.com"

that worked for mine : )

hey man! Im having trouble getting all connected together, I also have the arduino UNO. I connected the pins as you stated right up but Im still having some doubts about where the other connections of the minute, hour buttons go as well as the IT IS cathode and the LED common anode. I wuld really apreciate your help!

is that the corresponding pin where i can put the male pin in ? by the way i use Arduino Uno, i'm just wondering if i still need to make the other components like the 22pF ? or only the HCF4094 and UNL2003 ?
waiting for your quick response thanks.....

simtiaz1 made it!18 days ago

Tweaked it a little ,used standalone ATMEGA328 with ds1307 for time keeping A little inspiration from Jalvelin WordClock.

Couldn't find a block box so used old 10" x 10" Frame.

Added Happy Birthday Greeting with DS1307 RTC.

Awsme Project

20150711_153514.jpg20150711_153448.jpg20150711_145605.jpg20150711_153620.jpg20150711_153534.jpg20150711_153444.jpg
troydp2 months ago

hi,

i want to build this for a school project but i have a question: do you have to program this and if yes what is the code i can use?

thanks,

Nanjundas4 months ago

Hi,

Some of landed her searching something else. Really nice project and I am impressed. I am planning to construct one for myself. I am an mechanical engineer and residing in India. I would like to know the list of complete parts required so that later I can build by your instructions. Can you please send the details to my mail id nanjubel@gmail.com

SandraJ15 months ago

Hey. I am a typical biology-girl, so buying this for my geeky friend is kind of a challenge.

1st question: How big should the white LEDs be?

2nd: What is the right kind of 1k Ohm resistor? I found one with 1/4 watt and 5% tolerance.. good enough?

3rd: Is there a specific size or something for the protoboard?

Btw. Totally awesome clock!

Hi, I am attempting to do this project. I have soldered the LED's in place, but i am using an arduino microcontroller instead of the standalone ATMega168 mentioned in the tutorial. Is it possible to include the next steps if you are not making your own microcontroller? I am just a bit confused about what to do without your expert guidance! I have no previous electronics experience.

Still need help? maybe i can help you?

MarioNL1 year ago

Hi, I was thinking about making this, But i'd like to add a small alarm when it's 7 AM.

is it possible to do this with a modification in your code? If you could show me an example that lit up a "alarm led" when its 7 am. that would be great :)

jchmwenn MarioNL9 months ago

you still need this? Maybe i can help you?

Dude Man3 years ago
Troubleshooting Help: I got the clock up and running but it flashes between words every second. Is my clock off? Wires crossed somewhere? What would be causing this to happen?

Hey man did you ever figure out the solution to this? I'm having the same problem. Thank you!

I had the same problem. To solve this problem i checked all the wires and it seems that i crossed the wires somewhere. Maybe you can check all the wires again?

jchmwenn Dude Man9 months ago

I had the same problem. To solve this problem i checked all the wires and it seems that i crossed the wires somewhere. Maybe you can check all the wires again?

davidramirez11 months ago

I don't understand this: 1 Arduino (or an ATMega168/ATMega328 and extra hardware - 5V regulator, crystal, etc) - $7 (for standalone chip and extra hardware) or $30 for arduino USB board

Can I buy only an arduino uno?

It is possible to use only an arduino uno but i think you also need to use 3 ULN2003A Driver ICs. This because the arduino probably doesn't have enough connections for all the letters.

davidramirez11 months ago

what do I have to change in the arduino code for making it in spanish?

I think you actually don't have to change anything in the code. You have to make sure that the Spanish words are at the same position as the English word. So for example the word 'Half' should be replace for 'Media' (think this is the Spanish translation for half).

In the case that the word order is really different let me know, then i can help you further.

papadi9 months ago

Hi! There is one thing that I don't understand. Why do we need the ULN2003A? Aren't the shift registers enough to control the 23 sets of leds?

rchavda10 months ago

Really nice project. Building mine very soon. I was wondering, could you program a potentiometer (1k or so) to allow you to speed up the time at all? That way you could enable people to set it? Or even a button which, when pressed, would go through all of the time-word values to allow a user to simply set the time..?

Demonic694 years ago
Hi
This looks amazing,I'm just ordering parts :D
I'm planning on laser cutting out some acrylic for the stencil, possibly for the led holders and shrouds too, though might use wood to save cost.
I was wondering if it is possible, with the same number of parts to allow individual minutes? So have another set of numbers one to nine, then a teen as well?
Also, when you say Atmega168 and other parts, could you list the other parts please? I'll use my Arduino at 1st, then replace it later on.
Great job, thanks for inspiring
Yes i would also like to know what the other parts are as i am a bit confused.
papadi jburke2612 months ago

So guys... what are these other parts?
Is this the regulator? http://tinyurl.com/lzbayjq

What is a crystal? And what about the "etc" part?

Does this make any sense? http://tinyurl.com/m9p7veu

ben142411 year ago

what size capacitor is used on the output of the voltage regulator? I'm guessing 100uF, does the voltage rating matter?

oh_mali1 year ago

Hi Scott, love the project! I'm looking to make this without the arduino chips though. Can you email me at mtclake@live.com with instructions on how to make this with just a microcontrollers board? I'd appreciate it!

Hey oh_mali,

Did you ever end up getting instructions on how to do that? I have a microcontroller and would love to try this project out.

Thanks!

dcgchico1 year ago

Hi,

I see in the phto that you are using unregulated 7V for driving the LEDs. Why don't you use the regulated 5v the regulator provide?

ezraulo1 year ago

Love the qlocktwo - any chance you might be selling these (or in the future)?

If anyone is looking for a word clock but doesn't have the technical skills to build one like this, you can make an inexpensive word clock using a digital picture frame. Check it out at dpfwordclock.com

KlarBot1 year ago
great idea and great tutorial for a cheap and easy to do word clock, i did the same thing with the transparency sheets. but one thing i noticed using an arduino board was, the time was off about 5 minutes every week or so. instead i just wired up an atmega 328 chip (basically a diy arduino) and the time is incredibly accurate, after almost a year i have never had to reset the time, plus cheaper!

The next time i do this i want to jut try and get a company to just cut the letters out of vinyl and build a face out of clear acrylic, maybe trying out LED strips instead also.
ritzanab2 years ago
two things, can you send me a better schematic to my email ritzanab@gmail.com?
and two, can you make a list with links to all the materials? thank you.
ch4r3l2 years ago
I'm almost done with the clock, but I can't download the .pde
When I click on it, it downloads a .tmp file.
Malicah2 years ago
I'm still wondering about my first question, what range of resistance the photoresistor should be if I get one, or if it even matters.

I am also wondering one other thing, I don't have an IKEA here, and can't buy the exact frame listed (It's not offered online). So should any 9X9 Shadow box frame work? What are the most important dimensions I need to try and match up? Depth?
Malicah2 years ago
I'm gathering all the parts for this project, I am hoping to add the photoresistor to it, but I am curious if anyone has suggestions on what range of resistance I should get
I just finished building my first word clock. Next I want to create a Polish version. I could not find a PDF with the letter array created however. Do you have any idea how I might make my own easily? I could try doing it in photoshop but I'm not sure what dimensions to use and such. How did you go about creating yours?
We're you able to successfully hide all the electronics inside the frame? Or did you have to mount them on the backside?
The.Sniper4 years ago
Ok as promised My Qlocks are done I still need to do a final clean up and inspection But they have been running for over 100 hours now Im happy with their turnout. each clock has 2 lens 1 black and 1 white. I will add that Since I decided to go with Mid output LED's I underestimated the the load this would have on an arduino. and had to add a PS/regulator setup at the last minute. It was an unexpected addition and had I known I would have already added it to the PCB's I built.

A full pic gallery can be seen here.
http://gallery.me.com/thesniper#100122

Its been a long 6 months!
-TheSniper-
IMG_0848.JPGIMG_1288.jpgIMG_1289.jpg
Hi I suck at making stuff and would love to buy one from u of either white or black white is better though thanks!!!!!!!
1-40 of 136Next »