Using Ultrasonic Sensor

Aim

 The goal of this activity is to integrate a distance sensor with ESP32 and measure distance.

Materials Required

  1. Breadboard -1
  2. ESP32-1
  3. Several Jumper Wires
  4. Micro USB Cable
  5. I2C Module -1
  6. Ultrasonic Sensor
  7. Breadboard 
  8. LCD -1

Wiring Diagram

Desired Outcome

When you place an object in front of the Ultrasonic distance sensor, the distance between the object and sensor will be displayed on LCD using ESP32.