Major updates - A much better enclosure for this clock has been designed, and a better controller using an AtMega controller now exists. check out
http://www.instructables.com/id/The-Wordclock-Grew-Up/
**************************************************************************
This is a project to tell the time using words.
I saw a cool clock on the Make Blog the other day (http://blog.makezine.com/archive/2009/09/qlocktwo_clock_tells_time_with_word.html), and thought 'Hey - I can make one of those', so here it is!
There are two new photos of a completed clock kit, mounted in an enclosure, and hanging in my dining room. The clock module in the center is 150mm x 150mm, and the enclosure surround is 300mm x 300m craftwood, painted with automotive paint. I think that it looks really great!
I am now able to sell all sorts of components, ranging from complete clocks, through to kits, through to individual modules and components. Please visit my web site www.dougswordclock.com for further information.
|
If you want an arduino version of this project, then have a look here: http://www.instructables.com/id/The-Word-Clock-Arduino-version/ |
This version uses a PIC microcontroller.
I am in Australia, where the mains frequency is 50 Hz (50 cycles per second). This clock uses mains to ensure that it stays accurate. I have realised that people in other countries (USA) may want to construct the clock, so I have modified the firmware to cater for 60Hz countries. Just download either the 50hz, or 60hz firmware depending on where you live.
Another update - I have modified the clock to allow Minute LEDs to be used around the edge - Have a look at the last step of this instructable for details.
Remove these ads by
Signing UpStep 1: Construct the Hardware
I printed the PCBs out using my laser printer, and photocopied the layouts onto PressnPeel Blue film. You can use any PCB manufacturing process you like.
Having etched, and drilled the boards, populate them as shown in the two photos.
I have attached the schematic diagram, and the PCB layout.
Both boards are connected together using jumper wires along the edge.
DO I *REALLY* USE 360R AND 36R RESISTORS?
As an update, I have been using Blue Flat Top LEDs, with a forward voltage drop of about 3.3v @ 20mA. The supply that I was using was about 10.5VDC. With the original design, with 2 LEDs, the voltage drop across the LEDs was 6.6v, meaning that 3.9v was being dropped across the resistor (11-6.6). With a 360R resistor, this limited the current to 10.8mA, and with 3 LEDs, the voltage drop across the LEDs was 9.9v, meaning that 0.6v was being dropped across the resistor (11-6.6). With a 36R resistor, this limited the current to 16mA.What I have subsequently discovered is that with supply voltages of 12V, the current through the leds ends up being way too high (15 & 58mA), which is a problem.
In my most recent versions, I have setled on 680R for the 2 Leds and 270R for the 3 Leds, providing 7.9 and 7.8 mA respectively. Much lower current, and still ample illumination.











































Visit Our Store »
Go Pro Today »




for Minute LEDs :-) good idea
nice clock..
Have a look at my latest clock http://www.instructables.com/id/The-Wordclock-Grew-Up/ or www.dougswordclock.com
But I can't figure out why this information is needed. could you explain that please ?
The AC input to the bridge rectifier is coupled using R32 to the microprocessor - R32 has been chosen so as to effectively limit the current, so that the voltage excursions (both negative and positive) do not damage the diodes. Using 100K effectively limits the current to tens of microamps.
D2 and D3 act to protect the microprocessor input - The Zener conducts at 5V, preventing the pin from going above 5v, and the 1N914 conducts when the input tries to go negative (remember that it is an AC supply), effectively limiting the voltage to -0.7v Given the massive size of R32, the protection diodes may not be required....
Thank you for reply, but i really wonder why you need in code to know if the alternance is the positive one or the negative one. In other term why do you need to detect zero crossing of the grid ?
The project does fail when the power goes away, but my newer clocks use RTC chips so they keep timing even when mains is lost.
Thanks!
In the later versions, I moved to a RTC chip
But i assume the variation isn't that much (here in France it goes to approx 50.01 or 49.9 Hz max and mini for a few minutes). As soon as your country grid is stable... It would be interesting to measure the deviation of the clock running with the grid (In the end the mean frequency over a day might be very close to 50 Hz).
I chose to use DS1307 maxim RTC, but i'll rethink the idea in term of cost-effectiveness (too bad i already bought the parts).
Bye, see you with pleasure
I'm trying to do the spanish translation of the clock, what IDE and compiler are you using for the C code? I'm using MPLAB with HI_TECH C Compiler lite but I have errors when I try to bulit hex file.
Thanks
Jorge Saiz
What errors are you getting?
150.1 undefined identifier "OPTION"
and if I comment this line and try to rebuild appear this errors:
Error [800] wordclock_esp.as; 45. undefined symbol "UNPROTECT"
Error [800] wordclock_esp.as; 45. undefined symbol "DUNPROT"
Error [800] wordclock_esp.as; 45. undefined symbol "WRTEN"
Error [800] wordclock_esp.as; 45. undefined symbol "LVPDIS"
Error [800] wordclock_esp.as; 45. undefined symbol "BORDIS"
Error [800] wordclock_esp.as; 45. undefined symbol "PWRTDIS"
Error [800] wordclock_esp.as; 45. undefined symbol "WDTDIS"
Error [800] wordclock_esp.as; 45. undefined symbol "XT"
Thanks!!
Microchip (in their wisdom) have fiddled with the definitions used in their headers, and things broke.
Send me your email (to doug@doughq.com) and I will send you a current source version that works with their current compiler
Doug
I send you a email.
Jorge
I'm trying to make the PIC version in spanish and have a question. In the list of component there is a 0.1uF capacitor (C3) but in the schema i don't find where you've placed it.
Maybe is with the 4Mhz crystal (X1)?
Thanks for all and sorry for my english.
c3 is a power supply decoupling capacitor, placed between the +5v rail, and Gnd.
It I will have a look at the schematic to see where I stuffed up :-)
Secondly, Would it be possible to make this with minutes as words but in a separate orientation? I am thinking of taking rows 5-9 and duplicating them in addition to your design.
Visually:
yours is...
ITRISUHALFTEN
QUARTERTWENTY
FIVEQMINUTEST
PASTMEGANTONE
ONETWOZTHREE
FOURFIVESEVEN
SIXEIGHTYNINE
TENELEVENDOUG
TWELVEO'CLOCK
mine would be...
ITRISUHALFTEN
QUARTERTWENTY
FIVEQMINUTEST
PASTMEGANTONE
ONETWOZTHREE
FOURFIVESEVEN
SIXEIGHTYNINE
TENELEVENDOUG
TWELVELO'CLOCK
PLUSMONETHREE
TWOFOURASEVEN
FIVESIXEIGHTY
NINETENELEVEN
A perfect 13 x 13?
you could use "NINEDAYVNIGHT" or something like that...
Oh - and Megan, she is my very patient wife, the one who I made theprototype clock for.
Can I do it with just 20 I/O pins??
What do I need to change in the code??
thanks for answering,
emihackr97.
The code is not Visual Basic.
If I couldn't complete mine, I am coming over to snatch yours!!
Coz I Love it!! Brilliant Idea!!
:D
Thanks for the comment - it made me giggle.
If it is helpful, I can provide complete kits or bits so you can get a clock working - check out www.dougswordclock.com
Take care mate,
Doug
would you please send me pdf fil of this.
thankes.
Alternately, full construction manuals are at www.dougswordclock.com
Doug
I have modified the project so that if people want, there can be minute LEDs around the edge, so 13:21 would be shown as "IT IS TWENTY MINUTES PAST ONE", and one of the Minute LEDS would be on. 13:24 would also be shown as "IT IS TWENTY MINUTES PAST ONE", and four of the Minute LEDS would be illuminated.