ESP32-Based Multi-Sensor 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 includes a pH meter, an ESP32 microcontroller, a DS18B20 temperature sensor, and two HC-SR04 ultrasonic sensors. The ESP32 microcontroller serves as the central unit, interfacing with all other components to gather data and perform necessary operations.
Component List
PH Meter
- Pins: Signal, VCC, GND
- Description: Measures the pH level of a solution.
- Purpose in Circuit: Provides pH level data to the ESP32.
ESP32 38 PINS
- Pins: GND, G23, G22, TXD, RXD, G21, G19, G18, G5, G17, G16, G4, G0, G2, G15, SDI, SD0, CLK, 3V3, EN, SP, SN, G34, G35, G32, 33, G25, G26, G27, G14, G12, G13, SD2, SD3, 5V
- Description: A versatile microcontroller with Wi-Fi and Bluetooth capabilities.
- Purpose in Circuit: Acts as the central processing unit, interfacing with all sensors and peripherals.
DS18B20
- Pins: signal, GND, vcc
- Description: A digital temperature sensor.
- Purpose in Circuit: Measures temperature and sends data to the ESP32.
HC-SR04 Ultrasonic Sensor
- Pins: VCC, TRIG, ECHO, GND
- Description: Measures distance using ultrasonic waves.
- Purpose in Circuit: Provides distance measurements to the ESP32.
HC-SR04 Ultrasonic Distance Sensor (Wokwi Compatible)
- Pins: VCC, TRIG, ECHO, GND
- Description: Another variant of the HC-SR04 ultrasonic sensor.
- Purpose in Circuit: Provides distance measurements to the ESP32.
Wiring Details
PH Meter
- Signal connected to G34 of ESP32 38 PINS
- VCC connected to 3V3 of ESP32 38 PINS
- GND connected to GND of ESP32 38 PINS
ESP32 38 PINS
- G34 connected to Signal of PH Meter
- 3V3 connected to VCC of PH Meter, VCC of HC-SR04 Ultrasonic Sensor, vcc of DS18B20, VCC of HC-SR04 Ultrasonic Distance Sensor (Wokwi Compatible)
- GND connected to GND of PH Meter, GND of HC-SR04 Ultrasonic Distance Sensor (Wokwi Compatible), GND of HC-SR04 Ultrasonic Sensor, GND of DS18B20
- G17 connected to ECHO of HC-SR04 Ultrasonic Distance Sensor (Wokwi Compatible)
- G16 connected to TRIG of HC-SR04 Ultrasonic Distance Sensor (Wokwi Compatible)
- G4 connected to signal of DS18B20
- G25 connected to TRIG of HC-SR04 Ultrasonic Sensor
- G26 connected to ECHO of HC-SR04 Ultrasonic Sensor
DS18B20
- signal connected to G4 of ESP32 38 PINS
- vcc connected to 3V3 of ESP32 38 PINS
- GND connected to GND of ESP32 38 PINS
HC-SR04 Ultrasonic Sensor
- VCC connected to 3V3 of ESP32 38 PINS
- TRIG connected to G25 of ESP32 38 PINS
- ECHO connected to G26 of ESP32 38 PINS
- GND connected to GND of ESP32 38 PINS
HC-SR04 Ultrasonic Distance Sensor (Wokwi Compatible)
- VCC connected to 3V3 of ESP32 38 PINS
- TRIG connected to G16 of ESP32 38 PINS
- ECHO connected to G17 of ESP32 38 PINS
- GND connected to GND of ESP32 38 PINS
Code
No code is provided for this circuit.