GYVL53L0XV2 Laser Ranging ToF Distance Sensor Module with Serial UART and PWM Outputs
Upgrade your robotics and automation projects with the high-precision GYVL53L0XV2 Laser Ranging ToF Sensor Module. Built on STMicroelectronics’ premier VL53L0X FlightSense™ technology, this purple-edition breakout accurately calculates absolute distances up to 2 meters independent of target color or surface reflectance. Equipped with an onboard STM32 coprocessor, it abstracts complex I2C coding by directly outputting absolute distance values via standard Serial UART and PWM digital streams. Provided with an unsoldered pin header, it gives developers total assembly flexibility for low-profile tracking setups.
₹ 222
₹ 361
| : |
Add FAQ
Detailed Description
The GYVL53L0XV2 Laser Ranging ToF Sensor Module is an advanced, ultra-compact alternative to standard infrared distance modules and ultrasonic transducers. Traditional infrared distance sensors gauge proximity based on the intensity of bounced light, meaning dark surfaces or highly polished objects throw off calibration dramatically. Ultrasonic sensors emit a wide cone of sound that struggles in confined paths. The GYVL53L0XV2 bypasses these limitations completely by operating as a miniature solid-state LiDAR system utilizing Time-of-Flight (ToF) technology.
The board centers around ST’s patented VL53L0X sensor hardware. It fires an eye-safe, totally invisible 940nm vertical-cavity surface-emitting laser (VCSEL). The light hits the target, bounces back, and is captured by a high-speed Single Photon Avalanche Diode (SPAD) detector array. The module counts the exact picoseconds the light took to travel, deriving a dead-accurate absolute millimeter distance reading.
To make prototyping simpler, the GYVL53L0XV2 features a built-in STM32 microcontroller coprocessor. Raw VL53L0X sensors demand massive API library calls over I2C, chewing up host MCU processing power. This module's integrated coprocessor calculates those algorithms locally on the board. It handles all background calibrations and effortlessly streams calculated distance metrics over an easy-to-read Serial UART port or a Pulse-Width Modulation (PWM) signal.
Key Features and Benefits
-
True FlightSense™ Time-of-Flight: Yields precision accuracy independent of target color, size, and reflectivity profiles.
-
Onboard STM32 Decoder: The chip strips away complex multi-register I2C configuration loops by translating raw photodiode data into readable digital formats.
-
Dual Digital Outputs: Supports easy-to-parse 9600-baud continuous Serial UART data or a proportional PWM duration loop.
-
Narrow Sighting Zone: Features a precise $pm15^circ$ Field of View (FoV), ideal for scanning tight openings without picking up background wall reflections.
-
Unsoldered Prototyping Form Factor: Shipped with the 2.54mm pitch breakout header completely unsoldered. This lets makers wire straight to the board with flying leads for low-profile chassis fits or embed it into custom PCB footprints.
Technical Specifications
| Feature Component | Specification Details |
| Core Ranging Sensor | STMicroelectronics VL53L0X FlightSense™ Engine |
| Onboard Coprocessor IC | STMicroelectronics 32-Bit STM32 Core Architecture |
| Laser Emitter Waveband | 940 nm Invisible VCSEL Array (Class 1 Eye-Safe) |
| Measurement Distance Bounds | 30 mm to 2000 mm (2 Meters absolute max) |
| Ranging Data Resolution | Down to 1 mm step increments |
| Operating Logic Supply | 3.0V to 5.5V DC (Equipped with onboard LDO regulator) |
| Default UART Baud Speed | 9600 bps (8 Data Bits, No Parity, 1 Stop Bit) |
| PWM Ranging Output Form | Microsecond duration directly proportional to mm distance (10μs = 1mm) |
| Sensor Sampling Window | Refresh tracking rates under ≤ 50ms execution blocks |
How to Configure & Wire
Pinout Configuration Matrix:
-
VCC: Power input line (+3.3V to +5V safe zone).
-
GND: Ground connection line.
-
TX: Serial transmit line. Outputs continuous 9600-baud string distance readings.
-
RX: Serial receive config line.
-
PWM: Outputs a pulse-width modulated signal. The duration of the high pulse translates directly to the measured object distance.
-
PS: Protocol Select pin. Pull to ground/leave floating for Serial UART/PWM mode; connect to VCC to bypass the STM32 and access the raw internal chip over native I2C.
Quick Setup Prototyping Steps (PWM Mode Default):
-
Solder the included headers onto the board if breadboarding, or attach custom wires. Connect VCC to your microcontroller's 5V rail and GND to common system ground.
-
Keep the PS pin disconnected to lock the coprocessor into its standard Serial/PWM operations.
-
Wire the module's PWM output pin to a digital input capture pin on your microcontroller (e.g., Arduino Pin 5).
-
Run the code block below. The microcontroller utilizes
pulseIn()to capture the high-pulse duration in microseconds, dividing it by 10 to extract clean, real-time millimeter distance data:
int pwmInputPin = 5; // Wired directly to the GYVL53L0XV2 PWM Pin
unsigned long highDuration;
void setup() {
Serial.begin(9600); // Open standard monitor stream at 9600 baud
pinMode(pwmInputPin, INPUT);
delay(500);
Serial.println("GYVL53L0XV2 PWM Decoder Active. Gathering distance data...");
}
void loop() {
// Read the high pulse time length returning from the STM32 co-chip
highDuration = pulseIn(pwmInputPin, HIGH);
// 10 microseconds corresponds exactly to 1 millimeter of target distance
uint16_t absoluteDistanceMM = highDuration / 10;
Serial.print("Target Distance: ");
Serial.print(absoluteDistanceMM);
Serial.print(" mm | Pulse Duration: ");
Serial.print(highDuration);
Serial.println(" us");
delay(100); // 10Hz poll rate pacing interval
}
Applications
-
Robotic Wall Tracking & Mazes: Gives miniature rovers precise wall-following data and tight cliff-detection capabilities without bulky sensory mounts.
-
UAV & Drone Altitude Hold: Serves as a localized micro-LiDAR landing altimeter for indoor quadcopters to ensure stable, automated hovers.
-
Touchless Gesture Switches: Perfect for touch-free control layouts, sanitary input buttons, and smart cabinet interior lighting arrays.
-
Liquid Level Tracking: Easily handles container volume checks and inventory positioning systems due to its high immunity to surface reflections.
Package Includes
-
1 x GYVL53L0XV2 Laser Ranging ToF Sensor Module Breakout
-
1 x 6-Pin Straight Male Breakout Pin Strip (Unsoldered Component)
Shipping & Delivery
-
Free shipping on orders above ₹999 across India
-
Dispatched within 1-3 business days
-
Expected delivery: 3-7 business days depending on location
-
Secure packaging to ensure safe transit of electronic components
0 Reviews For this Product