HC-SR04 Ultrasonic Sensor with ESP32 – Measure Distance

Ultrasonic sensor HC-SR04 display distance on OLED with ESP32

This tutorial shows how to interface HC-SR04 or HY-SR05 Ultrasonic sensors with ESP32 for contactless distance measurement. First, we will learn to interface  HC-SR04 with ESP32. After that, we will see example codes with or without the Ultrasonic sensor Arduino library. Firstly, we will see an example to control an LED with ESP32 and an … Read more

VL53L0X LIDAR Distance Sensor Interfacing with Arduino

VL53L0X sensor Module ouput on Serial monitor

VL53L0X is a LIDAR based sensor which measures the distance between an object and a sensor. It measures distance up to 2m. This laser ranging sensor operates in a range of 2.5 to 3.6 volts and uses a time of flight principle for measuring distance. The sensor consists of a vertical-cavity surface-emitting laser (VCSEL). This … Read more