ESP32-Based Environmental Monitoring System with GPS and GSM Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
The circuit in question appears to be a multifunctional system incorporating various sensors and communication modules. It includes an IR sensor for detecting infrared light, a GPS module for location tracking, a pH meter for measuring the acidity or alkalinity of a solution, a turbidity module for assessing water clarity, and a SIM900A module for cellular communication. The system is powered by an 18650 Li-Ion battery and is controlled by an ESP32 microcontroller, which also interfaces with an ESP32-CAM module for camera functionalities. The circuit is designed to collect environmental data and communicate it, possibly for remote monitoring or data logging purposes.
Component List
IR Sensor
- Pins: out, gnd, vcc
- Description: An infrared sensor used for detecting infrared signals.
18650 Li-Ion Battery
- Pins: Positive, Negative
- Description: A rechargeable lithium-ion battery providing power to the circuit.
GPS NEO 6M Module
- Pins: VCC, RX, TX, GND
- Description: A GPS receiver module for obtaining geographical location data.
PH Meter
- Pins: Signal, VCC, GND
- Description: A sensor for measuring the pH level of a liquid.
ESP32 - CAM
- Pins: 5V, GND, IO12, IO13, IO15, IO14, IO2, IO4, VOT, VOR, VCC, IO0, IO16, 3V3
- Description: A camera module with Wi-Fi capabilities, based on the ESP32 chipset.
Turbidity Module
- Pins: GND, AO, DO, VCC, S+, SO, S-
- Description: A sensor module for measuring the turbidity (cloudiness) of water.
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, featuring a wide range of GPIOs.
SIM900A Module
- Pins: GND, DB9-3 (RXD), DB9-2 (TXD), 5V, 3VR, 5VR, 3VT, 5VT, VCC, Ring, RESTART, RESET, STATUS
- Description: A GSM/GPRS module for cellular network communication.
Wiring Details
IR Sensor
- out connected to ESP32 (30 pin) D14
- gnd connected to common ground net
- vcc connected to common 3V3 net
18650 Li-Ion Battery
- Positive connected to ESP32 (30 pin) Vin
- Negative connected to common ground net
GPS NEO 6M Module
- VCC connected to common 3V3 net
- RX connected to ESP32 (30 pin) TX0
- TX connected to ESP32 (30 pin) RX0
- GND connected to common ground net
PH Meter
- Signal connected to ESP32 (30 pin) D35
- VCC connected to common 3V3 net
- GND connected to common ground net
ESP32 - CAM
- 5V connected to common 3V3 net
- GND connected to common ground net
- IO0 connected to common ground net
- VOT connected to ESP32 (30 pin) RX0
- VOR connected to ESP32 (30 pin) TX0
Turbidity Module
- GND connected to common ground net
- AO connected to ESP32 (30 pin) D34
- DO connected to ESP32 (30 pin) D13
- VCC connected to common 3V3 net
ESP32 (30 pin)
- Vin connected to 18650 Li-Ion Positive
- GND connected to common ground net
- 3V3 connected to common 3V3 net
- TX0 connected to GPS NEO 6M RX and SIM900A DB9-3 (RXD)
- RX0 connected to GPS NEO 6M TX and SIM900A DB9-2 (TXD)
- D14 connected to IR Sensor out
- D35 connected to PH Meter Signal
- D34 connected to Turbidity Module AO
- D13 connected to Turbidity Module DO
SIM900A Module
- GND connected to common ground net
- VCC connected to common 3V3 net
- DB9-3 (RXD) connected to ESP32 (30 pin) TX0
- DB9-2 (TXD) connected to ESP32 (30 pin) RX0
Documented Code
No code has been provided for the microcontrollers in the circuit. Therefore, this section is currently empty. When code becomes available, it should be documented here with appropriate comments and explanations for each function and routine.