■ FIGURE 6.
and put in side one of the ends of the aluminum tube.
Avoid getting glue on the dome of the LED. Slide the
wires down the wand and push the tube inside the wand.
Fix with hot glue if loose. The wires should extend out of
the battery compartment end of the wand. This tube will
narrow the beam even further and prevent light from
being absorbed by the wood. Refer to Figure 4.
You are now going to solder the wires from the IR
diode to the board. Cut the wires to a length that you can
still solder. Solder the red to the square pad and the white
to the round pad. Use the 2-56 screws, add the standoffs,
and screw to the board on the component side. Affix the
standoffs to the board using hot glue. Once set, remove
the screws. Slide the board into the wand, allow the
switch to enter its hole, and attach using two each of the
2-56 machine screws.
Take the battery holder and tack the red wire to the
bottom side of the battery holder using a glue gun. Cut
both the black and red wires of the battery holder to
about 1/2” from the end of the battery holder. Add a
short piece of shrink tubing to each wire coming from the
board. Wire-wrap the red wire with the red wire coming
from the board and the white wire to the black battery
holder wire. Solder each wire and insulate each wire with
the shrink tubing. Slide the battery holder into the wand.
Friction will hold it in (Figure 5).
Tap the mounting holes with a 2-56 tap. Solder the
PIC12F508 pins; pin one to the square pad. Bend the
leads of the IR detector down at a right angle with the
lens pointing up from the plastic. Solder the IR detector to
the board. Solder the 150 ohm resistor and the on/off
switch to the board. (See Figure 6.)
Cut two pieces each of 8” red and white wire-wrap
wire; solder the red wires to the + or square pads, and the
white wires to the round pads on both ends of the board.
Glue the spacers to the board.
Feed the two wires next to the photo detector down
the 1/4” hole. Slide the board into the 5/8” hole and
secure it using two each of the 2-56 machine screws.
Prepare the battery holder as above and solder the
■ FIGURE 5.
wires from the board to the battery holder wires. Use the
shrink tubing to prevent shorts. Slide the battery holder
into the candle. Cut the red and white wire to about one
inch from the tip of the candle. Wire-wrap the red to the
long lead of the yellow LED and the white to the short
lead. Push the excess wire down the candle. Affix the
yellow LED to the candle using a hot glue gun.
The circuitry is very straightforward. The micro is put
in an endless loop until the IR detector senses a signal. It
will then turn on and the LED will flicker. It is once again
put in an endless loop until it detects an IR signal. It will
turn off the LED and start over again.
Solder in the PIC12F508 noting pin 1 is the square
hole. Solder in the transistor noting the flat side (towards
the sound module) and the sound module noting the +.
■ FIGURE 7.
December 2010 45