Skip to content
Tactiverge

School/◇ Explorer/Week 8

Machines that notice

Automatic doors open for you but not for a falling leaf. How does a door know the difference?

About 25 min · 3 goals · Checked by automated tests; not yet reviewed by an educator

1.Why should I care?

A machine without sensors is blind and numb. Sensors are how phones know which way is up, how cars know they're too close to a wall, and how a sorting machine tells metal from plastic.

  • ◇ Explain that a sensor turns something in the world into a signal a machine can use.
  • ◇ Match common sensors to what they measure.
  • ◇ Choose a sensor for a job by asking what needs to be measured, and how well.

2.Predict

A phone screen turns sideways when you rotate the phone. What sensor is doing that?

Guess first. Being wrong here is how the surprise works.

3.Discover

Do Level 1 of the sorting-machine Build. Match each sensor to the question it answers, then sort six parts by hand using the thresholds. Which sensor would you add to sort by weight?

Can't use the interactive? Read a description instead

The sorting-machine activity in words: a colour sensor measures how red a part is, a light gate measures how long it is, a metal detector senses metal nearby, and a diverter flap steers each part into a bin. You sort six example parts by comparing their readings with the thresholds given in the client's brief.

4.Understand

What a sensor does

A sensor measures something in the world, such as temperature, light, distance or force, and turns it into a signal, usually an electrical one, that a controller can read. Your eyes, ears and skin are sensors too: they turn light, sound and touch into signals for your brain.

A sensor for every question

Thermometer: how hot? Light sensor: how bright? Ultrasonic sensor: how far? (It times an echo, like a bat.) Accelerometer: which way and how hard is it being pushed? Microphone: how loud? Camera: what does it look like? Switch or touch pad: is anything pressing?

Choosing a sensor

Ask: what exactly do I need to know? How big or small can it get (the range)? How small a change must I notice (the resolution)? How fast must it react? A kitchen thermometer that reads to the nearest degree is fine for soup but useless for a science experiment that needs tenths of a degree.

Explain it another way

Sensors are a machine's senses. A robot vacuum feels bumps, sees edges and listens to its wheels, just like you'd feel your way around a dark room.

Worked example 1

An ultrasonic sensor hears its echo 0.01 s after sending a pulse. Sound travels about 340 m/s. How far is the wall?

In 0.01 s, sound travels 340 × 0.01 = 3.4 m. But that's there and back, so the wall is 3.4 ÷ 2 = 1.7 m away.

Common mix-ups

  • Sensors understand what they measure.
    ✓ Sensors only produce a signal. The controller's rules decide what the signal means and what to do.
  • A more expensive sensor is always better.
    ✓ The best sensor is the one whose range, resolution and speed match the job.

5.Practice

Practice, not a test. Wrong answers get a hint and another try.

Practice 1

Which sensor would you use to stop a robot before it hits a wall?

Practice 2

What does a sensor do?

Practice 3

A thermometer reads only whole degrees. You need to notice a change of 0.2 °C. What's the problem?

Practice 4

An ultrasonic echo returns after 0.02 s. Sound travels 340 m/s. How far away is the object, in metres?

m

6.Apply it

Sensor safari: find five machines at home or school that sense something (a doorbell camera, a fridge thermostat, a phone). For each, name the sensor, what it measures and what the machine does with the reading.

Open BUILD 003: Create an Intelligent Sorting Machine →

7.Reflect

Concepts: How sensors measure · The sense–think–act loop