85
Chapter 8: Line Tracking
Line following is a very important and fun activity. Many real world systems including robots performing
warehouse operations use line following activities. Speaking of warehouse operations, it may be
interesting to know that not too long ago, Amazon paid almost 1 billion dollars for Kiva System, a
company that makes robots for warehouse operations. These Kiva robots are strong and silent. They
replace the use of humans with forklifts. These robots use pretty much all techniques our students learn
and more: going in a straight line, turning, machine vision, line following, obstacle avoidance, dead
reckoning and bar code reading. For a day in the life of Kiva Robot, take a look at the following video:
http://www.youtube.com/watch?v=6KRjuuEVEZs
There are several competitions focusing on line following. You can use one, two, three or even more
sensors for line following. In this lesson, we will be using three light sensors.
Before we attempt to do line follow, the line sensors should be assembled and tested.
Line Tracking Sensor Assembly
1.
Connect five (5) 30cm female-male wires to the line sensor as follows, as shown in Figure 8.1:
a.
VCC – Red
b.
L – Yellow (sensor on the left)
c.
C – Green (sensor at the center)
d.
R – Blue (sensor on the right)
e.
GND – Black
Figure 8.1
Summary of Contents for Pi-Bot v2.00
Page 67: ...67 Figure 6 15 ...
Page 78: ...78 UltraSonicSensorTestwithLED Program ...
Page 80: ...80 ObstacleAvoidance Program ...
Page 82: ...82 ObstacleAvoidancewithLED Program ...
Page 83: ...83 ObstacleAvoidancewithLED Program CONTINUED ...
Page 90: ...90 Download and run the following program LineFollowing Program ...
Page 91: ...91 LineFollowing Program CONTINUED ...
Page 94: ...94 AdvancedLineFollowing Program CONTINUED ...
Page 95: ...95 AdvancedLineFollowing Program CONTINUED ...
Page 96: ...96 AdvancedLineFollowing Program CONTINUED ...
Page 110: ...Appendix B Complete Pi Bot Wiring Schematic ...