GY-53 VL53L0X Laser Time-of-Flight Distance Sensor Module – 2m, UART, PWM & I²C
The GY-53 VL53L0X Laser Time-of-Flight (ToF) Distance Sensor Module is a compact, low-power digital distance sensor designed for accurate, non-contact distance measurement.
Powered by the STMicroelectronics VL53L0X laser-ranging sensor and an onboard microcontroller, the GY-53 measures the distance to nearby objects using infrared Time-of-Flight technology.
Unlike conventional infrared distance sensors that estimate distance from reflected light intensity, the VL53L0X uses the travel time of reflected infrared light to calculate distance, making it less sensitive to variations in object color and reflectivity.
The module supports UART, PWM, and I²C communication, making it suitable for Arduino, ESP32, Raspberry Pi, STM32, robotics, automation, and IoT applications.
Key Features
-
Sensor IC: VL53L0X
-
Module Model: GY-53
-
Technology: Laser Time-of-Flight (ToF)
-
Maximum Measurement Range: Up to 2m under suitable conditions
-
Recommended Measurement Range: Approximately 30–1000mm for typical applications
-
Distance Resolution: 1mm
-
Infrared Laser: 940nm VCSEL
-
Laser Classification: Class 1
-
Operating Voltage: 3–5V DC
-
Typical Operating Current: Approximately 25mA
-
Communication Interfaces: UART, PWM, and I²C
-
UART Baud Rates: 9600bps / 115200bps
-
Output Modes: Continuous and On-Demand Measurement
-
Compact Design: 25 × 15.6mm
Technical Specifications
| Parameter |
Specification |
| Module |
GY-53 |
| Sensor |
VL53L0X |
| Additional Controller |
Onboard Microcontroller |
| Sensor Manufacturer |
STMicroelectronics |
| Measurement Technology |
Optical Time-of-Flight |
| Maximum Distance |
Up to 2000mm |
| Typical Practical Range |
30–1000mm |
| Distance Resolution |
1mm |
| Infrared Wavelength |
940nm |
| Laser Class |
Class 1 |
| Operating Voltage |
3–5V DC |
| Typical Current |
25mA |
| Communication |
UART / PWM / I²C |
| UART Baud Rate |
9600 / 115200bps |
| Measurement Timing |
Approximately 22ms, configuration-dependent |
| Sensor Operating Temperature |
-20°C to +70°C |
| Module Dimensions |
25 × 15.6mm |
Time-of-Flight Measurement
The GY-53 uses STMicroelectronics' FlightSense technology to determine the distance between the sensor and an object.
The sensor emits invisible infrared laser light at a wavelength of 940nm. Reflected light is detected by the internal receiver, allowing the sensor to calculate the distance.
This technology provides several advantages:
- Non-Contact Distance Measurement
- Compact Optical Sensing
- Reduced Dependence on Target Color
- Digital Distance Output
- Fast Measurement Response
- Suitable for Robotics and Automation
Communication Interfaces
UART Serial Communication
The GY-53 includes an onboard controller that can provide distance measurements directly through a TTL UART interface.
- Configurable Baud Rate: 9600bps or 115200bps
- Continuous Output Mode
- Query-Based Output Mode
- Direct Digital Distance Data
UART communication simplifies integration without requiring complex distance-calculation algorithms on the host microcontroller.
PWM Output
The module can output distance information as a PWM signal.
A microcontroller can measure the pulse timing and convert it into a distance value according to the module's communication protocol.
I²C Communication
The GY-53 also supports direct I²C communication with the VL53L0X sensor.
-
Default 7-Bit I²C Address: 0x29
-
I²C Speed: Up to 400kHz
The selected operating mode determines which interface is active.
Pin Configuration
Depending on the module revision, available connections may include:
| Pin |
Function |
| VCC |
3–5V Power Supply |
| GND |
Ground |
| TX |
UART Transmit |
| RX |
UART Receive |
| PWM |
Distance PWM Output |
| PS |
UART / I²C Mode Selection |
| SDA |
I²C Data |
| SCL |
I²C Clock |
| XSHUT |
Sensor Shutdown Control |
| GPIO1 |
Sensor Interrupt / Status |
Always refer to the markings on the supplied board before wiring.
Arduino Compatibility
The GY-53 can be connected to Arduino boards using UART or I²C.
Applications include:
- Obstacle Detection
- Distance Measurement
- Robot Navigation
- Object Position Monitoring
- Automatic Control Systems
Compatible Arduino libraries and serial communication examples can be used according to the selected operating mode.
ESP32 Compatibility
The module is suitable for ESP32 projects requiring compact distance sensing.
Typical applications include:
- Autonomous Robots
- Smart Sensors
- IoT Distance Monitoring
- Obstacle Avoidance
- Contactless Controls
- Object Detection
For ESP32, use 3.3V-compatible communication signals.
Raspberry Pi Compatibility
The GY-53 can communicate with Raspberry Pi through UART or I²C.
It provides digital distance information, so an external analog-to-digital converter is not required.
The module can be used for Linux-based robotics, distance monitoring, and automation applications.
Applications
Ideal for:
- Robot Obstacle Avoidance
- Autonomous Mobile Robots
- Distance Measurement
- Object Detection
- Robot Navigation
- Smart Home Automation
- Industrial Automation
- Position Monitoring
- Contactless Control Systems
- Liquid Level Monitoring
- Educational Robotics
- Arduino Projects
- ESP32 Projects
- Raspberry Pi Projects
- STM32 Development
- University Projects
- DIY Electronics
Advantages
- Laser Time-of-Flight Technology
- Up to 2m Measurement Range
- Compact Module Design
- Digital Distance Output
- Multiple Communication Interfaces
- Low Power Consumption
- Fast Measurement Response
- No External ADC Required
- Easy Integration with Microcontrollers
- Suitable for Embedded Robotics
Important Notes
- The maximum 2m measurement range depends on target reflectivity, ambient lighting, and sensor configuration.
- The sensor is intended for short-range distance measurement, not long-range LiDAR scanning.
- Strong ambient infrared light and highly reflective or transparent surfaces may affect performance.
- The VL53L0X sensor IC operates at a lower voltage than the complete GY-53 module. The module includes voltage regulation for its specified 3–5V input.
- Confirm UART and I²C signal voltage levels before connecting to 3.3V-only microcontrollers.
- The GY-53 module differs from basic VL53L0X breakout boards because it includes an additional controller for UART and PWM output.
- Remove any protective film covering the optical sensor before use.
- This is a single-point distance sensor, not a 2D or 3D scanning LiDAR.
Package Includes
1 × GY-53 VL53L0X Laser Time-of-Flight Distance Sensor Module