Introduction: The Wordclock Grew Up!
Well, It had to happen.
I first published my WordClock project in September 2009. It was a Microchip PIC based clock, using a PIC16F877A microprocessor. In the last year and a half, I have been constantly improving it, and have adapted it to the Arduino, and even designed an updated controller board for it.
Well, It got better. I have discovered how to cut Vinyl stencils, and have been experimenting with Perspex, so I thought it was time to share what I have been playing with.
The beauty of using cut vinyl as a stencil, is that you can create a clock that is up to 45cm x 45cm (or larger if you have the vinyl). My previous PCB based stencils were limited to 150mm x 150mm.
As with all of my clock designs, this is completely open. I encourage everybody to make one either using the details from this site. It is much simpler than it looks.
If you want, I can provide parts, complete kits, or even complete clocks from my web site at http://www.dougswordclock.com. :-)
This clock uses an updated Arduino controller PCB. It has a DS1302 RTC onboard, to ensure that the timing is accurate, and an automatic dimming function kicks in between 7pm, and 7am, so you can still sleep if the clock is installed in your bedroom.
It is powered from a 12V DC, 400mA power supply. I have considered battery power, but LED clocks don't run for very long on batteries, so that is not an ecologically sensible idea. My old clocks used to run from an AC source, but i moved to DC when I implemented the RTC chip.
I hope you enjoy building one of these clocks, and that it inspires your own projects.
My Epilog Challenge thoughts:
I have entered this project into the Epilog Challenge - The things I could do with a laser cutter.... wow.... I could cut intricate shapes that would allow me to morph this project into a full flowing - 3D - word clock, that has a clock face that has depth, real depth, with curves.... It could be a combination of shape and texture that I see with the Dali style melting clock (https://www.instructables.com/id/How-to-Make-a-Dali-Style-Melting-Clock/), and using a laser cutter, I could make the intricate baffles necessary to make that real as a word clock.
Megs will never see me again - I will have to simply live in my garage! :-)
Step 1: Creating the Stencil
Start assembly by making the stencil. You can either get a stencil cut by a local sign writer to your own design, or use a pre-cut vinyl stencil from my web site.
I have always felt that the clock looks more majestic if there is a border around the letters (I normally use about a 30mm border), but you can use whatever size you would like.
Vinyl by itself is floppy, so it needs to be attached to a clear acrylic (Perspex) backing sheet to provide rigidity. Make sure that the acrylic sheet is the size you want the final clock to be.
Before you start, mix up a couple of drops of dish washing liquid with a cup of water, and load that into a spray bottle. We will use this to make applying the vinyl lots easier.
The vinyl stencil as supplied will typically be larger than required. This is so as to provide extra material for variations in face sizes. We need to cut the vinyl stencil to the final size of your acrylic sheet, allowing an extra 10mm allowance around the edges.
Lay the acrylic backing on top of the stencil , and mark out a cut line, then using a straight edge and a sharp hobby knife (or scalpel), cut the sheet to size.
Next, ensure that your working environment is clean – vacuum your table if necessary – or work inside the house, instead of the garage. Lock up your Golden Retriever dog and your cats. If you get small particles between the vinyl and the Perspex, you will have enormous trouble making the surface look flat.
Spend some time 'weeding' the stencil, by removing the letters that you don't want there on the final stencil. The removed letters will provide space for the light to shine through. Once you have removed all of the letters (being careful to leave the centres of letters such as 'A' and 'P' behind), apply some masking tape along each row so that when we remove the backing sheet, the centres of the letters stay in the correct spot on the stencil.
Remove the protective cover from the clear perspex, and lay the Perspex to one side, ready for covering.
Turn the vinyl sheet over so that the front is against your working surface, and remove the backing sheet from the vinyl stencil, being very careful to ensure that the vinyl does not stick to itself. Be very gentle so that you don't tear the vinyl.
Be gentle when you remove the backing to ensure that the bottoms of the letters are not stretched. You may find, for example, that the bottom of the letter R and W stays on the backing. Gently use a sharp instrument to detach them from the backing. This photo shows the base of an 'R' character being loosened. The base of the 'W' has to be loosened as well.
Spray the vinyl sheet with a liberal amount of the water/soap solution - Don't panic - we will be squeeging this out later - it simply allows us heaps of extra time and movement to get the vinyl applied easily. In fact it makes application Sooooooooooo easy.
DON'T DO THE APPLICATION DRY (Unless you are a professional sign writer) - YOU WILL GO QUITE MAD.
Lie the Perspex on the top of the vinyl at an angle, starting with the bottom edge – carefully align the edge so that it is straight, Hold the top of the vinyl sheet taunt (you can have an assistant help you), then, and using a folding, or rolling motion lay the sheet on the vinyl. The folding or rolling motion will help to ensure so that most of the air and soapy water is expelled.
(In the photo, I didn't use tension – I have subsequently determined that tension helps : )
Turn the Perspex over and make sure that the alignment of the stencil is where you want it. Don't worry if the stencil is in the wrong spot, because you used water and soap (you did - didn't you?) you have tons of time to get it right. Then, using a squeegee, credit card, or your hand, gently flatten the stencil out to remove the excess water / soap mix. Use some paper towel to clean and dry the stencil as you expel liquid. As you expel the liquid, you will notice that the stencil locks onto the acrylic sheet. We want this gluing action to happen. Do not rub the front hard, as you will damage the surface.
Then remove each of the tape strips - one at a time. Again - be gentle - use a tissue to blot up the excess water/soap mix as you go. If you find that a letter is staying attached to the masking tape, simply use a sharp tool to detach it.
Once you have expelled all of the water/soap mix, and things are looking very flat, marvel at your work, and leave it to adhere for an hour or so.
Cut the vinyl sheet to the final size on the perspex – I love the look of making the stencil 3 – 5mm smaller than the acrylic, allowing a small clear bit to frame the black vinyl. You may prefer to cut the vinyl even with the edge.
That completes the stencil assembly.
Enjoy looking at it, and then cover it with paper, attached with tape to ensure it doesn't get damaged and put it away somewhere safe where it won't get damaged.
Step 2: Building the Enclosure
Step 3: Installing the Strip Leds
Next, we need to install the LEDs on the inside of the newly created light box enclosures.
There are two options at this stage – Either, you can use individual LEDs and resistors (Which I feel is a little ugly, but it works), or you can use some of the 'strip LEDs' that are used in modern kitchens for awesome lightingeffects. I am focusing on installing strip LEDs, as they are so much simpler to install.
Strip lights are strips of flexible plastic PCB material that have groups of LEDs and resistors pre-installed. They are designed to run of 12V DC, and have an adhesive backing material attached, so installing them is as simple as removing the backing paper, and sticking them down. They can normally be cut into set of 3 LEDs, as individual light components. The photo on the shows a typical strip light. I used 2 x 1m Strip Lights for the project.
Start be cutting the Strip Light into the appropriate length sections for the words to be illuminated. In the case of my strip lights, there is a cut line every 3 LEDs, so I used 3 LEDs for the short words, and 6 LEDs for the longer words.
Once the individual words have been cut out from the strip lights use a small soldering iron to tin the ends – They are plastic coated, but should solder easily.
Next, remove the paper backing, exposing the sticky adhesive surface and attach the strips to the back of each small light chamber enclosure. Alignment is not incredibly critical, but try to get the strip centered along the word that it is suposed to light up. Use the stencil as a guide to show you where to install the strips. Be careful when installing the strips to make sure that the + and – connections are uniform (i.e. all + up, or all + down) It doesn't matter which convention you use, just be consistent. On one clock, I wasn't consistent, and discovered that the reason why one of the words wasn't lighting - the strip was installed upside down, so it was effectively connected backwards..... That is half an hour of my life I will never get back..
Once the strips have been stuck down, use a small (3mm diameter) drill and drill a small hole beside the strip light for the cable to be wired through. Be careful to not drill a hole in the strip light material.
Next, hold the assembly up to a light, and mark the holes for the controller to be mounted – we use a light behind the assembly to make sure that the holes you will be drilling won't interfere with any of the strip lights.
Next, install 4 sets of short hex standoffs for the controller to be mounted on.
Continue assembly by soldering a wire between all of the '+' connections – Remember that the controller has a common + between all of the words – this is the wire we run next.
Now, strip the ends of the 26 way ribbon cable, and connect each lead to its respective word, as detailed in the manual for the controller board that you can get from here: http://www.dougswordclocks.com/manuals/Controller.pdf . Be careful to allow extra slack on the end of the ribbon cable that has the connector, to allow it to plug into the controller board.
Once all of the strip lights have been installed and soldered, install the final baffles between the words using glue. Be careful to avoid dribbling glue everywhere!
Step 4: Making the Controller
Assembling the controller board is fairly simple.
Start by using Toner Transfer to etch a controller PCB - The layout for Toner Transfer is attached to this step as a PDF.
Then insert the 3 links on the component side of the PCB. Care must be taken to ensure that no solder bridges are produced during soldering, linking adjacent tracks on the PCB. I use of offcuts of component leads which have been bent using a pair of needle nose pliers for jumpers. There is no need to use insulated wire.
Continue assembly by inserting the IC Sockets, resistors, and 1N4004 diode. Be careful to with the orientation of the IC sockets. Pin one is indicated with a square pin on the PCB.
Then, insert and solder the rest of the resistors, capacitors, 78L05 voltage regulator and crystals in place. Again, be careful that the correct orientation is used for the electrolytic capacitors and diode. The following photo will help.
Continue assembly by installing the LEDs, 5 pin header, 6 pin header, 26 pin header and the 2 and 3 terminal connector blocks. The LEDs must be installed so that the short lead (cathode) is located at the bottom of the board (in the square hole)
Finally, insert the IC packages. Be very careful that the IC's are oriented so that pin one is in the correct location (matching the square hole on the PCB).
That completes assembly of the controller.
The build manual for the controller is at my web site www.dougswordclock.com
Step 5: Programming the Controller
If you have a kit from me, the AtMega168 chip will already be pre-programmed so you don't need to worry about this step.
Otherwise, if you have a new AtMega168, then you need to program it with the software to run the clock. There are two ways you can do this;
1) Remove the AtMega168 from the controller board, and insert it into an Arduino and program it using the Arduino IDE and a USB cable,
2) Use a Sparkfun FTDI USB-232 cable, plugged into the 6 pin connector on the controller board. If you use the FTDI cable, then the wordclock controller looks like an arduino board as far as the arduino IDE software is concerned.
In any case, use the attached Arduino sketch to program the chip.
Step 6: Final Steps
The last steps we need to do, are to finish the connections to the controller board, and plug it into the display cable.
Then we need to attach the stencil in a way that we can remove it if we need to, and to install some diffuser to the back of the stencil (I originally used tissue paper - now I use a sheet of oven baking paper). I used small blocks of Perspex glued to the stencil and attached with small screws through the side of the enclosure. Start by using masking tape to ensure that the edge of the enclosure is not glued to the stencil. Screw the four blocks onto the corners of the enclosure, apply some glue, and glue the enclosure to the stencil - Make sure that the enclosure is aligned so it is centralised on the stencil. The attached photos will help you make sense of this.
After that, we need to add a socket for the power cable, and mount the buttons to allow us to set the time.
Then, we need to install the back onto the enclosure - again, I used small blocks of perspex and small screws, using the same technique that was used to glue the stencil..
That completes the clock - power it up, and you should see the display self test start up.
Set the time, and enjoy it.
Step 7: Other Languages
I have modified the source to support other languages.
Here, you can download files for Dutch language modifications. Other languages will be available as I develop them.
Feel free to teach me how to tell the time in your language, and together we can create the next language pack!
Here is a photo of a clock that Stan made, using one of my new controllers loaded with the Dutch language code.
Step 8: Parts List
Here is a parts list for the project:
Arduino Compatable Controller
Ardunio WordClock Controller PCB
10uF/25V electrolytic 1
18pF ceramic 2
100uF/25V electrolytic 1
0.1uF ceramic 2
270 Ohm 2
10k 1 <- (in the photo this looks like 10M)
AtMega168 micro 1
ULN2803A IC 3
CD4094 IC 3
DS1302 IC 1
RED LED 1
GREEN LED 1
1N4001 diode (or 1N4002, 1N4004 etc) 1
32768Khz Crystal 1
16 Mhz crystal 1
78L05 Regulator 1
2 Pin PCB screw connector 2
3 Pin PCB screw connector 1
5 pin 0.1 inch pin array 1
6 pin 0.1 inch pin array 1
26 pin 0.1 inch header 1
8 Pin IC Socket 1
14 pin IC Socket 2
16 Pin IC Socket 3
18 Pin IC Socket 3
White Strip LED kit (12V) 32 x 3 led segments (about 1.5m)
26 Way ribbon cable 1m
26 Way IDC ribbon connector 1
3mm White Acrylic 264mm x 264mm
3mm Black Acrylic 270mm x 270mm x 1
3mm Black Acrylic 60mm x 264mm x 2
3mm Black Acrylic 60mm x 270mm x 1
3mm Black Acrylic 25mm x 264mm x 10
3mm Black Acrylic 20mm x 25mm x 8
300mm x 300mm vinyl stencil pre-cut
3mm Clear Acrylic 300mm x 300mm
2.1mm DC input socket (panel mount)
3mm x 6mm screw x 20
3mm x 10mm Hex standoff x 6
Button PCB x 1
Black push buttons (miniature) x 2
5 core IDC cable X 30cm
Finalist in the
3rd Epilog Challenge