Lesson 2 of 4 / 7 minute read

Sensors: how a robot perceives

Sensors turn something physical into an electrical signal a computer can read. A light sensor measures brightness. An ultrasonic sensor measures distance by timing an echo. A camera captures a grid of light values.

Sensor readings are never perfect. They jitter, drift and are fooled by conditions like bright sun or a shiny floor. This imperfection is called noise.

Good robots cope with noise by taking several readings, combining different sensors and never trusting a single measurement completely.

Check your understanding

How does an ultrasonic sensor measure distance?

Choose the answer you think is right.