VL53L1X Time-of-Flight Distance Module
The Zaitronics VL53L1X module measures distance by timing a pulse of invisible infrared laser light, up to 4 m away. It was designed by our team in Melbourne and has two STEMMA QT connectors, so you can plug it into any STEMMA QT, Qwiic or PiicoDev board without soldering and chain more modules after it.
You can purchase the VL53L1X module here in our store.
Specifications
- Sensor: ST VL53L1X time-of-flight sensor
- Range: up to 4 m
- Interface: I2C
- I2C address: 0x29 (can be changed in software)
- Supply: 3.3 V
- Connectors: 2 x STEMMA QT / Qwiic (JST SH 4-pin, 1.0 mm)
- Breakout: 6 pins, 2.54 mm pitch
- I2C pull-ups: 10 kΩ, can be disconnected
- Mounting: four M2.5 holes on a 2.54 mm grid
- Dimensions: 27.94 mm x 25.40 mm
Connecting
The easiest way to connect the module is with a STEMMA QT / Qwiic cable. Plug one end into your microcontroller and the other into either connector on the module. Both connectors are the same, so use the second one to chain another module.
The connectors use the standard pinout: GND, 3V3, SDA, SCL. The module works at 3.3 V. Never connect 5 V to the connectors.
The sensor looks out of the front of the board. Keep the sensor window clean and uncovered. A cover glass or window in front of it will affect the readings.
Breakout pins
The row of holes along the bottom edge lets you solder on 2.54 mm header pins for a breadboard or jumper wires. From left to right:
- GND: ground
- 3V3: 3.3 V power in
- SDA: I2C data
- SCL: I2C clock
- INT: interrupt output (the sensor's GPIO1 pin). It goes low when a new reading is ready.
- SHDN: shutdown input (the sensor's XSHUT pin). Pulled up to 3.3 V on the board, so the sensor is on when this pin is unconnected. Drive it low to turn the sensor off.
Jumpers
The solder jumpers are on the back of the board, along the top edge.
- I2C: connects the 10 kΩ pull-up resistors on SDA and SCL. Bridged by default. If you chain many modules, their pull-ups add up, so cut this jumper on some of them.
- LED: powers the green power LED. Bridged by default. Cut it to save about 0.13 mA in battery projects.
- INT: connects a 10 kΩ pull-up on the INT pin. Bridged by default. Cut it if your microcontroller already pulls the pin up.
Using several sensors
Every VL53L1X starts up at address 0x29. To use more than one on the same bus, connect each module's SHDN pin to its own GPIO pin. Hold all of them low, then turn the sensors on one at a time and give each one a new address in software before turning on the next. The new address is lost when the power is turned off, so your code needs to do this every time it starts.
Examples
Mechanical
- Board size: 27.94 mm x 25.40 mm
- Mounting holes: four M2.5 (2.7 mm), 2.54 mm in from each edge, 22.86 mm x 20.32 mm apart
- Breakout pins: 2.54 mm pitch, along the bottom edge, centred between the bottom mounting holes
- STEMMA QT connectors: on opposite edges, facing outward
Every Zaitronics module uses the same 2.54 mm mounting grid, so any combination fits on one mounting plate or perfboard.
Need a hand?
If something isn't working, tell us how you've wired and powered the board and we'll help you troubleshoot.