Using Sensors (Simple Inputs)
Students explore how simple sensors (e.g., touch, light) can provide input to a robot and influence its behavior.
About This Topic
In Year 1, students investigate simple sensors such as touch bumpers and light detectors on floor robots like Bee-Bots or Roamer. These inputs prompt the robot to react, for example by stopping or turning when it bumps an obstacle or enters shade. Children explore key questions through play: what occurs on contact? Can programming make it halt before impact? What changes if the sensor is blocked? This matches KS1 Computing standards for programming algorithms and controlling devices with immediate, observable effects.
The topic connects sensor inputs to familiar actions, like a tap turning on water, and introduces cause-and-effect in computing. Students predict robot behaviour, test ideas, and adjust programs, building early skills in debugging and logical sequencing that support progression to block-based coding.
Active learning excels with this topic because children gain direct sensory feedback from robot responses during physical trials. Manipulating obstacles or lights in pairs lets them iterate quickly, turning abstract input concepts into concrete experiences that spark curiosity and deepen understanding.
Key Questions
- What does the robot do when it bumps into something?
- Can you make the robot stop when it senses something in front of it?
- What do you think would happen if we covered the robot's sensor?
Learning Objectives
- Identify the function of a touch sensor on a floor robot.
- Demonstrate how a light sensor affects a robot's movement.
- Predict the robot's behavior when its sensor is obstructed.
- Classify different sensor inputs based on the robot's reaction.
Before You Start
Why: Students need to understand how to give a robot a series of steps before they can explore how sensors change those steps.
Why: Students must be familiar with basic commands like 'move forward' or 'turn' to observe how sensor inputs modify these actions.
Key Vocabulary
| Sensor | A part of the robot that detects information from its surroundings, like touch or light. |
| Input | Information that a sensor sends to the robot to tell it what to do. |
| Behavior | How the robot acts or moves in response to an input from a sensor. |
| Obstacle | An object that the robot might bump into, which a touch sensor can detect. |
Watch Out for These Misconceptions
Common MisconceptionThe robot sees ahead without sensors.
What to Teach Instead
Sensors detect only immediate contact or light changes; covering one shows blind movement. Pair testing with and without coverage clarifies input needs, as children compare runs side-by-side.
Common MisconceptionSensors make robots decide freely.
What to Teach Instead
Inputs trigger set programs, not choices; failed tests reveal this. Group debugging sessions help students trace steps, adjusting code to match intentions.
Common MisconceptionAll sensors work the same way.
What to Teach Instead
Touch needs contact, light needs brightness shifts; station rotations expose differences. Observations during rotations build precise mental models through varied trials.
Active Learning Ideas
See all activitiesPair Testing: Bump and Reverse Challenge
Pairs place obstacles on a grid mat and program the robot to move forward until its bumper sensor triggers a reverse. They test three paths, noting what happens on each bump. Pairs swap programs to predict outcomes for the other duo.
Small Group: Light Sensor Maze
Groups build a shaded maze with cardboard tunnels and program the robot to pause in dark areas via light sensor. They time runs and adjust for faster paths. Share tweaks with the class.
Whole Class: Sensor Prediction Demo
Teacher demonstrates sensor blocks with covering and uncovering. Class predicts and votes on robot actions before each run. Record predictions on a shared chart for review.
Individual: Sensor Journal Logs
Each child draws a robot path, labels sensor inputs, and notes expected behaviours. Test solo on mats, then add real observations to journals for teacher check.
Real-World Connections
- Automatic doors in supermarkets use touch sensors to detect when a person is approaching, opening the doors for them.
- Smartphones use light sensors to adjust screen brightness automatically, making it easier to see the screen in bright sunlight or dim rooms.
Assessment Ideas
Place a simple obstacle in the robot's path. Ask students: 'What do you think will happen when the robot reaches the obstacle?' Observe if they can predict the robot's reaction based on its touch sensor.
Cover the robot's light sensor with your hand. Ask: 'What is happening to the sensor? How might this change what the robot does?' Guide students to connect the sensor being blocked to a change in the robot's behavior.
Give each student a picture of a robot with a sensor. Ask them to draw or write one thing the sensor could detect and one way the robot might react to it.
Frequently Asked Questions
How do you introduce sensors to Year 1 computing?
What floor robots work best for sensor activities?
How can active learning help students understand sensors?
What links sensors to broader KS1 computing?
More in Programming with Floor Robots
Bot Navigation Basics
Students learn the basic commands of forward, backward, left, and right to move a robot across a simple grid map.
2 methodologies
Route Planning with Obstacles
Students design a path for a robot to follow, avoiding obstacles and reaching a target on a more complex map.
2 methodologies
Robot Challenges and Debugging
Working in teams, students solve puzzles and navigate complex mazes using logical reasoning and debugging skills when their programs don't work as expected.
2 methodologies
Creating Robot Stories
Students program robots to act out simple stories or scenarios, integrating movement and perhaps sound to tell a narrative.
2 methodologies
Introduction to Conditional Logic
Students explore simple 'if...then' concepts by programming a robot to make a decision based on a condition (e.g., 'if obstacle, then turn').
2 methodologies