distance Sensors
Compatible with ESP32

The list of distance sensors for your ESP32 projects, complete with wiring guides and code examples.

Distance sensors enable your ESP32 or Arduino board to measure how far an object is from a reference point. These sensors are widely used in robotics, automated parking systems, obstacle detection, and touchless interfaces. Depending on the module, they use technologies like ultrasonic sound, infrared reflection, or laser time-of-flight (ToF) to provide accurate, real-time distance measurements.

Popular modules include the HC-SR04 ultrasonic sensor, VL53L0X ToF laser sensor, and Sharp GP2Y0A IR distance sensor. These components connect easily to the GPIO pins on ESP32 or Arduino boards and are supported by libraries and example code in both the Arduino IDE and PlatformIO.

With ESP32, you can wirelessly transmit distance data over Wi-Fi or Bluetooth, while Arduino boards are excellent for creating simple, standalone measurement tools or real-time obstacle detectors for mobile robots.

Sensors List

TOF200C Time-of-Flight Sensor image

TOF200C

distance I2C

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

Learn More
TOF050C Time-of-Flight Sensor image

TOF050C

distance I2C

The TOF050C is a short-range laser-ranging sensor using the VL6180 chip, offering highly accurate distance measurements...

Learn More
TOF400C Time-of-Flight Sensor image

TOF400C

distance I2C

The TOF400C is a long-range laser-based time-of-flight (ToF) sensor based on the VL53L1X chip from STMicroelectronics....

Learn More
TOF10120 Laser Distance (Time of Flight) Sensor image

TOF10120

distance I2C UART

The TOF10120 is an advanced, high-performance laser distance sensor that uses time-of-flight technology to measure...

Learn More
VL53L0X Time-of-Flight Distance Sensor image

VL53L0X

distance I2C

The VL53L0X is an advanced Time-of-Flight distance sensor offering accurate, laser-based measurements over a range of 30...

Learn More
VL53L1X Time-of-Flight Sensor image

VL53L1X

distance I2C

The VL53L1X is a high-accuracy long-distance laser-ranging sensor from STMicroelectronics. It uses a 940nm VCSEL emitter...

Learn More
VL6180X Time-of-Flight Sensor image

VL6180X

distance I2C

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

Learn More
VL53L0X V2 Time-of-Flight Sensor image

VL53L0X V2

distance I2C

The VL53L0X V2 (GY-VL53L0XV2) is a high-accuracy Time-of-Flight (ToF) laser ranging sensor that can measure distances up...

Learn More
GY-530 VL53L0X Time-of-Flight Sensor image

GY-530

distance I2C

The GY-530 is a breakout board for the VL53L0X Time-of-Flight (ToF) sensor from STMicroelectronics. It uses FlightSense...

Learn More
HC-SR04 Ultrasonic Distance Sensor image

HC-SR04

distance Trigger/Echo

The HC-SR04 is a versatile ultrasonic distance sensor capable of measuring distances up to 4 meters with high precision....

Learn More
JSN-SR04T Waterproof Ultrasonic Distance Sensor image

JSN-SR04T

distance Trigger/Echo

The JSN-SR04T is a waterproof ultrasonic distance sensor ideal for outdoor and industrial applications. With a measuring...

Learn More
A02YYUW Waterproof Ultrasonic Distance Sensor image

A02YYUW

distance UART

The A02YYUW is a waterproof ultrasonic distance sensor ideal for outdoor and industrial applications. With a measuring...

Learn More