ESP32-Based Smart Environmental Monitoring System with Wi-Fi Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that integrates various sensors and components with an ESP32 microcontroller. The circuit includes an ultrasonic sensor, a pressure sensor, a DHT11 temperature and humidity sensor, a water flow sensor, a load cell, an HX711 bridge sensor interface, and a buzzer. The ESP32 microcontroller serves as the central unit, interfacing with all the sensors and components to collect data and perform actions.
Component List
ESP32
- 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, 3V3, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, BOOT
DHT11
- Description: A basic, low-cost digital temperature and humidity sensor.
- Pins: DATA, GND, VCC
SparkFun Pressure Sensor Breakout - MS5803-14BA
- Description: A high-resolution pressure sensor.
- Pins: GND, 3.3V, SDA/SDI, SCL/SCLK, SDO, AD/CS, PS
Ultrasonic Sensor
- Description: A sensor used to measure distance by using ultrasonic waves.
- Pins: +VCC, Trigger, Echo, GND
Buzzer
- Description: An audio signaling device.
- Pins: PIN, GND
Load Cell - Red/white/black/green
- Description: A sensor used to measure weight or force.
- Pins: E+, A-, E-, A+
Water Flow Sensor
- Description: A sensor used to measure the flow rate of water.
- Pins: Signal, Vcc, GND
HX711 - Bridge Sensor Interface
- Description: An interface for bridge sensors like load cells.
- Pins: E+, E-, A-, A+, B-, B+, GND - GROUND, DATA (OUT), SCK - CLOCK (IN), 3.3/3.5V Supply
Wiring Details
ESP32
GND is connected to:
- GND of Ultrasonic Sensor
- GND of SparkFun Pressure Sensor Breakout - MS5803-14BA
- GND of HX711 - Bridge Sensor Interface
- GND of Buzzer
- GND of Water Flow Sensor
- GND of DHT11
VIN is connected to:
- +VCC of Ultrasonic Sensor
3V3 is connected to:
- 3.3V of SparkFun Pressure Sensor Breakout - MS5803-14BA
- 3.3/3.5V Supply of HX711 - Bridge Sensor Interface
- Vcc of Water Flow Sensor
- VCC of DHT11
D33 is connected to:
- Trigger of Ultrasonic Sensor
D26 is connected to:
- Echo of Ultrasonic Sensor
D15 is connected to:
- DATA (OUT) of HX711 - Bridge Sensor Interface
D2 is connected to:
- Signal of Water Flow Sensor
D4 is connected to:
- SCK - CLOCK (IN) of HX711 - Bridge Sensor Interface
D5 is connected to:
- PIN of Buzzer
D18 is connected to:
- DATA of DHT11
D21 is connected to:
- SDA/SDI of SparkFun Pressure Sensor Breakout - MS5803-14BA
D22 is connected to:
- SCL/SCLK of SparkFun Pressure Sensor Breakout - MS5803-14BA
DHT11
DATA is connected to:
- D18 of ESP32
GND is connected to:
- GND of ESP32
VCC is connected to:
- 3V3 of ESP32
SparkFun Pressure Sensor Breakout - MS5803-14BA
GND is connected to:
- GND of ESP32
3.3V is connected to:
- 3V3 of ESP32
SDA/SDI is connected to:
- D21 of ESP32
SCL/SCLK is connected to:
- D22 of ESP32
Ultrasonic Sensor
+VCC is connected to:
- VIN of ESP32
Trigger is connected to:
- D33 of ESP32
Echo is connected to:
- D26 of ESP32
GND is connected to:
- GND of ESP32
Buzzer
PIN is connected to:
- D5 of ESP32
GND is connected to:
- GND of ESP32
Load Cell - Red/white/black/green
E+ is connected to:
- E+ of HX711 - Bridge Sensor Interface
A- is connected to:
- A- of HX711 - Bridge Sensor Interface
E- is connected to:
- E- of HX711 - Bridge Sensor Interface
A+ is connected to:
- A+ of HX711 - Bridge Sensor Interface
Water Flow Sensor
Signal is connected to:
- D2 of ESP32
Vcc is connected to:
- 3V3 of ESP32
GND is connected to:
- GND of ESP32
HX711 - Bridge Sensor Interface
E+ is connected to:
- E+ of Load Cell
A- is connected to:
- A- of Load Cell
E- is connected to:
- E- of Load Cell
A+ is connected to:
- A+ of Load Cell
GND - GROUND is connected to:
- GND of ESP32
DATA (OUT) is connected to:
- D15 of ESP32
SCK - CLOCK (IN) is connected to:
- D4 of ESP32
3.3/3.5V Supply is connected to:
- 3V3 of ESP32
Code
No code is 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 proper assembly and functionality.