GY-530 VL53L0X Time-of-Flight Sensor

GY-530 VL53L0X Time-of-Flight Sensor image

View on Amazon

Overview

The GY-530 is a breakout board for the VL53L0X Time-of-Flight (ToF) sensor from STMicroelectronics. It uses FlightSense technology to measure distances up to 2 meters with 1mm resolution and includes onboard level shifting and voltage regulation, making it compatible with 3.3V and 5V microcontrollers.

Code Examples

About GY-530 VL53L0X Time-of-Flight Sensor

📏 GY-530 Sensor Overview

  • Sensor: VL53L0X (STMicroelectronics)
  • Range: 3cm to 200cm (max), with 1mm resolution
  • Interface: I²C (with level shifters)
  • Operating Voltage: 2.6V to 5.5V (via VIN)
  • Board Size: ~20mm x ~15mm
  • Colors: Available in both blue and purple PCBs - functionally identical
  • Additional Pins: XSHUT (shutdown) and VDD (2.8V regulator output)

Check Other sensors modules based on VL53L0X Time of Flight Sensor:

Where to Buy

Get Your GY-530

GY-530 VL53L0X Time-of-Flight Sensor

Starting from

2.50$ per unit

Amazon com
Amazon.com Ships worldwide
Amazon de
Amazon.de Ships to EU
Aliexpress
AliExpress Best value option

Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.

Pin Configuration

GY-530 Pinout

The GY-530 breakout board has 6 pins for the VL53L0X Time-of-Flight sensor with onboard regulation and level shifting.

Visual Pinout Diagram

Pinout Diagram Primary
GY-530 VL53L0X Time-of-Flight Sensor pinout
6
Total Pins

Pin Types

Power
3
Control
1

Quick Tips

Based

on VL53L0X Time-of-Flight sensor,[object Object]

[object

Object],Class 1 laser (940nm, eye-safe)

Onboard

2.8V regulator and I²C level shifters,Available in blue and purple PCBs (functionally identical)

Pin Descriptions

Pin NameTypeDescriptionNotes
1 VIN
Power

Power input (2.6V-5.5V). Wide voltage range with onboard regulator.

Use 3.3V or 5V depending on microcontroller.

2 GND
Power

Ground connection. Connect to system ground.

3 SCL
I2C

I²C clock line (level-shifted to VIN voltage).

Connect to ESP32 GPIO 22. Level shifters included.

4 SDA
I2C

I²C data line (level-shifted to VIN voltage).

Connect to ESP32 GPIO 21. Level shifters included.

5 XSHUT
Control

Shutdown pin (active low). Pull low to disable sensor.

Optional - used for software reset or multi-sensor setups.

6 VDD
Power

2.8V output from onboard regulator. Can power external 2.8V devices.

Max 10mA output. Can also be used as input if VIN disconnected.

Connection Guide

Wiring GY-530 to ESP32

To interface the GY-530 with an ESP32 via I²C, connect VIN to 3.3V or 5V, GND to ground, SDA to GPIO 21, and SCL to GPIO 22.

Visual Wiring Diagram

Wiring Diagram Recommended
GY-530 VL53L0X Time-of-Flight Sensor wiring with ESP32
5
Connections

Connection Status

Required
4
Optional
1

Protocol

I2C

Pin Connections

GY-530 PinConnectionESP32 PinDescription
1 VIN Required
3.3V or 5V

Power supply. Use 3.3V or 5V (onboard regulator handles both).

2 GND Required
GND

Ground connection.

3 SDA Required
GPIO 21

I²C data line. Level shifters included on board.

4 SCL Required
GPIO 22

I²C clock line. Level shifters included on board.

5 XSHUT Optional
Optional GPIO or VIN

Shutdown control. Pull high for normal operation.

[object

Object]

No

external pull-up resistors needed - included on breakout board

Onboard

level shifters - safe for 3.3V and 5V systems

Use

Adafruit_VL53L0X or VL53L0X_rasp library

Range:

30mm to 2000mm (optimal: 50-1200mm)

FOV:

25° (best accuracy with perpendicular surfaces)

For

multiple sensors: use XSHUT to set unique I²C addresses

Measurement

modes: Single, Continuous, Timed

Accuracy:

±3% at distances > 200mm

Help & Support

GY-530 Troubleshooting

Common issues and solutions to help you get your sensor working

Common Issues

Debugging Tips

Code Examples

GY-530 Programming Examples

Ready-to-use code examples for different platforms and frameworks

Summary

Wrapping Up GY-530

The ESP32 GY-530 VL53L0X Time-of-Flight Sensor is a powerful distance sensor that offers excellent performance and reliability. With support for multiple development platforms including Arduino, ESP-IDF, ESPHome, PlatformIO, and MicroPython, it's a versatile choice for your IoT projects.

Best Practices

For optimal performance, ensure proper wiring and follow the recommended configuration for your chosen development platform.

Safety First

Always verify power supply requirements and pin connections before powering up your project to avoid potential damage.

Ready to Start Building?

Now that you have all the information you need, it's time to integrate the GY-530 into your ESP32 project and bring your ideas to life!

Similar Options

Explore Alternative Sensors

Looking for alternatives to the GY-530? Check out these similar sensors that might fit your project needs.

VL6180X Time-of-Flight Sensor

VL6180X Time-of-Flight Sensor

DISTANCE I2C

The VL6180X is a short-range proximity and ambient light sensor that combines a 3-in-1 system: IR emitter, sensor, and ranging processor. It...

View Details
JSN-SR04T Waterproof Ultrasonic Distance Sensor

JSN-SR04T Waterproof Ultrasonic Distance Sensor

DISTANCE Trigger/Echo

The JSN-SR04T is a waterproof ultrasonic distance sensor ideal for outdoor and industrial applications. With a measuring range of up to 6...

View Details
TOF200C Time-of-Flight Sensor

TOF200C Time-of-Flight Sensor

DISTANCE I2C

The TOF200C is a compact, low-cost laser-ranging sensor based on the VL53L0X time-of-flight chip from STMicroelectronics. It provides...

View Details