Programs -
Filters:
Scratch (Word Blocks) program for acceleration and deceleration with LEGO Education SPIKE Prime
In this program we demonstrate the difference between moving the robot without acceleration and with acceleration. After starting the program, you can press the right button to see the robot move without acceleration, or you can press the left button to see the robot move with acceleration and deceleration. The program runs indefinitely, so you can keep testing the robot, without restarting the program. Make sure the robot has stopped moving before you press any button.
This program was intended for and tested on the Gazon robot
- #5yq28s
- 10 Aug 2022
Scratch (Word Blocks) program to move slow and fast to a near mission model with SPIKE Prime and without sensors
In this program we demonstrate the difference between moving the robot fast and slow. After starting the program, you can press the right button to see the robot move fast, or you can press the left button to see the robot move slow. The program runs indefinitely, so you can keep testing the robot, without restarting the program. Make sure the robot has stopped moving before you press any button.
This program was intended for and tested on the Gazon robot
- #bis9v0
- 10 Aug 2022
Scratch (Word Blocks) program to accurately turn with LEGO Education SPIKE Prime
In this program we demonstrate how to use the built-in motion sensor of the SPIKE brick to program the robot to turn 90 degrees. Due to the chance of overshooting the targeted angle, the robot is programmed to stop turning if it reaches or goes above 90 degrees. Since the robot, this program was made for, is a little tilted, the angle it is programmed to turn to is changed a little to compensate for the tilt.
This program was intended for and tested on the Gazon robot
- #jnb4f3
- 10 Aug 2022
Scratch (Word Blocks) program to accurately move forward with LEGO Education SPIKE Prime
In this program we demonstrate how to use the built-in motion sensor of the SPIKE brick to program the robot to move forward. We implemented a type of duck walking forward movement. To get a more smooth movement, you can try lowering the turn angles from 95.
This program was intended for and tested on the Gazon robot
- #2wnhe6
- 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 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 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 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 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 to turn fast and use Motion Sensor from LEGO Education SPIKE Prime
In this program we demonstrate how to program a SPIKE robot to execute a faster and more accurate turn. You can press the right button to see how the robot executes a 90-degree turn with the aid of acceleration, to improve accuracy. After that, you can press the left button to see the robot turn fast with to acceleration, overshoot the target angle, and then return slowly back to it. That way, the robot reaches the target angle faster and more accurately. This method is useful for larger turns when time is limited. For smaller turns, it may cause the opposite effect. Since the robot, this program was made for, is a little tilted, the angle it is programmed to turn to is changed a little to compensate for the tilt.
This program was intended for and tested on the Gazon robot
- #od5cs7
- 10 Aug 2022
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 to accurately reach a mission model with basic use of Motion Sensor from LEGO Education SPIKE Prime
In this program, we present an "MY BLOCK" that follows a line presented as a yaw angle from the robot's starting position. If the program acts differently when tested again, then the most likely problem is the direction the robot is facing, when starting the program. Make sure to place the robot at the correct starting position with the correct facing direction, before every test.
This program was intended for and tested on the Gazon robot
- #tv5x68
- 10 Aug 2022
Scratch (Word Blocks) program to improve accuracy of movement of SPIKE Prime
In this program we demonstrate how to program a SPIKE robot to use acceleration to improve movement accuracy.
This program was intended for and tested on the Gazon robot
- #adef4s
- 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
Scratch (Word Blocks) program to precisely turn with acceleration and Motion Sensor from LEGO Education SPIKE Prime
In the SPIKE software, the acceleration block works only with predetermined rotations of the wheels. That limits us from using acceleration with the motion sensor, so in this program, we present an "MY BLOCK" that can simulate the acceleration block, but with the use of the motion sensor.
This program was intended for and tested on the Gazon robot
- #k8zc3m
- 10 Aug 2022