Page 350 - Amphibionics : Build Your Own Biologically Inspired Robot
P. 350
Amphibionics 07 3/24/03 9:13 AM Page 329
Chapter 7 / Turtletron: Build Your Own Robotic Turtle
FIGURE 7.30
Schematic to interface
the H22B1 interrupter
switch to PIC 16F84.
ing nut. Mount the interrupter to the upper left side of the board
and secure it in place with hot glue. Because the circuit is so sim-
ple, use point to point wiring to solder all of the parts together.
Mount the LED with the leads bent on a 90-degree angle so that it
is pointing upwards. The LED will indicate when the infrared light
beam has been interrupted by the opaque parts of the disk. Cut a
piece of 3-strand ribbon wire to a length of 7 inches. Solder the
end of one wire to the 5-volt connection point, another wire to ter-
minal 3 of the H22B1, and the last wire to the common ground
point. The finished interface board is shown in Figure 7.32.
FIGURE 7.31
Encoder board
mounting bracket.
329