EdVenture 4 – Line Tracking

Meet the holy grail of enthusiast robotics; line tracking. Line tracking is a very popular robotics activity as it’s fun to watch the robot go around and around a track. See how many people ask you “Is that line magnetic?”
This barcode activates Edison’s line tracking program. The program uses Edison’s line tracking sensor and motors to follow the edge of a black line.



Reading the barcode

  1. Place Edison facing the barcode on the right side
  2. Press the record (round) button 3 times
  3. Edison will drive forward and scan the barcode
Barcode that makes Edison a Line tracking robot

Barcode – Line Tracking

What to do

The first thing you need is a line. You can print the small track on the next page, print the large A1 (84cm x 59cm) EdMat from meetedison.com/downloads or make your own using black electrical tape on a white table (the line must be 1.5cm/0.6in thick).
Place Edison to one side of your line, so that the line tracking sensor is on white. Now press the play (triangle) button and watch Edison follow the line.

Edison the Line following robot


Edison’s line tracking sensor shines light on the surface and then measures the amount of light that is reflected back. White reflects a lot of light, giving a high light reading and black reflects very little, giving a low light reading.
To track the line Edison is in a constant state of dissatisfaction. When he is off the line, he turns right to get on the line. But when he’s on the line, he turns left to get off the line. This results in him waddling on the edge of the line.

Share This