HyracHub
← Browse
Programming Your Robot

Programming Your Robot

Updated 10/17/2026

TechnologyEN134.2 KB

Free

▶ Start learning

Play it right here in your browser — no install needed.

Sign in to save your progress across devices
Get 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· 13 lessons
  1. 1Programming Your Robot
  2. 2What is a Robot?
  3. 3Storing Data: Variables
  4. 4Making Decisions: If / Else
  5. 5Repeating Actions: Loops
  6. 6Sensors to Actuators: The Sense-Think-Act Code (1)
  7. 7Sensors to Actuators: The Sense-Think-Act Code (2)
  8. 8Full Example: Obstacle-Avoiding Robot
  9. 9How It Works
  10. 10Micro:bit Example
  11. 11Arduino Example
  12. 12Trace the Program
  13. 13Quick Quiz

Part of these paths

Reviews

No reviews yet.

Questions & discussion

Sign in to ask a question or reply

No questions yet.