Chapter 8: Robot Control with Distance Detection · Page 287
Materials Required
(1) Sheet of poster board – Approximate dimensions: 22 X 28 in (56 X 71 cm)
(1) Roll of Black Vinyl Electrical Tape – ¾” (19 mm) wide.
√ Use your poster board and electrical tape to build the course shown in Figure 8-
7.
Testing the Stripe
√ Point your IR pairs downward and outward as shown in Figure 8-8 (Figure 7-8
from page 255 repeated here for convenience).
Vdd VssVin
Board of Education
© 2000-2003
Rev C
X4 X5
+
Figure 8-8
IR Pairs Directed
Downwards to
Scan for the
Stripe
Top View Side View
√ Make sure your electrical tape course is free of fluorescent light interference.
See Sniffing for IR Interference (page 245).
√ Replace the 1 kΩ resistors in series with the IR LEDs with 2 kΩ resistors to
make the Boe-Bot more nearsighted.
√ Run DisplayBothDistances.bs2 from page 275. Keep your Boe-Bot connected to
its serial cable so that you can see the displayed distances.
√ Start by placing your Boe-Bot so that it is looking directly at the white
background of your poster board as shown in Figure 8-9.
√ Verify that your zone readings indicate that an object is detected in a very close
zone. Both sensors should give you a 1 or 0 reading.