Remove these ads by
Signing UpStep 1Description
How is this accomplished ?
The display is virtual, being made of 25 columns of 7 LEDs each. Only one column is shown at a time. The single column of LEDs shows one after the other the columns forming the digits of minutes and hours, right to left : pushing the trigger button starts the display of minutes, tens of minute, separating colons, hours and tens of hours, one column at a time rightmost column to leftmost column. Your eye's retinas will retain the image of each column one close to the other and the image of the clock will appear. Difficult to explain, much easier and fun to try.
The circuit is based on a PIC16F84 micro, a 32768 Hz crystal watch salvaged from a dead watch 8 resistors, two capacitors and two AA or AAA batteries.
The circuit consumes very little power due to the low voltage supply and the low frequency crystal.
Synchronizing button push and wand swing may take time to learn, but not much.
The time is set with trials and errors: read the time, push minutes set button to meke them advance one minute per second, read time again. The same to set hours.
Below the schematic, the source code commented so as to make it understandable as much as possible and the HEX file ready to burn into the PIC.
I'd rather not delve into how to program the micro. There are many tecniques and sofware described over the net. This would probably deserve a whole instructable of itself. I successfully used PonyProg as programming software and its HW interfaces. Also found excellent WinPIC.
Make sure to check the video attached at the bottom. The quality is not good being taken with a photographic camera. The clicking noise is the 'wand!' button being clicked while swinging. The voices in the background are my family's.
Now on with step two: construction
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 License
| « Previous Step | Download PDFView All Steps | Next Step » |









































The device id PIC16F84 should be input in some menu of your programmer. Very likely you are presented with a pull-down menu to choose from. The HEX file should not contain the device id.
The fuses are included in the HEX file which your programmer should understand well.
Anyways, in some menu of your programmer there should be some device configuration where you can set the fuses (make sure that watchdog timer is off and crystal is set to XT).
Hope this helps.
P.S. Please post any comments/follow-ups here: I'm notified of them by Emails anyways.
Ciao
Nice kid, congratulations!
btw, is the program really designed to show the time only for a few seconds? how can we make it retain the time?
Best
A.
Just press the button and wave the wand.
Best
A.
32768 Hz crystal are very easy to find in crystal watches as small metallic cilinders : don't be afraid of damaging it these are pretty strong. The crystal you'll find will probably be un-marked but great chances are that it is 32768Hz.
Best regards
ciao
A.
I don't have MPLAB installed now, so i can't make the 4MHz HEX file. You can do it with your programmer though settting/resetting the config bits of the micro..
Best for now, hope this solves.
A.L.
http://www.talkingelectronics.com and click on Ekektor link. I used an inertia switch made from a metal ferrule and a length of tinned copper wire. It gave very accurate results and the words appeared in exactly the same position in the air, every time the project was "swished."
Ciao
http://home.comcast.net/~botronics/pickey.html
It's a simple and cheap pic programmer
Yes, apparently the file got corrupted. I'm reposting it tonight. In the meantime you may want to download it from flickr.com.
Ciao
5Volt.