πŸ“

Laser Range

It measures distance and checks the chip is genuine

Page 44 of 45 MCP / API open OTA updates

Page 44 uses a VL53L0X (I2C 0x29) to measure distance: centimetres in large digits, a zone label (very close / close / mid / far / very far), a reverse bar that fills as you get closer, and the raw millimetre value.

This is the only peripheral here that can verify its own chip: register 0xC0 must read 0xEE. That lets the health score say β€œID=0xXX, not 0xEE β€” this is not a VL53L0X”, which immediately separates a mislabelled module from a wiring problem.

Screen

On-screen interface

A recreation of this page on the 2.41-inch AMOLED display (600 Γ— 450). Actual interaction and layout follow the latest firmware.

Laser Range VL53L0X Β· 0x29
Distance42.6cm Β· very close
reverse bar Β· closer = fuller
Raw426 mm (0x1E lo / 0x1F hi)
Chip ID0xC0 = 0xEE βœ“ genuine
Range3–200 cm Β· standard mode
Health95
start β†’ poll β†’ read β†’ clear IRQ
Screen Β· Page 44
May differ from the actual interface; the screen of the real device is the final reference.
Highlights

Key capabilities

πŸ“

Centimetres

Large distance plus five zones, and the raw millimetres.

πŸͺͺ

ID check

Reads 0xC0 and expects 0xEE, so counterfeits are obvious.

πŸ”

Correct sequence

Start, poll, read, clear interrupt β€” none of the four steps skipped.

🩺

Typed diagnostics

β€œID right but ranging failed” means wiring is not the problem.

Specifications

Technical specs

SensorVL53L0X (ID register 0xC0 = 0xEE)
I2C address0x29
RangeAbout 3–200 cm in standard mode
AccuracyAbout Β±3–5 % (minimal init, no full calibration)
Data0x1E (low) / 0x1F (high), little-endian, millimetres
Use Cases

Typical scenarios

Bin level

Mounted at the top of a container, looking down at the contents.

Obstacle sensing

Front-facing range sensing alongside the RC car on page 29.

Commands

Related commands

page 44  Open laser range
vl  Read distance and zone once
vl on | off  Start or stop periodic ranging

Read the full API & command reference β†’

⚠ Boundaries & notes
  • One measurement must follow the sequence: write 0x00=0x01, poll bit0 of 0x13, read 0x1E/0x1F, then write 0x0B=0x01 to clear the interrupt. Reading 0x1E directly returns stale values or zero.
  • Only the standard-mode minimum initialisation is done, so expect Β±3–5 % β€” this is not a measuring instrument.
  • Black felt, clear glass and direct sunlight all weaken the return; jumping readings are normal.

Other feature pages