Robotics with the Boe-Bot text v2.2

Page 256 · Robotics with the Boe-Bot
Build a course similar to the electrical tape delimited course shown in Figure 7-
9. Use at least three strips of electrical tape, edge to edge with no paper visible
between the strips.
Replace your 1 k resistors with 2 k resistors (red-black-red) to connect P2 to
its IR LED and P8 to its IR LED. We want the Boe-Bot to be nearsighted for
this activity.
Reconnect power to your board.
Run the program IrInterferenceSniffer.bs2 (page 246) to make sure that nearby
fluorescent lighting will not interfere with your Boe-Bot’s IR detectors.
Use the TestIrPairsAndIndicators.bs2 (page 244) to make sure that the Boe-Bot
detects the poster board but does not detect the electrical tape.
If the Boe-Bot still "sees" the electrical tape too clearly, here are a few remedies:
Try adjusting the IR detectors and LEDs downward at various angles.
Try a different brand of vinyl electrical tape.
Try replacing the 2 k resistors with 4.7 k (yellow-violet-red) resistors to make the
Boe-Bot more nearsighted.
Adjust the FREQOUT command with different Freq1 arguments. Here are some
arguments that will make the Boe-Bot more nearsighted: 38250, 39500, 40500
If you are using older IR LEDs, the Boe-Bot might actually be having problems with being
too nearsighted. Here are some remedies that will increase the Boe-Bot's sensitivity to
objects and make it more far sighted:
Try 1 k (brown-black-red) or 470 (yellow-violet-brown) or even 220 (red-red-
brown) resistors in series with the IR LEDs instead of 2 k.