- Place the breadboard and speaker on the foam. Then slip the on/off
switch, microphone, and IR detector through the holes you cut, as
shown in Figure 9-27.
Figure 9-28 shows the IR detector protruding from the side of the
pumpkin. - Tuck the wires off to the side; refer to Figure 9-27.
You can secure the on/off switch with the nut supplied and use either a
press fit or a bit of glue to hold the microphone and IR detector in place. - Slip the record switch through the hole you cut for it and secure it
with the supplied nut; refer to Figure 9-27.
The direction of the threads on the body of the switch determines which
way you insert it. The one we used had threads positioned such that the
nut would be attached from inside the pumpkin, as shown from the out-
side in Figure 9-29. - Insert the wires from the record switch to the remaining terminal
block on the breadboard. - Make sure that the on/off switch is in the off position and attach the
battery snap connector to a filled battery pack. - Place the battery pack in the pumpkin.
Your pumpkins are all ready to scare the pants off of your Halloween vis-
itors. The completed talking pumpkin is shown in Figure 9-30.
Figure 9-23:
Wires
soldered to
speaker and
on/off
switch.
Chapter 9: Scary Pumpkins 209