Programs -
-Filters:

Scratch (Word Blocks) program for follow and align with Color Sensors from LEGO Education SPIKE Prime
In this program, we demonstrate how to follow a line with a SPIKE robot and then align to that line. That way the robot can position itself at specific distances on a predetermined path.
This program was intended for and tested on the Gazon robot
- #xr01bk
- 10 Aug 2022

Scratch (Word Blocks) program for simple (2 states) 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. 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 robot
- #30mt5i
- 10 Aug 2022

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
- #nkyhzr
- 10 Aug 2022

Scratch (Word Blocks) program with an a advanced algorithm for smooth 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. In this program, we use the sensor value to calculate a number to feed in the "start moving" command. The numbers in this program depend highly on the size of the wheels of the robot, the distance between the wheels, the color sensor reflected light range, the wheels friction, and the speed at which the robot moves. The numbers in the program must be adjusted for every case, and are in no meaning optimal to use as is, in other projects.
This program was intended for and tested on the Gazon robot
- #zlb4ke
- 10 Aug 2022

Scratch (Word Blocks) program for forward align with Color Sensors from LEGO Education SPIKE Prime
In this program we demonstrate how to program a SPIKE robot to align to а line with the aid of two color sensors. Make sure the line is big enough for the sensor to detect it. For this program to work, the sensors must be placed in front of the wheels.
This program was intended for and tested on the Gazon robot
- #uvj9mr
- 10 Aug 2022

Scratch (Word Blocks) program for backward align with Color Sensors from LEGO Education SPIKE Prime
In this program we demonstrate how to program a SPIKE robot to align to а line with the aid of two color sensors while moving backward. Make sure the line is big enough for the sensor to detect it. For this program to work, the sensors must be placed in front of the wheels.
This program was intended for and tested on the Gazon robot
- #oq6j5c
- 10 Aug 2022

Scratch (Word Blocks) program for follow a line and stop at an intersection with Color Sensors from LEGO Education SPIKE Prime
In this program we demonstrate how to program a SPIKE robot to follow a line with the aid of one color sensor and detect an intersection with another 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 robot
- #svy2oz
- 10 Aug 2022

Scratch (Word Blocks) program for follow a line and stop at a second intersection with Color Sensors from LEGO Education SPIKE Prime
In this program, we demonstrate how to program a SPIKE robot to follow a line with the aid of one color sensor and detect and stop at the second intersection with the aid of another 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 robot
- #5tjgvi
- 10 Aug 2022