Chapter 7.1 - Drive until a black line

Write the following program to have the Edison robot drive on a white surface (reflective) until a black line (non-reflective) is crossed.


To use the linetracking sensor in a program you must first turn the sensor on. This also activates the red LED.

Use the black line on Activity sheet 8.1 or draw a black line on a piece of white paper. You can also use black electrical tape on a white desk. Drive the robot towards the black line and he will stop.

On Activity sheet 8.1 there are also three coloured lines. These are red, blue and green. Drive Edison towards each of the lines and see if he stops.