Professional Documents
Culture Documents
Reloj Flotante
Reloj Flotante
which will display a message in mid air when waved in front of you.
The wand is not very easy to see in daylight, but many people can see it.
I have constructed this with little components so it is very cheap.
The Hardware
The construction
The project is fairly simple, the only problem being that all of the circuit has
to cram into a relatively small box. Follow
the steps below, and the scroller will work.
Steps:
1) Get all of the components (see below)
2) Assemble the components on a PCB or Veroboard.
Use the circuit diagram to build it.
.... 2.1) Place the smallest pieces on the board first.
Do it in height order. i.e links first then resistors caps... Put the
programmed microchip in first.
.... 2.2) Program the microcontroller with the message.asm file.
.... 2.3) Place the programmed chip into the board.
The chip should be set to Watch Dog Timer off (WDT) and oscillator
mode RC.
You can download pictures of the Simple PIC programmer from my
web site (www.bazginge.demon.co.uk)
3) Drill all of the holes in the box.
The holes should be:
5x LED hole
1x button hole(optional)
1x off switch
4) Push the PCB into the box, with the LED's pushed into the holes drilled.
Attach the PCB to the bottom of the box
with either tape/velcro or PCB spacers depending on the height of the
LEDS from the bottom of box.
5) Put battery in box making sure that it is held in tightly.
6) Put the top onto the box. Turn on and wave around
The components
Resistors
R1 100K Metal film 0.5%
R2 12K
Capacitors
C1 100n Ceramic cap
C2 100n Ceramic cap
C3 100uF Electrolytic
C4 10pF Ceramic cap
Semiconductors
IC1 PIC16C84 04 (4Mhz)
IC2 LM7805 voltage regulator
Misc
5x Red LED
1x push to make switch
1x toggle/slide switch
Software
The software is very simple indeed. the are mainly four parts to my code.
1) The declarations
2) The message to be scrolled
3) The letter output routines
4) The wait routine