Skip to datasheet
The Engineering ProjectsAI Interactive Datasheet

VL53L0X940 nm time-of-flight ranging sensor

Measure distance from the flight time of invisible infrared light.

Manufacturer-referenced

STMicroelectronics · VL53L0X

Optical LGA-12DocID029104 Rev 2 · April 2018

VL53L0X combines a 940 nm vertical-cavity laser, a single-photon avalanche-diode receiver and ranging electronics in a 4.4 × 2.4 mm optical package. It estimates distance using time of flight, then delivers a range result and validity status over I²C. The bare sensor uses 2.6–3.5 V power. It supports 1.8 V or supply-level I/O, selected during initialization; the example uses 2.8 V with the API configured for 2V8 mode. A breakout board may add regulation or level shifting, but those are not features of the bare package. Range depends on the selected timing budget, target reflectance and ambient infrared light. The 2 m profile is intended for dark conditions, not a guaranteed distance under sunlight. Use ST’s API, calibration and cover-glass guidance, and check measurement status before accepting a reading.

Real View

VL53L0X optical package with two unobstructed apertures and twelve silver underside contacts.
VL53L0X · Optical LGA-12Package illustration

Pinout

VL53L0XOptical LGA-12Top view · pin 1 bottom-right
Select a pin to see its functionOptical LGA-12 · 12 pins

PCB Footprint

Loading footprint…
Powered by
Finding Optical LGA-12 packageTop view · mm

3D View

Preparing 3D preview…
3D packageDrag to rotate · Scroll to zoom
12Physical pins VL53L0XOptical LGA-12 Manufacturer-referencedSTMicroelectronics

Pin diagram

Select a pin to explore its connection

Package map
Highlight
VL53L0XOptical LGA-12Top view · pin 1 bottom-right

Click a lead or use the arrow keys. Top view · pin 1 bottom-right

1
PIN 1 · Supply

AVDDVCSEL

Emitter supply

Function

Supply for the infrared VCSEL.

How to connect

Connect to the main 2.6–3.5 V rail; bypass near pins 1 and 2.

Key specifications

Infrared pulses illuminate the target. The receiver and timing engine estimate flight time; signal processing produces a distance and status for the host.

Main supply2.6–3.5 V · nominal 2.8 V
Emitter wavelength940 nm · infrared
I²C bus400 kHz maximum
Operating ambient−20–70 °C

Operating profile

Supply, signals and operating conditions

VL53L0X operating profile
ParameterValueConditions / notes
Selected packageOptical LGA-12VL53L0X
Default address0x29seven-bit · software changeable
Long-range profile2m typical · dark conditions
Use these values with the stated grade and test conditions.

Package details

VL53L0X · Optical LGA-12

Selected package
Selected VL53L0X physical package
PropertyDetails
ManufacturerSTMicroelectronics
Part numberVL53L0X
PackageOptical LGA-12
Connections12 pins
MountingSMD
Lead pitch0.80 mm
Package codeLGA-12
Thermal reference−20°C to +70°C

Electrical conditions

Bare sensor, not a regulated breakout module

Scroll sideways to see all columns.

ParameterValueConditions / notes
AVDD and AVDDVCSEL2.6–3.5 VConnect to the same rail; nominal 2.8 V
Standard I/O mode1.6–1.9 V1.8 V nominal; API default mode
2V8 I/O mode2.6–3.5 VHIGH levels equal AVDD; configure via API
Ambient temperature−20 to +70°CNormal operating range
Active ranging current19 mA typical23°C / 2.8 V, default API, 33 ms budget
Peak currentUp to 40 mAIncluding VCSEL
Hardware standby5 µA typical / 7 µA maximumAt stated nominal temperature and voltage
Absolute voltage limit−0.5 to 3.6 VAVDD and digital I/O; stress limit, not operating range

Provide supply capacity for peak current and place the bypass capacitors close to the emitter supply pins.

Ranging profiles

Typical examples from manufacturer Table 13

Scroll sideways to see all columns.

ParameterValueConditions / notes
Default30 ms1.2 m; accuracy depends on Table 12 test conditions
High accuracy200 ms1.2 m, better than ±3% under specified conditions
Long range33 ms2 m only in dark conditions without ambient IR
High speed20 ms1.2 m, ±5% under specified conditions
InterpretationBudget is not a guaranteed sample periodInclude host transfers and housekeeping
ValidityCheck range statusDo not accept a numeric distance from a failed sample

Target reflectance, ambient light, cover glass and calibration affect performance.

I²C and control

Address notation and board connections

Scroll sideways to see all columns.

ParameterValueConditions / notes
Default address0x29 seven-bitDatasheet 0x52 write / 0x53 read include the direction bit
Maximum SCL400 kHzUse pull-ups for the selected I/O level
SDA / SCL pull-ups1.5–2 kΩ exampleST recommendation at AVDD=2.8 V and 400 kHz
XSHUT / GPIO1 pull-ups10 kΩ exampleGPIO1 may be open when unused; XSHUT must be driven
Multiple sensorsUse separate XSHUT control linesEnable one at a time and assign distinct addresses after each reset
InitializationST API requiredThis is not a simple analog distance-voltage output
DNC pin 8Leave floatingDo not use as ground or supply

The illustrated host uses 2.8 V-compatible I/O and enables the sensor’s 2V8 mode.

Optics and calibration

Keep the optical path clear

Scroll sideways to see all columns.

ParameterValueConditions / notes
Emitter940 nm VCSELInvisible infrared source
ReceiverSPAD arraySingle-photon avalanche-diode technology
Package height1.0 mm nominal4.4 × 2.4 mm outline
Cover glassOffset and crosstalk calibrationFollow ST optical-window and exclusion-cone guidance
Reference calibrationFollow API sequenceRequired for the target design
Distance equationd = c × t / 2Conceptual round-trip relation; internal algorithms handle timing
500 mm illustrationAbout 3.34 ns round tripPhysics illustration, not an accessible host timer reading

Do not obscure either optical aperture with labels, paint or board hardware.

2.8 V ranging circuit

Bare-sensor application connections

Scroll sideways to see all columns.

ParameterValueConditions / notes
SupplyPins 1 and 11 to 2.8 V100 nF and 4.7 µF close to emitter supply / return
GroundPins 2, 3, 4, 6 and 12Connect to a common ground plane
BusSDA9 and SCL101.8 kΩ pull-ups to 2.8 V in this example
ShutdownXSHUT5 with 10 kΩ pull-upHost can pull LOW for hardware standby
InterruptGPIO1 pin 7 with 10 kΩ pull-upOptional host input
ReservedDNC8 floatingNo connection
Mode2V8 API configurationUse matching host logic levels

No 5 V tolerance or onboard regulator is assumed.

Connections by function

Select a pin for its function, connection guidance and electrical notes.

Supply2 pins

Ground5 pins

Shutdown1 pin

Interrupt1 pin

Do not connect1 pin

I²C bus2 pins

Read the conditions with every value

Typical values describe stated test conditions. Absolute maximum ratings are stress limits, not operating targets.

Official PDF datasheet

VL53L0X at a glance

Follow the labeled connections and functional stages

VL53L0X working principle: illustrated functional stages, basic circuit and connections
Select the diagram to read it at full resolution.

How it works

3 stages · Explore one step at a time

Step 1 / 3

Initialize and calibrate

Use ST’s API to initialize the sensor and apply required reference, offset and cover-glass calibration.

Step 2 / 3

Measure reflected light

The emitter and receiver collect timing information during the chosen measurement budget.

Step 3 / 3

Read distance and status

Wait for data-ready, read the result and clear the interrupt. Reject invalid or out-of-range samples.

VL53L0X in a circuit

Power, I²C, shutdown and optional interrupt.

Bare VL53L0X connected to a 2.8 V host with I2C pullups, supply bypass, shutdown and interrupt.
Configure 2V8 I/O mode in the ST API; pin 8 remains floating.

Connect it, step by step

Follow the component values and pin connections

Power

Connect both supplies and all five ground contacts.

Control

Fit pull-ups, drive XSHUT and connect the I²C host.

Measure

Initialize, calibrate, start ranging and verify result status.

Inside VL53L0X

Optical timing and signal processing inside the module.

VL53L0X compact functional cutaway with VCSEL, SPAD receiver, timing engine, processing and I2C interface.
Original functional illustration, not a transistor-level schematic.

Explore the circuit

Select a stage to see its role and connections

Emit

A 940 nm VCSEL sends infrared pulses.

Receive

The SPAD array detects returning photons.

Process

Timing and processing yield distance and validity status.

Selected packageOptical LGA-12VL53L0X
Physical connections12 pinsPackage-specific numbering
Reference collection6 tables35 parameters & pin functions

Pin reference

Signal names, electrical functions and connection guidance

Optical LGA-12
Physical pin numbers12 pins

Scroll within the table to see all columns and rows.

VL53L0X pin functions and connections
PinSignalTypeFunction & connection
AVDDVCSELEmitter supplySupply for the infrared VCSEL.
Connection guidance

Connect to the main 2.6–3.5 V rail; bypass near pins 1 and 2.

AVSSVCSELEmitter returnGround for the emitter supply.
Connection guidance

Connect to the main ground plane.

GNDGroundCommon ground contact.
Connection guidance

Connect to the main ground plane.

GND2GroundCommon ground contact.
Connection guidance

Connect to the main ground plane.

XSHUTActive-low shutdownLOW selects hardware standby.
Connection guidance

Drive from the host; use a 10 kΩ pull-up when host state is unknown.

Never leave this input floating. Drive HIGH only with AVDD present.

GND3GroundCommon ground contact.
Connection guidance

Connect to the main ground plane.

GPIO1Open-drain interruptSignals a programmed measurement event.
Connection guidance

Use a 10 kΩ pull-up to the selected I/O rail and a host input. Leave open if unused.

DNCDo not connectReserved internal contact.
Connection guidance

Leave floating; do not connect to ground or power.

SDAI²C dataBidirectional serial data.
Connection guidance

Pull up to the configured I/O rail; 1.5–2 kΩ is ST’s example at 2.8 V / 400 kHz.

SCLI²C clockClock input from the controller.
Connection guidance

Use up to 400 kHz with a suitable pull-up.

AVDDMain supplySensor supply.
Connection guidance

Connect to the same 2.6–3.5 V rail as pin 1.

GND4GroundCommon ground contact.
Connection guidance

Connect to the main ground plane.

Optical LGA-12 · Top view · pin 1 bottom-right · Select a pin number to open its interactive pinout.

Electrical conditions

Bare sensor, not a regulated breakout module

Manufacturer-referenced values8 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
AVDD and AVDDVCSEL2.6–3.5 VConnect to the same rail; nominal 2.8 V
Standard I/O mode1.6–1.9 V1.8 V nominal; API default mode
2V8 I/O mode2.6–3.5 VHIGH levels equal AVDD; configure via API
Ambient temperature−20 to +70°CNormal operating range
Active ranging current19 mA typical23°C / 2.8 V, default API, 33 ms budget
Peak currentUp to 40 mAIncluding VCSEL
Hardware standby5 µA typical / 7 µA maximumAt stated nominal temperature and voltage
Absolute voltage limit−0.5 to 3.6 VAVDD and digital I/O; stress limit, not operating range

Provide supply capacity for peak current and place the bypass capacitors close to the emitter supply pins.

Ranging profiles

Typical examples from manufacturer Table 13

Manufacturer-referenced values6 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Default30 ms1.2 m; accuracy depends on Table 12 test conditions
High accuracy200 ms1.2 m, better than ±3% under specified conditions
Long range33 ms2 m only in dark conditions without ambient IR
High speed20 ms1.2 m, ±5% under specified conditions
InterpretationBudget is not a guaranteed sample periodInclude host transfers and housekeeping
ValidityCheck range statusDo not accept a numeric distance from a failed sample

Target reflectance, ambient light, cover glass and calibration affect performance.

I²C and control

Address notation and board connections

Manufacturer-referenced values7 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Default address0x29 seven-bitDatasheet 0x52 write / 0x53 read include the direction bit
Maximum SCL400 kHzUse pull-ups for the selected I/O level
SDA / SCL pull-ups1.5–2 kΩ exampleST recommendation at AVDD=2.8 V and 400 kHz
XSHUT / GPIO1 pull-ups10 kΩ exampleGPIO1 may be open when unused; XSHUT must be driven
Multiple sensorsUse separate XSHUT control linesEnable one at a time and assign distinct addresses after each reset
InitializationST API requiredThis is not a simple analog distance-voltage output
DNC pin 8Leave floatingDo not use as ground or supply

The illustrated host uses 2.8 V-compatible I/O and enables the sensor’s 2V8 mode.

Optics and calibration

Keep the optical path clear

Manufacturer-referenced values7 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Emitter940 nm VCSELInvisible infrared source
ReceiverSPAD arraySingle-photon avalanche-diode technology
Package height1.0 mm nominal4.4 × 2.4 mm outline
Cover glassOffset and crosstalk calibrationFollow ST optical-window and exclusion-cone guidance
Reference calibrationFollow API sequenceRequired for the target design
Distance equationd = c × t / 2Conceptual round-trip relation; internal algorithms handle timing
500 mm illustrationAbout 3.34 ns round tripPhysics illustration, not an accessible host timer reading

Do not obscure either optical aperture with labels, paint or board hardware.

2.8 V ranging circuit

Bare-sensor application connections

Manufacturer-referenced values7 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
SupplyPins 1 and 11 to 2.8 V100 nF and 4.7 µF close to emitter supply / return
GroundPins 2, 3, 4, 6 and 12Connect to a common ground plane
BusSDA9 and SCL101.8 kΩ pull-ups to 2.8 V in this example
ShutdownXSHUT5 with 10 kΩ pull-upHost can pull LOW for hardware standby
InterruptGPIO1 pin 7 with 10 kΩ pull-upOptional host input
ReservedDNC8 floatingNo connection
Mode2V8 API configurationUse matching host logic levels

No 5 V tolerance or onboard regulator is assumed.

Read each value with its conditions

Typical values describe the stated test conditions. Absolute maximum ratings are stress limits, not operating targets.

STMicroelectronics · DocID029104 Rev 2 · April 2018
Official PDF datasheet

Take it into ProTech

Find VL53L0X in the Components Library to place its schematic symbol and connect its pins.

Reference page · circuit simulation model not yet availableOpen ProTech

Component view