Programs
Filters:
Python program to accomplish FLL 2020 Step Counter, with LEGO Education SPIKE Prime
This Python program is for controlling Gazon, LEGO Education SPIKE Prime competition robot to accomplish FIRST LEGO League (FLL) 2020 RePLAY Challenge mission 02 - Step counter. Check out the lessons where this program is use for specific demonstrations and explanations on how the program works.
- #56nfji
- 07 Jul 2021
Python program to accomplish FLL 2020 RePLAY Weight Machine, with LEGO Education SPIKE Prime
This Python program is for controlling Gazon, LEGO Education SPIKE Prime competition robot to accomplish FIRST LEGO League (FLL) 2020 RePLAY Challenge mission 13 - Weight Machine using Attachment for FLL 2020 RePLAY Weight Machine mission
.- #y68kz1
- 06 Jul 2021
Scratch (Word Blocks) program to accomplish FLL 2020 RePLAY Weight Machine, with LEGO Education SPIKE Prime
This Scratch (Word Blocks) program is for controlling Gazon, LEGO Education SPIKE Prime competition robot to accomplish FIRST LEGO League (FLL) 2020 RePLAY Challenge mission 13 - Weight Machine using Attachment for FLL 2020 RePLAY Weight Machine mission
.- #lqb4ni
- 05 Jul 2021
Scratch (Word Blocks) program to accomplish FLL 2020 RePLAY Cell Phone, with LEGO Education SPIKE Prime
This Scratch (Word Blocks) program is for controlling Gazon, LEGO Education SPIKE Prime competition robot to accomplish FIRST LEGO League (FLL) 2020 RePLAY Challenge mission 10 - Cell phone. Check out the lessons where this program is use for specific demonstrations and explanations on how the program works.
- #oxm5l9
- 04 Jul 2021
Python program to accomplish FLL 2020 Pull-Up bar, with LEGO Education SPIKE Prime
This Python program is for controlling Gazon, LEGO Education SPIKE Prime competition robot to accomplish FIRST LEGO League (FLL) 2020 RePLAY Challenge mission 06 - Pull-Up Bar using Attachment for FLL 2020 Pull-Up bar mission
.- #zcmnfb
- 03 Jul 2021
Scratch (Word Blocks) program to accomplish FLL 2020 Pull-Up bar, with LEGO Education SPIKE Prime
This Scratch (Word Blocks) program is for controlling Gazon, LEGO Education SPIKE Prime competition robot to accomplish FIRST LEGO League (FLL) 2020 RePLAY Challenge mission 06 - Pull-Up Bar using Attachment for FLL 2020 Pull-Up bar mission
- #acmjhd
- 02 Jul 2021
Scratch (Word Blocks) program to accomplish FLL 2020 RePLAY Treadmill, with LEGO Education SPIKE Prime
This Scratch (Word Blocks) program is for controlling Gazon, LEGO Education SPIKE Prime competition robot to accomplish FIRST LEGO League (FLL) 2020 RePLAY Challenge mission 11 - Treadmill. Check out the lessons where this program is use for specific demonstrations and explanations on how the program works.
- #te7nh3
- 01 Jul 2021
Python program to accomplish FLL 2020 RePLAY Rowing Machine, with LEGO Education SPIKE Prime
This Python program is for controlling Gazon, LEGO Education SPIKE Prime competition robot to accomplish FIRST LEGO League (FLL) 2020 RePLAY Challenge mission 12 - Row Machine using Attachment for FLL 2020 RePLAY Rowing Machine mission
.- #8cdu7o
- 30 Jun 2021
Scratch (Word Blocks) program to accomplish FLL 2020 RePLAY Rowing Machine, with LEGO Education SPIKE Prime
This Scratch (Word Blocks) program is for controlling Gazon, LEGO Education SPIKE Prime competition robot to accomplish FIRST LEGO League (FLL) 2020 RePLAY Challenge mission 12 - Row Machine using Attachment for FLL 2020 RePLAY Rowing Machine mission
.- #6kcpha
- 29 Jun 2021
Scratch (Word Blocks) program to accomplish FLL 2020 Bench, with LEGO Education SPIKE Prime
This Scratch (Word Blocks) program is for controlling Gazon, LEGO Education SPIKE Prime competition robot to accomplish FIRST LEGO League (FLL) 2020 RePLAY Challenge mission 05 - Bench. Check out the lessons where this program is use for specific demonstrations and explanations on how the program works.
- #8fb16u
- 28 Jun 2021
Python program to accomplish FLL 2020 Tire Flip, with LEGO Education SPIKE Prime
This Python program is for controlling Gazon, LEGO Education SPIKE Prime competition robot to accomplish FIRST LEGO League (FLL) 2020 RePLAY Challenge mission 09 - Tire Flip using Attachment for FLL 2020 Tire Flip mission
.- #y0zbsj
- 27 Jun 2021
Scratch (Word Blocks) program to accomplish FLL 2020 Basketball, with LEGO Education SPIKE Prime
This Scratch (Word Blocks) program is for controlling Gazon, LEGO Education SPIKE Prime competition robot to accomplish FIRST LEGO League (FLL) 2020 RePLAY Challenge mission 05 - Backetball. Check out the lessons where this program is use for specific demonstrations and explanations on how the program works.
- #mgqhwl
- 25 Jun 2021
Scratch (Word Blocks) program to accomplish FLL 2020 Step Counter, with LEGO Education SPIKE Prime
This Scratch (Word Blocks) program is for controlling Gazon, LEGO Education SPIKE Prime competition robot to accomplish FIRST LEGO League (FLL) 2020 RePLAY Challenge mission 02 - Step Counter. Check out the lessons where this program is use for specific demonstrations and explanations on how the program works.
- #ck7yr3
- 24 Jun 2021
Scratch (Word Blocks) program to accomplish FLL 2020 Tire Flip, with LEGO Education SPIKE Prime
This Scratch (Word Blocks) program is for controlling Gazon, LEGO Education SPIKE Prime competition robot to accomplish FIRST LEGO League (FLL) 2020 RePLAY Challenge mission 09 - Tire Flip. Check out the lessons where this program is use for specific demonstrations and explanations on how the program works.
- #u7p6qw
- 22 Jun 2021
Scratch (Word Block) program for an active attachment form LEGO Education SPIKE Prime, accomplishing Power Switch mission
This program is developed with LEGO Education SPIKE App Word Blocks and is used to accomplish a mission model with the Luly, small LEGO Education SPIKE Prime competition robot with 3D building instructions.
- #8edh7a
- 17 Mar 2021
Python program to align to a line with color sensors from LEGO Education SPIKE Prime
This program is developed with LEGO Education SPIKE App Python and is used to make the Luly, small LEGO Education SPIKE Prime competition robot with 3D building instructions align to a line with two color sensor. It's a mechanism we've used with EV3, NXT and now SPIKE.
from spike import PrimeHub, LightMatrix, Button, StatusLight, ForceSensor, MotionSensor, Speaker, ColorSensor, App, DistanceSensor, Motor, MotorPair from spike.control import wait_for_seconds, wait_until, Timer from math import * hub = PrimeHub() color_sensor_E = ColorSensor('E') color_sensor_F = ColorSensor('F') motor_A = Motor('A') # Set the motor port to the motor. motor_B = Motor('B') # Set the motor port to the motor. motor_A.set_default_speed(-30) # Set the default speed of the motor. motor_B.set_default_speed(30) # Set the default speed of the motor. motor_A.set_stop_action('brake') # Activate the brakes when the motor stops. The other conditions are 'hold' and 'coast'. motor_B.set_stop_action('brake') # Activate the brakes when the motor stops. motor_A_flag = 0 # Create a flag for motor A and set it to OFF. motor_B_flag = 0 # Create a flag for motor B and set it to OFF. def stop_at(colour): motor_A_flag = 0 # Reset the flag for motor A to OFF. motor_B_flag = 0 # Reset the flag for motor B to OFF. # Move forward. motor_A.start() motor_B.start() while (motor_A_flag == 0) or (motor_B_flag == 0): # Repeat while both sensors ever detect black color. if color_sensor_E.get_color() == colour: # If the color sensor on port E detect the desired color motor_A.stop() # stop the motor an port A and motor_A_flag = 1 # set the flag for motor A to ON. if color_sensor_F.get_color() == colour: # If the color sensor on port F detect the desired color motor_B.stop() # stop the motor an port B and motor_B_flag = 1 # set the flag for motor B to ON. stop_at('black') stop_at('white') raise SystemExit # Close the program.
- #p2ghxe
- 17 Mar 2021
Scratch (Word Blocks) program to align to a line with color sensors from LEGO Education SPIKE Prime
This program is developed with LEGO Education SPIKE App Word Blocks and is used to make the Luly, small LEGO Education SPIKE Prime competition robot with 3D building instructions align to a line with two color sensor. It's a mechanism we've used with EV3, NXT and now SPIKE.
- #zc7n23
- 17 Mar 2021
Python program for an active attachment form LEGO Education SPIKE Prime, accomplishing Power Switch mission
This program is developed with LEGO Education SPIKE App Python and is used to accomplish the Power Switch mission model with Luly, small LEGO Education SPIKE Prime competition robot with 3D building instructions.
- #f9dgvi
- 17 Mar 2021