Scratch (Word Blocks) program for a multiple states algorith for line follow with Color Sensor from LEGO Education SPIKE Prime

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. since we are measuring reflected light rather than the color of the line, we can and have implemented multiple states line following.

This program was intended for and tested on the Gazon robot

Download
  • #nkyhzr
  • 10 Aug 2022

Courses and lessons with this Program

This Program is used in the following courses and lessons

Image for LEGO Education SPIKE Prime Programming for competition with Word Blocks
  • 40
  • 188:21
  • 19
Image for Color Sensor - Follow a line with a multiple states algorithm
  • 2
  • 0
  • 1
  • 3d_rotation 1