← All articles

12 November 2026

Laser Distance Sensors: Measuring Distance with Light

Illustration of a laser distance sensor: a small robot shines a red laser beam at a wall, the beam reflects back, and a gauge shows the distance

Have you ever used a laser tape measure to size up a room? Press a button, a red dot appears on the far wall, and the screen shows the number right away: 3 metres 42. No pulling out a tape, no one holding the other end, no guessing. That little device pulls off its trick with a beam of light that flies out and comes back — too fast for the human eye to follow. And that same principle lives inside the laser distance sensor, the component that gives a robot more precise distance vision than any of its other senses.

How fast is light — and how can anyone measure it?

Light travels at about 300,000 kilometres per second. A laser beam flying from a robot to a wall 3 metres away and back again takes only around 20 billionths of a second — millions of times faster than a blink. What clock could measure a time that short? The answer is that a laser sensor usually does not time the flight directly. Instead, it uses a cleverer trick: it sends out a laser beam that pulses in a steady rhythm, then compares the rhythm of the returning beam with the rhythm it sent. The farther the beam travels, the more the returning rhythm shifts, and from that shift the sensor calculates the distance — accurate to the millimetre.

Here is a simple way to picture it: stand in front of a wall and clap your hands, then count how long it takes to hear the echo. The farther the wall, the later the echo arrives. An ultrasonic sensor does exactly that with sound waves. A laser sensor does the same thing, but with light — and because light is nearly a million times faster than sound, it measures farther and far more precisely.

How is laser different from ultrasound?

You might wonder: if a robot already has an ultrasonic sensor, why does it need a laser sensor too? The answer comes down to three differences.

First, precision. An ultrasonic sensor measures distance with an error of a few centimetres — good enough for a robot to avoid a wall, but not enough to know exactly how wide a gap is or how far away a small object sits. A laser sensor is accurate to a few millimetres, enough for a robot to slip through a narrow gap or stop exactly on the finish line.

Second, a narrow beam. Ultrasound spreads out like a cone, so an ultrasonic sensor sometimes mistakes a nearby object for the one straight ahead. A laser beam is narrow as a thread and measures only the exact spot it hits — like using a torch to light one place instead of switching on the ceiling light for the whole room. When a robot needs to measure a window, it measures the window, without the furniture beside it causing confusion.

Third, speed. A laser sensor measures hundreds of times per second, much faster than an ultrasonic sensor. A fast-moving robot can still "see" and react in time, like a driver who needs to watch the road continuously instead of glancing once and driving blind.

Of course, laser has its weaknesses too: transparent surfaces like glass, or dull black surfaces that absorb the beam, are hard to measure, and laser sensors cost more than ultrasonic ones. That is why real robots often use both: laser for precise measurement, ultrasound as a backup when the laser meets a tricky surface.

Where do laser sensors work beyond robots?

You may be surprised how much of everyday life runs on laser distance sensing. A builder's laser measure sizes a room in seconds. Self-driving cars use a spinning laser sensor on the roof — called LiDAR — to draw a 3D map of the whole street around them, spotting pedestrians, other cars, and lane markings. Newer robot vacuums use laser to scan the room and remember where every piece of furniture is, instead of bumping around like older models. Even the phone in your pocket has a tiny laser sensor to focus its camera faster.

What all these uses share is a need to know distance precisely and quickly, without guessing. And that is also why the laser sensor has become the robot's "precise eye": ultrasound tells a robot that an obstacle exists, but laser tells it exactly where that obstacle is.

Try it at home tonight: the "measure with light" game

No kit is needed — you can play the light-measuring game with your child tonight. Take a torch and a tape measure. Ask your child to stand at one end of the room, shine the torch at the opposite wall, and guess the distance by eye — then check with the tape measure to see how far off the guess was. After a few rounds, your child will see how poorly human eyes judge distance, especially in a dark room.

Next, blindfold your child, stand a few steps away, and clap once. Ask them to guess how far away you are from the sound alone — that is how an ultrasonic sensor "hears" distance. Then take the blindfold off, shine the torch at the wall, and ask: if the beam of light flies out and comes back instantly, how could a machine know how far away the wall is? That question is exactly the problem laser sensor engineers had to solve — and your child just touched it with two simple games.

How your child learns this at ManuStem

On stem.manusignal.com, your child wires up a laser distance sensor circuit right in the browser — no kit to buy, no delivery to wait for. The 3D preview shows the laser measuring distance in real time, the number changing millimetre by millimetre as your child slides an obstacle closer, and if the circuit is wired wrong, the AI coach points out the mistake and suggests a fix in Vietnamese or English, like a teacher sitting beside them.

The course has 28 lessons — 8 in the Component Lab and 20 in the Competition Robot track — for ages 8 and up, in Vietnamese and English, with 4 free trial lessons. The laser distance sensor is an advanced component your child meets after the ultrasonic sensor, and they use it to upgrade their own delivery robot: measuring farther, avoiding obstacles better, then programming the robot in C++ on the ESP32 kit for ages 13 and up.

The next time you press a laser measure to size up a room, your child will not just see a number appear — they will see a beam of light that flew out, touched the wall, and came straight back in a blink to bring that number home.


Let your child measure the world with light today — no kit needed, try 4 free lessons at stem.manusignal.com.

Read the Vietnamese version:

Cảm biến khoảng cách laser: đo xa chính xác bằng ánh sáng