VL53L0X V2-Purple laser distance module I2C IIC 3.3V / 5V for Arduino

SKU: FA3021-10
Sensor IC

STMicroelectronics VL53L0X

Measurement Range

3cm – 200cm (up to 2m)

Laser Wavelength

940nm (invisible infrared)

Interface

I²C (default address 0x29)

Operating Voltage

3.3V – 5V DC (onboard regulator)

Measurement Accuracy

±3% typical (millimeter-level)

Laser Class

Class 1 (eye-safe)

Pin Count

4 pins (VCC, GND, SDA, SCL)

The VL53L0X V2-Purple Laser Distance Module is a high-precision, compact Time-of-Flight (ToF) ranging sensor designed for accurate distance measurement in robotics, automation, and DIY electronics projects. Built around the STMicroelectronics VL53L0X laser-ranging sensor IC, this module uses 940nm infrared laser technology to measure distances from 3cm to 200cm with millimeter-level precision, far outperforming traditional ultrasonic sensors in speed, accuracy, and reliability.

At the heart of the module is the VL53L0X, a fully integrated ToF sensor that emits invisible 940nm infrared laser pulses and measures the time it takes for the light to reflect back from a target object. This Time-of-Flight principle allows the sensor to measure absolute distance regardless of the target’s color, surface texture, or reflectivity — unlike ultrasonic sensors that are affected by soft or angled surfaces, and unlike IR proximity sensors that depend on reflected intensity. The V2-Purple version features an improved optical design with better ambient light immunity and a purple PCB for reduced reflection and easy identification in your project.

The module provides a single I²C interface for communication, supporting standard mode (100kHz) and fast mode (400kHz). The default I²C address is 0x29 (7-bit), and the sensor supports up to 4 different I²C addresses via software configuration, allowing multiple VL53L0X modules on the same bus for multi-zone sensing applications. The module operates from 3.3V or 5V DC thanks to its onboard voltage regulator and level shifter, making it directly compatible with both 3.3V (ESP32, Raspberry Pi) and 5V (Arduino Uno) microcontrollers.

The V2-Purple version includes several enhancements over the original VL53L0X module:

  • Improved optical cross-talk — Better accuracy at short distances

  • Enhanced ambient light immunity — More reliable in bright environments

  • Purple PCB — Reduces internal reflections and stray light for cleaner readings

  • Voltage regulator and level shifter — Direct 3.3V/5V compatibility without external components

The module features a 4-pin interface (VCC, GND, SDA, SCL) for easy connection to microcontrollers. The compact form factor with mounting holes allows easy integration into robot chassis, sensor arrays, and custom enclosures. The laser class is Class 1 — completely safe for the eyes under normal use, with no special safety precautions required.

The VL53L0X is widely used in obstacle avoidance robots, drone altitude control, automatic door systems, presence detection, liquid level sensing, gesture recognition, camera autofocus systems, vacuum cleaner navigation, and educational STEM projects. It is also popular in IoT devices and wearable technology where precise distance measurement is required.

Important Note: The VL53L0X measures distance using laser light, which can pass through transparent objects (glass, clear plastic) without reflecting, so it may not detect them reliably. The sensor’s maximum range of 200cm is achievable in low-ambient-light conditions; bright sunlight can reduce the effective range. The module is not waterproof and should be kept dry. For best results, use the ST VL53L0X API library available for Arduino and Raspberry Pi.

Whether you are building an obstacle-avoidance robot, a drone with altitude hold, or a precision distance measurement system, the VL53L0X V2-Purple Laser Distance Module provides a reliable, accurate solution. It is suitable for individual makers, students, and businesses purchasing in bulk for product development or educational programs.

Features

  • VL53L0X Time-of-Flight sensor — Accurate distance measurement from 3cm to 200cm

  • 940nm infrared laser — Invisible, eye-safe Class 1 laser operation

  • Millimeter precision — Independent of target color and reflectivity

  • I²C interface — Standard (100kHz) and fast (400kHz) modes

  • Multi-sensor capable — Up to 4 VL53L0X modules on one I²C bus

  • 3.3V/5V compatible — Onboard voltage regulator and level shifter

  • V2-Purple enhancements — Improved optical cross-talk and ambient light immunity

  • Compact form factor — With mounting holes for easy integration

  • 4-pin interface — VCC, GND, SDA, SCL for simple connection

  • Wide application range — Obstacle avoidance, drone altitude, presence detection, gesture recognition

Technical Specifications 

# Parameter Specification
1 Sensor IC STMicroelectronics VL53L0X
2 Measurement Range 3cm – 200cm (up to 2m)
3 Laser Wavelength 940nm (invisible infrared)
4 Interface I²C (default address 0x29)
5 Operating Voltage 3.3V – 5V DC (onboard regulator)
6 Measurement Accuracy ±3% typical (millimeter-level)
7 Laser Class Class 1 (eye-safe)
8 Pin Count 4 pins (VCC, GND, SDA, SCL)

Usage

Getting Started

  1. Connect power — Supply 3.3V or 5V DC to the VCC pin and GND to ground. The module includes an onboard regulator for 5V compatibility.

  2. Connect I²C lines — Connect SDA to your microcontroller’s I²C data line and SCL to the I²C clock line:

    • Arduino Uno: SDA → A4, SCL → A5

    • ESP32: SDA → GPIO21, SCL → GPIO22 (default)

    • ESP8266: SDA → D2, SCL → D1

    • Raspberry Pi: SDA → GPIO2, SCL → GPIO3

  3. Install the library — Install the VL53L0X library by Pololu or Adafruit VL53L0X library through the Arduino Library Manager.

  4. Upload a test sketch — Initialize the sensor and read distance values. The library provides simple functions to start continuous measurement or perform single-shot readings.

  5. Implement control logic — Use the distance readings for obstacle avoidance, presence detection, or altitude control in your application.

Pin Connections

Module Pin Function
VCC Power (3.3V–5V)
GND Ground
SDA I²C Data
SCL I²C Clock

I²C Address Configuration

Address Configuration
0x29 Default (7-bit)
Custom Up to 4 addresses via software

Example Arduino Code

cpp
#include <Wire.h>
#include <VL53L0X.h>

VL53L0X sensor;

void setup() {
  Serial.begin(9600);
  Wire.begin();

  sensor.init();
  sensor.setTimeout(500);
  sensor.startContinuous();
}

void loop() {
  Serial.print("Distance: ");
  Serial.print(sensor.readRangeContinuousMillimeters());
  Serial.println(" mm");
  delay(100);
}

Typical Applications

  • Obstacle avoidance robots — Detect objects in the robot’s path

  • Drone altitude control — Maintain consistent height above ground

  • Automatic doors — Detect approaching people

  • Presence detection — Monitor room occupancy

  • Liquid level sensing — Measure liquid surface without contact

  • Gesture recognition — Detect hand movements for interactive devices

  • Camera autofocus — Assist focus systems with distance data

  • Vacuum cleaner navigation — Map rooms and avoid obstacles

  • Educational STEM projects — Teaching ToF sensing and I²C communication

Notes for Business Buyers

  • Superior to ultrasonic — Faster, more accurate, and unaffected by target color or texture.

  • Class 1 laser — Eye-safe, no special safety precautions required.

  • Multi-sensor capable — Up to 4 modules on one I²C bus for multi-zone sensing.

  • Suitable for bulk purchasing — Ideal for robotics manufacturers, IoT product developers, and educational institutions.

Q: What is the VL53L0X V2-Purple Laser Distance Module used for?

It is a high-precision Time-of-Flight distance sensor for obstacle avoidance, drone altitude control, presence detection, gesture recognition, and educational STEM projects.

Q: What is the measurement range and accuracy?

The module measures from 3cm to 200cm with millimeter-level precision and ±3% typical accuracy.

Q: What is the difference between VL53L0X and ultrasonic sensors?

The VL53L0X uses laser light for measurement, making it faster, more accurate, and unaffected by target color or texture. Ultrasonic sensors use sound waves and can be affected by soft, angled, or irregular surfaces.

Q: Is the laser safe for the eyes?

Yes. The module uses a Class 1 laser at 940nm, which is eye-safe under normal use. No special safety precautions are required.

Q: What is the I²C address?

The default I²C address is 0x29 (7-bit). The sensor supports up to 4 different addresses via software configuration.

Q: Can I connect multiple VL53L0X modules to one I²C bus?

Yes. Up to 4 modules can be connected on the same I²C bus by assigning different addresses.

Q: What voltage does the module require?

It operates from 3.3V or 5V DC thanks to its onboard voltage regulator and level shifter.

Q: Can the sensor detect transparent objects?

Not reliably. The laser light can pass through glass and clear plastic without reflecting, so the sensor may not detect them. Test with your specific target.

Q: Is the module waterproof?

No. The module is not waterproof and should be kept dry.

Q: Can I purchase in bulk for a product development project?

Yes. This module is suitable for both individual users and business purchasing, including robotics manufacturers, IoT product developers, and educational institutions.