Smart Fan

Aim

The goal of this activity is to demonstrate an automatic fan controller using an Ultrasonic sensor.

Materials Required

  1. ESP32-1
  2. Breadboard -1
  3. Breadboard  Power Supply -1
  4. DC Motor-1
  5. Micro USB Cable
  6. Ultrasonic Sensor-1
  7. L293D Motor Driver
  8. Several Jumper Wires
  9.  Type -A to Type-A Cable

Wiring Diagram

Desired Outcome

 Place an object in front of the ultrasonic sensor, the motor will rotate.