
FLL 2021: Scratch (Word Blocks) program to solve the M06 Accident Avoidance mission
This program uses the Ultrasonic Sensor and the yaw angle detected by it. It aligns the robot to a border and gently pushes on a mission model.
- #g43kfy
- 03 Jan 2023
This program uses the Ultrasonic Sensor and the yaw angle detected by it. It aligns the robot to a border and gently pushes on a mission model.
This Scratch program is for accomplishing the M01 innovation project model mission. It programs the robot to move forward and deliver the mission model to the designated place
The robot moves and turns with this program to accomplish the M02 Unused Capacity mission where we have to Deliver/Push a mission model
This program was intended for and tested on the Gazon, LEGO Education SPIKE Prime competition robot with the Cargo Connect M03 Unload Cargo Plane attachment. It is meant to help the robot complete the 3rd mission of the FLL Cargo Connect competition.
This program was intended for and tested on the Gazon, LEGO Education SPIKE Prime competition robot with the Cargo Connect M05 Switch Engine attachment. It is meant to help the robot complete the 5th mission of the FLL Cargo Connect competition.
The program uses the motion sensor and controls the motors of the robot.
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
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
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
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
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
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
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
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
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
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
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
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
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