IoTClass Inside the measurement
A closer look · 01

Sensor

Look inside
a sensor.

Time-of-flight ranger

An optical time-of-flight sensor sends out light and measures how long the reflection takes to return. Inside the module, precision timing circuitry measures that short journey. Multiplying the round-trip time by the speed of light and dividing by two gives the distance reading an IoT device uses.

The sensor needs enough light to return: a dark target or an awkward angle can weaken the reflection and make the distance inaccurate or unreadable.

01

Recognize the element

Recognize the element: Time-of-flight ranger

Time-of-flight ranger: measurement conceptA conceptual optical module sends light to a target and receives a return; the round-trip time is converted to distance. No commercial module layout or numerical range is specified.Conceptualtargetsoptical time-of-flightround tripdistance
Time the round trip, then convert time to distance. The return must remain usable for the distance reading to mean anything.
02

Peel the teaching model

From case to sensing element

Choose a layer to see the measurement path. The enclosure and board layout are invented teaching choices, not a particular product.

The full text version below describes every layer. All measurement explanations are available without 3D.
Conceptual, not to scale
Case: emitter and receiver openingsOptical time-of-flight measures how long emitted light takes to return from a target. [Overview: Photons In, Current Out · Optical time-of-flight]

Drag to rotate; pinch to zoom. With the view focused: arrow keys rotate, + / − zoom, 1–3 choose a layer, Home resets rotation and zoom. Step advances to the next layer; Reset returns to the case and default view. Layer buttons select a view directly. The page does not move on its own.

Layer 1 of 3 / Outside

Case: emitter and receiver openings

Optical time-of-flight measures how long emitted light takes to return from a target. [Overview: Photons In, Current Out · Optical time-of-flight]

Teaching view: The dark cover has two optical openings above gold underside contacts. One opening sits over the emitter that sends light out; the other sits over the receiver that detects its return.

The measurement to rememberAn optical time-of-flight sensor sends out light and uses the time it takes to return to calculate distance. [Overview: Photons In, Current Out · Optical time-of-flight]

Full text version · every layer

1 · Case: emitter and receiver openings

Optical time-of-flight measures how long emitted light takes to return from a target. [Overview: Photons In, Current Out · Optical time-of-flight]

Teaching view: The dark cover has two optical openings above gold underside contacts. One opening sits over the emitter that sends light out; the other sits over the receiver that detects its return.

2 · Interface: light emitter and receiver

Optical time-of-flight modules use dedicated precision timing circuitry to measure the light’s return time. [Transimpedance and ToF Readout]

Teaching view: Removing the cover exposes a gold emitter beside a blue receiver on the package base. The emitter sends a pulse toward the target, and the receiver detects the returning light.

3 · Element: return-light receiver

For example, suppose light returns after 6.67 nanoseconds, or 0.00000000667 seconds. Using a light speed of 300,000,000 metres per second, the target distance is (300,000,000 metres per second × 0.00000000667 seconds) ÷ 2, or about 1.00 metre. The division accounts for travel to the target and back. [Transimpedance and ToF Readout]

Teaching view: The receiver surface contains a light-sensitive detector. Returning light produces an electrical signal in the detector. The timing circuit measures the delay between sending the light and detecting its return, then uses that delay to calculate the distance to the target.

Explore the layers in order to follow the teaching model.

03

Listen

Package narration

Read transcript
Imagine Nia building a connected bin monitor. She needs distance for a fill level, so she chooses an optical time of flight ranger. She wants to follow the light journey before trusting the number. The sensor sends light toward a target and detects the returning light. It measures the elapsed round trip time. To convert that time into distance, multiply by the speed of light and divide by two. The division matters because the measured journey goes out to the target and back. The desired distance covers only the outward leg. Here is the chapter's worked example. A target one metre away makes a round trip path of two metres. Divide two metres by three hundred million metres per second, and the travel time is about six point six seven nanoseconds. Such short journeys explain why the sensor module needs its own precision timing circuitry; an ordinary microcontroller cannot time them directly. The misconception is that timing makes target conditions irrelevant. Dark targets, awkward geometry, multiple return paths, saturation, or strong ambient light can still spoil the reading. Nia needs a usable return, even though she measures time. Take away this rule: distance comes from half the light journey, provided the return remains usable.

You can use “Read layer aloud” in the explorer for your browser’s optional voice reading.