Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

TheMagicWandClock:aPersistenceofVisionToy!

Start your rst Virtual Machine


for free. TRY IT FREE

Let'sMake...
Featured
WriteanInstructable
Classes
Contests
Forums
Answers
Teachers
Halloween

The Magic Wand Clock: a


Persistence of Vision Toy !
by5VoltinclocksDownload2Steps
Share
FavoriteIMadeit!Collection
Intro12
Introduction: The Magic Wand Clock: a Persistence of Vision Toy !

Hold this magic wand in your hand, swing it and push the button : a complete digital clock will appear oating midair. Amaze your
kids and friends !

Themagicwandclockinaction.MOVDownload
100_3108.MOVDownload
magicwandclock.zipDownload
Step 1: Description

T o o l s
This is a persistance of vision project of the kind we have seen lately in large quantities. POVs are fun to watch anyways. This one
comes in the shape of a tooth brush case (courtesy of Swissair, now gone) one must hold as a magic mand. At the top of the case 7
LEDs provide the display, at the middle two small button set the time and a larger one triggers the display: push the button (this
turns the display on otherwise the display is normally o) and swing the wand right to left and the time of day will oat midair !
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.
Dicult 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 le 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

Step 2: Building the Circuit

Cut a piece of perfboard in a shape suitable for the top of your toothbrush case.
Solder at the top the seven LEDs, shorter pin is Cathode, the one that goes to ground. Better mark a black spot on the side of the
LED's case before you cut the wires to correct lenght.
Solder one pin per LED rst, align them in a row, solder the other pin of each LED.
Solder the socket in place, pay attention to position of pin no.1 (the one with the dot). Do not mount the micro on the socket for
now.
Solder the crystal and the seven resistors.
Start wiring with very thin enameled copper wire.
One resistor and capacitors can be soldered on the solder side.
Connect battery holder un pushbuttons with thin plastic insulated wire.
The battery holder can be made out of thin cardboard: cut a square of cardboard the size to make one round around the two
batteries. Hold with some scotch tape. Wrap another sheet of cardboard and hold again with scotch tape. Remove batteries and
inner cardboard. The removed sheet of cardboard served to give batteries some room and slip easily inside the tube. The two
electrical contacts can be taken from a broken toy or another electrical piece of equipment.

Buon divertimento ! Have fun !

Comments
SurajGrewal(author)Reply20140709
Nice project,will try it for sure.

SurajGrewal(author)SurajGrewalReply20140709
and yes,I read the licence terms.

OGStyle(author)Reply20070112
5Volt I am tring to make your clock. (Good job on the info it is all there) I have a few question. On the schematic it says "82 or 100 W
(x7)" does that me 82-100 ohm resistors? My 2nd question is will this work on a 16f84a? And can you give me the numbers o of
the caps that you used for pin 15 & 16. I have assembled it with caps marked 82 on them and a 16f84a. When I push the buttion all
I get is a quick light ash on and then o and stay o. I think it my be my caps I am using. I don't have any 820's. Thanks again good
job

5Volt(author)OGStyleReply20070113
Ooops! apparently the font I chose replaces the Omega with a W... Yes it's Ohm. It should work ne on a PIC16F84a as well.
Capacitors are ceramic, 16V or more Yahoo! The ash you see means the clock is working ne ! Just press the button while swinging
the wand right to left. Try not to follow the wand with your eyes. You 'll see the time oating ! Don't get discouraged ! Just try to
keep your eyes from following the wand look just in front of you, start moving the wand right to left, click. Watch the video to better

You might also like