Raspberry Pi 4B-Based Water Quality Monitoring System with PH Meter and Temperature Sensing
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit integrates a Raspberry Pi 4B with several peripheral devices, including an SMA sensor, a PH Meter, a DHT11 temperature and humidity sensor, and an ADS1115 analog-to-digital converter (ADC). The Raspberry Pi 4B serves as the central processing unit, interfacing with the sensors and the ADC to monitor environmental parameters. The SMA sensor is used for signal amplification, the PH Meter for measuring the pH level of a solution, and the DHT11 for measuring temperature and humidity. The ADS1115 is used to convert the analog signals from the sensors into digital data that the Raspberry Pi can process.
Component List
Raspberry Pi 4B
- Description: A single-board computer with multiple GPIO pins for interfacing with various sensors and devices.
- Pins: 3V3, 5V, GPIO2, GPIO3, GND, GPIO4, GPIO14, GPIO15, GPIO17, GPIO18, GPIO27, GPIO22, GPIO23, GPIO24, GPIO10, GPIO9, GPIO25, GPIO11, GPIO8, GPIO7, ID_SD, GPIO5, GPIO6, GPIO12, GPIO13, GPIO19, GPIO16, GPIO26, GPIO20, GPIO21, ID_SC, TR01_TAP, TR00_TAP, TR03_TAP, TR02_TAP, RUN, GLOBAL_EN
SMA (Signal Amplification)
- Description: A sensor used for signal amplification.
- Pins: A0, D0, GND, VCC
PH Meter
- Description: A sensor used for measuring the pH level of a solution.
- Pins: Signal, VCC, GND
DHT11 (Temperature and Humidity Sensor)
- Description: A sensor used for measuring temperature and humidity.
- Pins: DATA, GND, VCC
ADS1115 (Analog-to-Digital Converter)
- Description: A precision ADC with 16-bit resolution used to convert analog signals into digital data.
- Pins: VDD, GND, SCL, SDA, ADDR, ALRT, A0, A1, A2, A3
Comments
- Description: Placeholder components for additional notes or documentation purposes.
- Pins: None
Wiring Details
Raspberry Pi 4B
- 3V3: Connected to VCC of SMA and PH Meter
- 5V: Connected to VDD of ADS1115 and VCC of DHT11
- GPIO2: Connected to SDA of ADS1115
- GPIO3: Connected to SCL of ADS1115
- GND: Common ground with SMA, PH Meter, ADS1115, and DHT11
- GPIO17: Connected to DATA of DHT11
SMA
- A0: Connected to A1 of ADS1115
- D0: Not connected
- GND: Connected to common ground
- VCC: Connected to 3V3 of Raspberry Pi 4B
PH Meter
- Signal: Connected to A0 of ADS1115
- VCC: Connected to 3V3 of Raspberry Pi 4B
- GND: Connected to common ground
DHT11
- DATA: Connected to GPIO17 of Raspberry Pi 4B
- GND: Connected to common ground
- VCC: Connected to 5V of Raspberry Pi 4B
ADS1115
- VDD: Connected to 5V of Raspberry Pi 4B
- GND: Connected to common ground
- SCL: Connected to GPIO3 of Raspberry Pi 4B
- SDA: Connected to GPIO2 of Raspberry Pi 4B
- ADDR: Not connected
- ALRT: Not connected
- A0: Connected to Signal of PH Meter
- A1: Connected to A0 of SMA
- A2: Not connected
- A3: Not connected
Documented Code
No code has been provided for the microcontrollers in the circuit. The documentation for the embedded code will be added once the code is available.