Page 143 - The Definitive Guide to Building Java Robots
P. 143
Preston_5564C04.fm Page 124 Wednesday, October 5, 2005 7:22 AM
124 CHAPTER 4 ■ SENSORS
Figure 4-11. The Lynxmotion Bumper Switch Assembly Kit
The second type is a single line detector, shown in Figure 4-12. You can use this sensor to
read white or black. It also has an adjustable potentiometer that lets you determine its sensitivity.
Figure 4-12. The Lynxmotion Single Line Detector
The third is the Sharp IR GP2D15 proximity sensor (see Figure 4-13). This is a great sensor,
and can detect whether something exists at a specified distance from your robot. You can adjust
this sensor to measure from 4 inches to about 24 inches to get an on-off reading.