Instructables

Step 6: PCB layout, Overlay and Schematic files

To make construction simpler - here is a PDF of the PCB layout and component overlay.

[Update - 21Dec2009] I have updated the PCB file to allow construction of a 6 inch x 6 inch (150x150) display.  This allows construction on commonly available (in Australia) board stock - I have also repaired a layout fault that resulted in a misalignment with the headers and the pcb mounts.

You will need to scale the output to get the PCB to be the correct size!

The file uploader mucked around with the resolution of the schematic making it difficult to read - I have uploaded a PDF of it, so people can see a high resolution version.

I have been asked for the parts list. Here it is:

U1 PIC 16F877
U2 78L05

D1 1A Bridge
D2 1N914
D3 5V1 Zener
D4 1N914
D5 1N914
D6 1N914

D10-D126 5mm Blue LED

X1 4Mhz resonator

All resistors 1/4 watt
R1-R24 470R
R25 10R
R26 10R
R27 4K7
R28 4K7
R29 4K7
R30 4K7
R31 10R
R32 100K
R33 4K7
R34-R77 470R

C1 100uF/25V
C2 10uF/25V
C3 0.1uF

Q1-Q24 2N2222, BC547 etc

J1, J3 2 Way PCB terminal Block
J2 3 Way PCB terminal Block
J4 5 pin header (0.1)

PB1, PB2 Momentary Action Push Buttons (Time set)
B1 4.5v Battery Pack (3xAAA Cells)
XFRMR 1 7.5V AC / 400Ma Transformer

Display PCB
Controller PCB
Stencil PCB

4x 3mm screws
2x 10mm spacers
11 30mmx170mm PCB Strips (Light Baffles)
25 30mmx15mm PCB Strips (Light Baffles)
40 Pin IC Socket
Hot Melt Glue

I have also added the 'C' Source code as a download.

Several people have asked for the original source PCB layout file - I have attached it - It is *NOT* in eagle cad format - it is in express PCB format - A PCB drawing tool that is free of charge from express PCB. I hope it is useful to you.


 
Remove these adsRemove these ads by Signing Up
Emanuelg3 years ago
Hey. im 15 years old and i'm wanting to make this project at school. I live in New Zealand :) and i'm wondering how much the whole thing costs. I have a budget of $60 nz dollars. p.s useful nz electronic sites are jaycar nz. cheers :)
drj113 (author) 4 years ago
he he   buzzle.....  One day, I will actually look at what ends up on the screen and my spelling will improve....  One day - I am only 43 :-)    Puzzle.....
ritchie564 years ago
this is really cool and I like the stencil on the back design as well. How about this for another alternative - box each letter separately, that way you can have words running diagonally and even vertically. It would look like one of those circle the word puzzles. You could even have a crossword themed clock. the bluish-green glow made me first think it was EL - nice effect!
drj113 (author)  ritchie564 years ago
Thanks - I have been toying with making a crossword - but that takes a bucket load of space - your idea of a 'circle the word' buzzle sounds great though - I will have a play.

Doug
 :-)
ytumer4 years ago
 When you printed the WordClock-Stencil.pcb to a pdf file how did you manage to invert the colours? i.e. make the letter white and the background black.

cheers
drj113 (author)  ytumer4 years ago
I invert the colors (make black white and white black) by using the 'advanced' feature of the AGFA postscript drivers on Windows.

I don't have an AGFA printer - I just install the AGFA postscript driver, and under the advanced tab, I select 'Negative' and 'Print to file'.  That way, when I print using that printer, it automatically inverts the drawing colors for me, and saves the result into a postacript file on my hard disk.  Then, I open the Postscript file using 'Ghostscript', and export it to PDF.

The specific driver that I have loaded is for an AGFA Accuset-800SF.

Yes - it is a little fiddly, but it saves me from making a photographic negative for some of the other work I do.
akhilbhas4 years ago
Can you send me the hex file to my id or upload it in the site?
my id is akhilbhas@gmail.com
boozo4 years ago
hey i noticed that some of the led in the display psb is not connected like the r,u,n,e,z,l and the line from the j4 prog to the r27 is not complete plz help me .. and i read you have made a update to your new psb i couldn't find it anywhere .
drj113 (author)  boozo4 years ago
Send me an email - and I will send you the most recent PCB file if you want to make your own.  Alternately, I am able to supply pre etched and drilled PCBs for you.

My email address is doug@doughq.com - just remember to specify whether you are interested in the PIC version or the Arduino version

akhilbhas4 years ago
i cant download those files .............pls help

drj113 (author)  akhilbhas4 years ago
What files are you interested in - I know that with Instructables.com, you do need to rename the file after itis downloaded.

i'm new to this site ....thanks for your help............... now i need htc.h header file i cant find it any where

drj113 (author)  akhilbhas4 years ago
htc.h is included in the high tec C compiler for the PIC
theladyk84 years ago
So how much PCB stock should I order total? (To include the baffles and the base..)

Thank you! :)
bignin4 years ago
Thank you for the great post.  I would just like to know what the final dimensions are for the clock? (either english or metric works)

Thanks again.
drj113 (author)  bignin4 years ago
The clock is about 150mm x 150mm and is about 45mm deep

this is such a cool clock concept
i would love to have a watch like this
hello,

my LED's arrived and built them onto the display board. mainly it works, but some words like half or to,... do light a little bit. I tryed to replace the resistor for the LED's to 220ohm but it doesnt worked. I changed the transistors BC547C and then 2 words stopped lighting. But there are always some words that wont stop light. What shall i do? I searched for short cuits on the layout ,but its all right. 

What could that be? 

greetings
drj113 (author)  Patrick.Firganek4 years ago
The best way to debug the display - is to unplug the microcontroller, and using a jumper wire pushed into the ic socket, tie each display pin to the 5V supply.  That way, you can focus on a single set of leds, and get all of the hardware going without worrying about the micro.

I found that the batch of 500 very cheap blue LEDs I brought from EBAY had a few faults.  The fault appeared as the LEDS being shorted internally, so they wouldn't light.

Focus on one word (start with the IT IS pair), get that working by looking for shorts / opens on the board, faulty LEDS, transistors backwards, etc, and once you can turn it on and off with the jumper on the microcontroller socket, move on to the next word (Half), etc, etc

Let me know how you go.  There are a lot of words to check (24), but you can do it!
rayads7864 years ago
 Hi, i've downloaded express PCB and tried to print the PCB onto some acetate so i can make the PCB at home but i cant get it to print at the correct size!

any suggestions
drj113 (author)  rayads7864 years ago
In Australia, I use A4 paper, and I print it in Landscape mode.

I have also had success in printing to PDF, that way it guarantees the correct printout size, and gives me a file I can print later.
wham294 years ago
Doug, I'm having troubles opening up the rev 2 Schematic. Is there anyway you can make it a PDF file?
drj113 (author)  wham294 years ago
Hi,

The schematic on Page 5 is a PDF file - in my browser, I just have to click on it, and it opens in Adobe.  Some people have reported that files may download with .tmp file extensions - if that is happening with you , just rename the file to being a .pdf file.

Doug
wham29 drj1134 years ago
Doug you are the man.  I recieved the new schematics.  Thank you.  Now i'm almost complete, just wanting on some parts.
wham29 drj1134 years ago
I'm still having problems. could you maybe e mail me directly with a copy?  It's wjhammer29@hotmail.com.  I'd really appreciate it.
Thanks,
Wes
chile194 years ago
Doug, what program do you use to make the .pcb file? I use PCB Wizard and it can`t open it.
Thanks
rajf4 years ago
Love this project, exactly the type of clock I've always wanted. Its been years since I've done any electronics but if feel this is worth the experimentation.

Just ordered my PIC programmer and am doing some serious reading to understand what the hell to do with it!

Thank you for the detailed write up.
drj113 (author)  rajf4 years ago
That is realy great - Welcome to the wonderful world of being able to build your own microcontroller projects :-)
scorpio415 years ago
Nice work Doug ! This is going to be my first Instructables "make" Just one question :- On the schematic, you show a 4K7 going from the base of Q20 to I presume the positive rail, why does this transistor need the extra bias ? Regards Lee
drj113 (author)  scorpio415 years ago
Ahhh.... A 'really irritating design feature' of some PIC microcontrollers is that RA4 on the microcontroller is an open collector Output - so it has no drive to the positive rail. (It only pulls anoutput down, not up). This is probably to make interfacing to high voltage outputs easier.... To make RA4 a usefull output, you have to add a pull up resistor to the supply. If I had a dollar for every time I forgot that......... :-)
another question: did you use low current LED's oder normal LED's?
hello, can you upload the Layout File? I only have the .pdf file and this one is not useful for me. And another question: why don't you show the resonator on the schematic? please help P. Firganek
imcompa5 years ago
How hard would it be for a beginner with nothing more than a little experience soldering very small electronics be to go out buy all this stuff and do this project? I feel like the parts list and instructions are pretty bare, but that if I researched enough I could probably do this...
Dark_Fantom5 years ago
Ya, I'd also like to know how much it costs to do the project.
liddokun5 years ago
What was the total approx cost of this project?
steve00115 years ago
Seems difficult but very cool. Make me one!
lizard6265 years ago
Thanks for the .c file! Could you upload the wordclock.h file as well?
BOOJAN5 years ago
did i calculate right that i will need 116 leds????
drj113 (author)  BOOJAN5 years ago
About that - each led is mounted under the letter that it illuminates
dakl5 years ago
Nice work! Do you perhaps have eagle files that you would like to share? I'd like to miniatureize this with SMD LEDs, and starting with an eagle file would be great! Thanks