In this program we demonstrate how to program a SPIKE robot to follow a line with the aid of a color sensor. Make sure the line is big enough for the sensor to detect it and react to it. For some thinner lines, the speed of the robot can be lowered, but if that does not help, the program can be easily adapted to work with reflected light intensity.
This program was intended for and tested on the Gazon robotDownload
- 10 Aug 2022
- LEGO Education SPIKE Prime
- Scratch, Light and Color Sensor, Programming, Line follow, LEGO Education SPIKE App Word Blocks, FLL, Sensors