Everything you need to master MINDSTORMS Robot Inventor programming. From Python basics to advanced robotics.
Set #51515-1
949 pieces
Ages
Learn Python basics by displaying text on the LED matrix and playing sounds. Perfect introduction to programming.
from mindstorms import MSHub
hub = MSHub()
hub.light_matrix.write("HI")
Master motor control with Python. Learn run_for_degrees, run_at_speed, and synchronized motor pairs.
motor = Motor('A')
motor.run_for_degrees(360, 50)
Use color and distance sensors to make decisions. Read sensor values and control robot behavior dynamically.
color = sensor.get_color()
if color == 'red':
motors.stop()
Build a robot that follows a black line using PID control. Learn proportional steering and sensor calibration.
error = brightness - TARGET
steering = KP * error
Use the built-in gyroscope for precise turning and straight-line driving. Perfect for competition robots.
yaw = hub.motion_sensor.get_yaw_angle()
Upgrade to Pybricks firmware for 2-3x performance boost, better PID control, and professional-grade APIs.
motor.run_target(200, 360, wait=True)
Build these amazing robots and learn advanced programming techniques
Skills: Line following, gyro steering, lap timing, speed optimization
Build a race car that navigates a track autonomously. Use color sensors for line detection and gyro for smooth cornering. Track lap times and optimize for speed.
Skills: Color detection, decision logic, automation, state machines
Create a factory-style sorter that detects LEGO brick colors and sorts them into bins. Uses conveyor belt and multi-sensor coordination.
Skills: Maze navigation, object detection, gripper control, autonomous decision making
Program a robot to navigate a maze, find objects, and transport them to a goal zone. Perfect for competition prep (WRO, FLL).
Skills: Web Bluetooth API, JavaScript, real-time control, custom UIs
Control your MINDSTORMS robot from a custom web interface. Build a joystick, sliders, and buttons that communicate via Bluetooth.
Ask BlockTalk, our AI LEGO expert, for instant help with MINDSTORMS programming questions:
Get MINDSTORMS Robot Inventor and join thousands of builders worldwide
Shop MINDSTORMS Robot InventorFree shipping on orders over $35 | 30-day returns