VL53L0X time-of-flight distance sensor
Laser distance sensor that measures up to about 2 m in a tiny package.
What is the VL53L0X time-of-flight distance sensor and what is it used for?
Laser distance sensor that measures up to about 2 m in a tiny package. Makers use it for robot distance, gesture detection.
A 940 nm laser sends short pulses and a SPAD detector times how long the light takes to bounce back.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | Distance by time of flight (940 nm laser) |
| Range | Up to 2 m |
| Accuracy | About ±3 % indoors |
| Interface | I2C |
| I2C address | 0x29 |
| Supply voltage | 2.6 to 3.5 V (modules often 3.3 to 5 V) |
Pinout
How to use it
Use the Pololu VL53L0X or Adafruit library. Every sensor starts at address 0x29, so to use several, hold all but one in shutdown with XSHUT, change its address, and repeat. Remove the protective film from the window.
Applications
Builds that use it
Seedling height tracker
Contactless thermometer kiosk
Smart water bottle
Ultrasonic theremin with real tone
Wall-following robot with ToF
Sumo robot with front ToF array
Hand-wash timer
Dispenser use counter
Alternatives
- VL53L1X long-range ToF sensorUp to 4 m
- HC-SR04 Ultrasonic SensorCheaper with a wider beam
Common questions
What is the VL53L0X time-of-flight distance sensor used for?
In maker projects: robot distance, gesture detection.
How does the VL53L0X time-of-flight distance sensor work?
A 940 nm laser sends short pulses and a SPAD detector times how long the light takes to bounce back.
What voltage does the VL53L0X time-of-flight distance sensor need?
2.6 to 3.5 V (modules often 3.3 to 5 V).
How do I connect the VL53L0X time-of-flight distance sensor to an Arduino or ESP32?
I2C. Pins: VIN (3.3 to 5 V on most modules), GND (Ground), SCL (I2C clock), SDA (I2C data), XSHUT (Shutdown, pull low to turn off), GPIO1 (Interrupt output).
What can I use instead of the VL53L0X time-of-flight distance sensor?
VL53L1X long-range ToF sensor and HC-SR04 Ultrasonic Sensor.
