Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

ESP32-Based Smart Water Pump Controller with Ultrasonic Sensor and LCD Display

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Water Pump Controller with Ultrasonic Sensor and LCD Display

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that integrates an ESP32 microcontroller, an LCD display, an I2C module, a 5V Type C DC socket, a mini diaphragm water pump, an HC-SR04 ultrasonic sensor, and a 5V relay. The circuit is designed to control the water pump based on sensor inputs and display relevant information on the LCD.

Component List

  1. ESP32 (30 pin)

    • Description: A powerful microcontroller with built-in Wi-Fi and Bluetooth capabilities.
    • Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
  2. LCD Display (16 pin)

    • Description: A 16x2 character LCD display.
    • Pins: VSS, VDD, VO, RS, R_W, E, DB0, DB1, DB2, DB3, DB4, DB5, DB6, DB7, A, K
  3. I2C module

    • Description: A module to interface with I2C devices.
    • Pins: SCL, SDA, VCC, GND
  4. 5V Type C DC Socket

    • Description: A power input socket for 5V Type C power supply.
    • Pins: - Negative, + Positive
  5. Mini Diaphragm Water Pump

    • Description: A small water pump for liquid transfer.
    • Pins: Positive (+), Negative (-)
  6. HC-SR04 Ultrasonic Sensor

    • Description: A sensor to measure distance using ultrasonic waves.
    • Pins: VCC, TRIG, ECHO, GND
  7. 5V relay

    • Description: A relay module to control high voltage devices.
    • Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC

Wiring Details

ESP32 (30 pin)

LCD Display (16 pin)

I2C module

5V Type C DC Socket

Mini Diaphragm Water Pump

HC-SR04 Ultrasonic Sensor

5V relay

Code

No code was provided for the microcontrollers in this circuit.