Instructables

Step 3: Program the Micro

The next step is to program the Microcontroller.

Just use whatever PIC programmer you use.

The Hex file is attached! Remember to use either the 50Hz or the 60Hz firmware depending on your region.

I have also added support to keep the clock running on battery backup when power is lost.

[Update] - I have updated the 50Hz and 60Hz firmware files - there was a simple coding error that affected the accuracy of the clock.
 
Remove these adsRemove these ads by Signing Up
friend
would you please send me pdf fil of this.
thankes.
drj113 (author)  adil.ali20103 years ago
More than happy to - what is your email address?

Alternately, full construction manuals are at www.dougswordclock.com

Doug
Dark_Fantom4 years ago
Hi there, I'm not the most tech inclined person in the world and was wondering what PIC 16F877i should be using...turns out theres quite a few of em and i can't tell em apart, thanks.

http://search.digikey.com/scripts/DkSearch/dksus.dll
Jekotia4 years ago
I am new to the programming side of circuitry. What could I use to program the U1 PIC 16F877? I have no idea how to tell if what would be a compatiable programmer.
cyberoidx4 years ago
Can I get the C code? I'd like to try this on an Atmega
petergrech4 years ago
I'm in the same boat regarding the file download.. may I ask that you fwd the code directly .. great look great project.. i am grechpeter@mac.com
Alick874 years ago
When I try to download the hex file it downloads as a .temp file, is this a problem on my part? Love the clock, going to try and make it for a university project in Ireland!
drj113 (author)  Alick874 years ago
that is interesting - try right clicking on the file and selecting save-as.
Alick87 drj1134 years ago
Tried that and tried downloading it at home rather than on my university network, still downloads as a .tmp file!
drj113 (author)  Alick874 years ago
send me your email address - and I will email you the code directly. I am doug70@doughq.com