ESP32-Based Smart Water Quality Monitoring System with LCD Display and Wi-Fi Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes various sensors, an LCD display, a buzzer, a relay, and a microcontroller (ESP32). The circuit is designed to interface with multiple components to perform various sensing and control tasks. The ESP32 microcontroller is the central unit that communicates with all other components.
Component List
LCD Display 16x4 I2C
- Pins: SCL, SDA, VCC, GND
- Description: A 16x4 character LCD display with I2C interface.
DHT11
- Pins: DATA, GND, VCC
- Description: A digital temperature and humidity sensor.
Buzzer
- Pins: PIN, GND
- Description: An electronic device that emits sound.
Ultrasonic Sensor
- Pins: +VCC, Trigger, Echo, GND
- Description: A sensor used to measure distance by using ultrasonic waves.
Water Pump
- Pins: VCC, GND
- Description: A device used to move water.
Relay 4 Channel 5v
- Pins: GND, IN1, IN2, IN3, IN4, VCC, COM1, COM2, COM3, COM4, NO1, NO2, NO3, NO4, NC1, NC2, NC3, NC4
- Description: A relay module that can control up to 4 devices.
Turbidity Sensor
- Pins: OUT, VCC, GND
- Description: A sensor used to measure the turbidity (cloudiness) of water.
12v Power Supply
- Pins: +, -
- Description: A power supply that provides 12 volts.
ESP32 (30 pin)
- 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
- Description: A microcontroller with Wi-Fi and Bluetooth capabilities.
7805
- Pins: Vin, Gnd, Vout
- Description: A voltage regulator that outputs 5V.
Wiring Details
LCD Display 16x4 I2C
- SCL connected to ESP32 D22
- SDA connected to ESP32 D21
- VCC connected to ESP32 3V3
- GND connected to Common Ground
DHT11
- DATA connected to ESP32 D4
- VCC connected to ESP32 3V3
- GND connected to Common Ground
Buzzer
- PIN connected to ESP32 D2
- GND connected to Common Ground
Ultrasonic Sensor
- Trigger connected to ESP32 D5
- Echo connected to ESP32 D12
- +VCC connected to ESP32 3V3
- GND connected to Common Ground
Water Pump
- VCC connected to 12v Power Supply + via 7805 Vin
- GND connected to Common Ground
Relay 4 Channel 5v
- VCC connected to 7805 Vout
- GND connected to Common Ground
Turbidity Sensor
- OUT connected to ESP32 VP
- VCC connected to ESP32 3V3
- GND connected to Common Ground
12v Power Supply
- + connected to 7805 Vin
- - connected to Common Ground
ESP32 (30 pin)
- 3V3 connected to VCC of various components
- GND connected to Common Ground
- Vin connected to 7805 Vout
7805
- Vin connected to 12v Power Supply +
- Gnd connected to Common Ground
- Vout connected to Relay 4 Channel 5v VCC and ESP32 Vin
Code
No code provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code section. Each component is described, and its connections are detailed to ensure clarity and ease of understanding.