Measurement
A value representing part of the world.
Curriculum topic
A sensor turns part of the physical world into information a program can inspect.
Why it matters
Robots cannot respond intelligently without information. Sensors measure light, distance, motion, temperature, touch, sound, or other signals, but every reading has limits and noise.
Real-world connection
Automatic lights do not see darkness as a person does. They receive a number from a light sensor and compare it with a threshold chosen by a designer.
The connection shows where the idea returns; it does not claim every advanced application is taught in this first topic.
Math and logic kernel
A value representing part of the world.
A chosen boundary between responses.
Small changes or errors in readings.
Reading a changing signal repeatedly over time.
Small examples
A simple two-state sensor: pressed or not pressed.
Estimate how near an obstacle is.
Change output when a space becomes darker.
Measure movement or orientation on a microcontroller.
Program connections
Commands, sensors, simple electronics, simulations, and physical systems organized around Sense, Decide, Act.
A future practical and critical program about patterns, predictions, prompts, limits, and human judgment.
Common mistakes
A system reacts badly to small fluctuations.
The decision boundary does not match the actual environment.
The program assumes every room or device produces the same values.
The sensor measures; the code decides what the measurement means.
Lesson and projects
Connect a button input to visible and audible outputs, then improve the alarm's state rules.
Open projectMeasure reaction time, store results, and decide what makes a timing test fair.
Open projectDesign a patrol that repeats, senses a changed world, and uses feedback to recover.
Open project