← Browse

Programming Your Robot
Updated 9/13/2026
TechnologyEN114.1 KB
Free
▶ Start learning
Play it right here in your browser — no install needed.
Sign in to save your progress across devicesGet the appOffline learning lives in the app.
What you'll learn
- Explain the sense-think-act paradigm that all robots use
- Create and use variables to store robot data
- Write if/else code so robots make decisions
- Use loops to make robots repeat actions efficiently
- Trace a robot program to predict its behavior
- Connect sensor input to actuator output in code
About
Learn how robots think: variables, if/else decisions, loops, and sense-think-act programming logic for micro:bit and Arduino.
What's inside· 15 lessons
- 1Making Decisions: If / Else
- 2What is a Robot?
- 3Trace the Program
- 4Storing Data: Variables
- 5Full Example: Obstacle-Avoiding Robot
- 6How It Works
- 7=== SETUP ===
- 8Repeating Actions: Loops
- 9Arduino Example
- 10Micro:bit Example
- 11=== MAIN LOOP ===
- 12Programming Your Robot
- 13Sensors to Actuators: The Sense-Think-Act Code
- 14Sensors to Actuators: The Sense-Think-Act Code
- 15Quick Quiz
Part of these paths
Reviews
No reviews yet.
Questions & discussion
Ask a question or join the discussion in the Hyracbox app.
No questions yet.
