Chapter 3: Sumobot Sensors And Border Detection; Line Sensor Theory - Parallax Boe-Bot Assembly

Mini-sumo robotics assembly documentation and programming
Hide thumbs Also See for Boe-Bot:
Table of Contents

Advertisement

Chapter 3: SumoBot Sensors and Border Detection · Page 23

Chapter 3: SumoBot Sensors and Border Detection

Once the SumoBot is moving, the next task is to scan the playing surface to make sure
that it doesn't drive itself out of the ring. The task is accomplished by two specialized
line detection sensors called QTIs. The QTI uses a reflective infrared sensor to allow the
SumoBot to "look" for the ring's border.

LINE SENSOR THEORY

The Parallax QTI uses a QRD1114 infrared (IR) reflective sensor to determine the
reflectivity of the surface below it. When the SumoBot is over the black playing field or
start lines (Shikiri), the reflectivity is very low; when the QTI is over the white border
(Tawara), the reflectivity is very high and will cause a different reading from the sensor.
Figure 3.1 shows the schematic for the Parallax QTI line sensor.
Figure 3.1: QTI Line Sensor Schematic
The QTI sensor is activated by placing 5V (Vdd) on the W pin. This will cause current to
flow through the 470 Ω resistor to the LED side of the QRD1114. IR light reflecting of
the surface below will cause a change in the ability for current to flow through the
phototransistor side of the QRD1114. The transistor, in effect, behaves like an IR
controlled resistance.
The BASIC Stamp has a specific command designed to read a variable resistance called
RCTIME . When coupled with a capacitor, the BASIC Stamp can measure a variable
resistance by timing the charge or discharge rate of the connected capacitor.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Boe-Bot and is the answer not in the manual?

This manual is also suitable for:

QuadcrawlerToddlerSumobotHexcrawler

Table of Contents