💻 TechnologyGrade 6Lesson 29
← Back🔒 PDF with full access

Sensors, robots or micro:bit intro

Lesson preview: the Mini Lesson and Vocabulary are open to everyone. Guided practice, exercises, the parent checklist and the printable PDF worksheet come with full access (free 7-day trial or membership).

Learning Objectives

  • 1Define a sensor as a device that turns a real-world signal into computer input
  • 2Match common sensors to the kind of input they detect
  • 3Sort actions a robot can do into Input and Output categories
  • 4Describe the input → process → output loop on a micro:bit board
📘

Mini Lesson

A robot is a computer with a body. It senses the world, runs a program, and acts on what it learns. The same loop — input, process, output — runs inside every smart device, from a self-driving car to a pocket-sized board called the micro:bit.

What is a Sensor?

A sensor is a tiny part that turns something in the real world (light, heat, motion, sound) into a number a computer can read. Without sensors, a robot is blind and deaf. With sensors, the robot can react to what is happening around it.

Common Sensors and What They Detect

  • Light sensor — measures brightness (is the room dark or sunny?)
  • Temperature sensor — measures heat (is it hot or cold?)
  • Accelerometer — detects tilt and shake (is the board moving?)
  • Button — detects a press (did the user push it?)
  • Microphone — picks up sound (is anyone clapping or talking?)
  • Touch sensor — detects contact (did a finger touch the pin?)
  • Compass — reads direction (which way is north?)

Input, Process, Output

  1. Input — the sensor reads a signal from the world.
  2. Process — the program decides what the signal means.
  3. Output — the robot does something: a light flashes, a motor spins, a speaker beeps.

Meet the micro:bit

The micro:bit is a small, pocket-sized board built for learning. It has a 5x5 grid of red LEDs (output), two buttons labeled A and B (input), a USB port for power and code, and built-in sensors for light, temperature, motion, and direction. Edge pins around the bottom let you wire up extra sensors and motors.

Inputs vs. Outputs

  • Inputs come IN to the board (button press, light reading, tilt).
  • Outputs go OUT to the world (LED glow, speaker beep, motor spin).
  • Some parts are sensors (read the world); others are actuators (act on the world).
  • A program connects the two: when sensor X reads Y, do output Z.
micro:bit Board Key FeaturesA micro:bit board with USB port, 5 by 5 LED grid, buttons A and B, and edge pins along the bottom.micro:bit Board — Key FeaturesUSBABButton AButton B5 x 5 LED grid (output)Edge pins connect to extra sensors and motorsA pocket computer with built-in inputs and outputs
Inputs, outputs, and pins all on one tiny board.
Input Process OutputA flow showing inputs from sensors feeding into a CPU that processes the program and produces outputs.Input → Process → OutputINPUTbutton presslight sensortemperaturetilt / shakemicrophonecompassPROCESSCPUruns theprogramOUTPUTLED lightspeaker beepmotor spinscreen iconvibrationradio msgSensors feed inputs in; outputs act on the world
Every robot project runs the same loop: input, process, output.
💡

Tip: every robot project starts with one question — what should the robot SENSE, and what should it DO in response? Pick one input and one output before you write a single line of code.

Vocabulary
sensor
A part that turns a real-world signal into a number a computer can read.
input
A signal that comes IN to a computer (a button press, a light reading).
output
An action a computer sends OUT to the world (a light, a sound, a motor turn).
actuator
A part that physically moves or acts (motor, speaker, vibration unit).
micro:bit
A small learning board with built-in LEDs, buttons, and sensors.
accelerometer
A sensor that detects tilt, shake, and motion.
process
The step where the program decides what to do with an input.
Free · 7 days · No credit card

Unlock the full HSEA system for 7 days.

Add your first kid profile and your 7 days start: every lesson in every grade, saved progress for each child. Nothing to set up, no card required, nothing to cancel.

  • ✓ All 1,680 lessons, Grades 1–6, every subject
  • ✓ Profiles + saved progress for every kid
  • ✓ Printable lessons with answer key
Start your 7-day free trial →
← Lesson 28: Make a mini-game or simulationLesson 30: Code a quiz or interactive story →