ESP32-Based Environmental Monitoring System with Water Flow Sensing
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
The circuit in question appears to be designed for environmental monitoring, featuring an ESP32 Devkit V1 microcontroller as the central processing unit. It interfaces with a DHT22 temperature and humidity sensor and a water flow sensor. The ESP32 is responsible for reading data from these sensors and possibly transmitting the data for further processing or display. Power is supplied to the circuit through a USB connection, which is broken out into a 2-pin connection for easy interfacing with the microcontroller and sensors.
Component List
ESP32 Devkit V1
- Description: A popular microcontroller with Wi-Fi and Bluetooth capabilities, suitable for a wide range of IoT applications.
- Pins: 3V3, GND, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, VIN
Water Flow Sensor
- Description: A sensor used to measure the flow rate of water through a pipe or other channel.
- Pins: Signal, Vcc, GND
DHT22
- Description: A sensor used for measuring temperature and humidity in the environment.
- Pins: + (Vcc), Out (Signal), - (GND)
Micro USB to Cable (2 Pin)
- Description: A cable that provides power from a USB source, broken out into a 2-pin connector.
- Pins: Micro USB, + (Vcc), - (GND)
USB Male 2 Pin Connection
- Description: A connector that allows for power to be supplied through a standard USB connection.
- Pins: Negative (-), Positive (+)
Wiring Details
ESP32 Devkit V1
- 3V3 connected to DHT22 Vcc (+)
- GND connected to Water Flow Sensor GND and DHT22 GND (-)
- D23 connected to Water Flow Sensor Signal
- D33 connected to DHT22 Out (Signal)
- VIN connected to Water Flow Sensor Vcc
Water Flow Sensor
- Signal connected to ESP32 Devkit V1 D23
- Vcc connected to ESP32 Devkit V1 VIN
- GND connected to ESP32 Devkit V1 GND
DHT22
-
- (Vcc) connected to ESP32 Devkit V1 3V3
- Out (Signal) connected to ESP32 Devkit V1 D33
-
- (GND) connected to ESP32 Devkit V1 GND
Micro USB to Cable (2 Pin)
-
- (Vcc) connected to USB Male 2 Pin Connection Positive (+)
-
- (GND) connected to USB Male 2 Pin Connection Negative (-)
USB Male 2 Pin Connection
- Positive (+) connected to Micro USB to Cable (2 Pin) +
- Negative (-) connected to Micro USB to Cable (2 Pin) -
Documented Code
No code has been provided for the microcontrollers in the circuit. Typically, this section would include the embedded code written for the microcontroller, along with comments explaining the functionality of the code, initialization of peripherals, and the main program loop. Since no code is available, this section remains empty.