Skip to product information
1 of 4

Distance Sensor (ToF-VL53L0CX)

Distance Sensor (ToF-VL53L0CX)

SKU:AX22-0015

This AX22-sized board places ST’s VL53L0CX laser Time-of-Flight sensor on a compact 22 × 22 mm PCB, giving your project millimetre-accurate, eye-safe distance readings over I²C. An onboard regulator and bidirectional level shifters let any 1.8 V, 3.3 V, or 5 V microcontroller talk to the sensor hassle-free, while the factory-calibrated SPAD array measures absolute ranges out to 4 m in under 30 ms. Drop it into any AX22 backplane to add precise proximity sensing, gesture recognition, or collision avoidance to robots, smart interfaces, or interactive art with just a few library calls in Arduino, MicroPython, or MicroBlocks.
Regular price $13.99
Regular price Sale price $13.99
Sale Sold out
View full details

Technical details

  • 22 mm × 22 mm square
  • 4× ⌀2.7 mm Mounting Holes
  • 1 mm – 4000 mm measurable range
  • < ±10 mm error up to 2 m, < ±3% beyond
  • < 30 ms single-shot, 50 Hz continuous mode
  • I²C, default address 0x52
  • 1.8 V, 3.3 V, 5.0 V
  • Arduino IDE Compatible
  • MicroPython Compatible
  • MicroBlocks Compatible
Component datasheet (opens in a new tab)

Drag to rotate

Pinout & connections

Pinout & connections

Technical Resources

Distance Sensor (ToF-VL53L0CX) - (AX22-0015)

Drag to rotate

Arduino example

ax22-0015.ino
#include "Adafruit_VL53L0X.h"

Adafruit_VL53L0X lox = Adafruit_VL53L0X();

void setup() {
  Serial.begin(115200);

  while (! Serial) {
    delay(1);
  }

  Serial.println("Adafruit VL53L0X test.");
  if (!lox.begin()) {
    Serial.println(F("Failed to boot VL53L0X"));
    while(1);
  }
  Serial.println(F("VL53L0X API Continuous Ranging example\n\n"));
  lox.startRangeContinuous();
}

void loop() {
  if (lox.isRangeComplete()) {
    Serial.print("Distance in mm: ");
    Serial.println(lox.readRange());
  }
}