LEGO Education SPIKE Prime
FLL 2021: Genty Push - 10 out of 10 on how to accomplish the Accident Avoidance mission
This is a 10 out of 10 tutorial for pushing gently on a mission model. We also discuss how to build robots that tolerate error and auto-correct their behavior.
- #2071
- 03 Jan 2023
FLL 2022: Drop, Pull, Lever, Collect, Deliver - 5 missions with Kriket box robot accomplishing M14, M05, M06, M04, M09
This tutorial demonstrates how we accomplish 5 missions in a row with a single robot and three attachments. This is a true multiple missions run for the FIRST LEGO League 2022-2023 SUPER POWERED. We Drop parts, we pull from the Smart grid, we push a lever, we collect a few energy units and we deliver the dinosaur toy.
- #2226
- 04 Jan 2024
Преминаване през известен тунел
Една от обичайните задачи по роботика е преминаване през лабиринт.
Тук ще ви запознаем с подготвителна задача за лабиринта - преминаване през тунел с известен ред на завоите.
- #627
- 20 Aug 2017
Как да използваме блокчето за позиция на мотора в LEGO SPIKE Prime Word Blocks софтуер
Знаете ли, че можете да използвате моторите като сензори? Ето как!
- #2494
- 16 Sep 2025
Мален - LEGO SPIKE Prime робот за развален телефон
Мален произлиза от Малентенду, което на френски означава недоразумение.
Роботът има цветно колело с 4 цвята отзад и сензор за цвят отпред. Когато покажете цвят на цветния сензор, робота може да го покаже обратно. Можете да свържете няколко такива робота, за да направите развален телефон!
- #4244
- 23 Feb 2026
Teacher's Notes
Solutions to today’s tasks:
Program the robot to lift its arm by 90 degrees in 1 second.
from hub import port import runloop import motor, time async def main(): # write your code here # Start motor motor.run(port.D, 90) # Wait for 2 seconds time.sleep_ms(1000) # Stop motor motor.stop(port.D) runloop.run(main())
Program the robot to lift its arm by 90 degrees in 2 seconds.
from hub import port import runloop import motor, time async def main(): # write your code here # Start motor motor.run(port.D, 45) # Wait for 2 seconds time.sleep_ms(2000) # Stop motor motor.stop(port.D) runloop.run(main())
Program your robot to hand you its cup using the "run_for_time()" command.
from hub import port import runloop import motor async def main(): # write your code here await motor.run_for_time(port.D, 2000, 45) runloop.run(main())
from hub import port import time import runloop import motor async def main(): # write your code here motor.run(port.A, 1000) motor.run(port.B, -1000) time.sleep_ms(2000) motor.stop(port.A) motor.stop(port.B) await motor.run_for_time(port.D, 1000, 90) runloop.run(main())
- #2585
- 06 Feb 2026