Raspberry Pi and ADS1115-Based pH Monitoring System with Relay Control
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves a Raspberry Pi 3B, an ADS1115 analog-to-digital converter, multiple pH Meter V1.1 sensors, and a 4-channel relay module. The Raspberry Pi serves as the central controller, interfacing with the ADS1115 for analog-to-digital conversion and controlling the relay module. The pH meters provide analog data to the ADS1115, which is then read by the Raspberry Pi.
Component List
Raspberry Pi 3B
- Description: A single-board computer used as the central controller.
- Pins: 3v3, GPIO2, GPIO3, GPIO4, GND, GPIO17, GPIO27, GPIO22, 3V3, GPIO10, GPIO9, GPIO11, ID_SD, GPIO5, GPIO6, GPIO13, GPIO19, GPIO26, GPIO21, GPIO20, GPIO16, GPIO12, ID_SC, GPIO7, GPIO8, GPIO25, GPIO24, GPIO23, GPIO18, GPIO15, GPIO14, 5V
ADS1115
- Description: A 16-bit analog-to-digital converter.
- Pins: VDD, GND, SCL, SDA, ADDR, ALRT, A0, A1, A2, A3
4-channel relay module
- Description: A module with four relays for controlling high-power devices.
- Pins: N.O. 4, COM 4, N.C. 4, N.O. 3, COM 3, N.C. 3, N.O. 2, COM 2, N.C. 2, N.O. 1, COM 1, N.C. 1, Pin 13, Pin 14, Pin 15, Pin 16, Pin 17, Pin 18, Pin 19, Pin 20, Pin 21, Pin 22, Pin 23, Pin 24, VCC+, VCC- (GND), IN 1, IN 2, IN 3, IN 4
pH Meter V1.1
- Description: A sensor for measuring pH levels.
- Pins: DATA, VCC, GND
Wiring Details
Raspberry Pi 3B
5V is connected to:
- pH Meter V1.1 (VCC)
- pH Meter V1.1 (VCC)
- ADS1115 (VDD)
GND is connected to:
- pH Meter V1.1 (GND)
- pH Meter V1.1 (GND)
- ADS1115 (GND)
- 4-channel relay module (VCC- (GND))
GPIO3 is connected to:
- ADS1115 (SCL)
GPIO2 is connected to:
- ADS1115 (SDA)
GPIO17 is connected to:
- 4-channel relay module (IN 1)
GPIO27 is connected to:
- 4-channel relay module (IN 2)
GPIO22 is connected to:
- 4-channel relay module (IN 3)
GPIO23 is connected to:
- 4-channel relay module (IN 4)
3v3 is connected to:
- 4-channel relay module (VCC+)
ADS1115
VDD is connected to:
- Raspberry Pi 3B (5V)
- pH Meter V1.1 (VCC)
- pH Meter V1.1 (VCC)
GND is connected to:
- Raspberry Pi 3B (GND)
- pH Meter V1.1 (GND)
- pH Meter V1.1 (GND)
SCL is connected to:
- Raspberry Pi 3B (GPIO3)
SDA is connected to:
- Raspberry Pi 3B (GPIO2)
A0 is connected to:
- pH Meter V1.1 (DATA)
A1 is connected to:
- pH Meter V1.1 (DATA)
4-channel relay module
VCC+ is connected to:
- Raspberry Pi 3B (3v3)
VCC- (GND) is connected to:
- Raspberry Pi 3B (GND)
- ADS1115 (GND)
- pH Meter V1.1 (GND)
- pH Meter V1.1 (GND)
IN 1 is connected to:
- Raspberry Pi 3B (GPIO17)
IN 2 is connected to:
- Raspberry Pi 3B (GPIO27)
IN 3 is connected to:
- Raspberry Pi 3B (GPIO22)
IN 4 is connected to:
- Raspberry Pi 3B (GPIO23)
pH Meter V1.1
VCC is connected to:
- Raspberry Pi 3B (5V)
- ADS1115 (VDD)
GND is connected to:
- Raspberry Pi 3B (GND)
- ADS1115 (GND)
- 4-channel relay module (VCC- (GND))
DATA is connected to:
- ADS1115 (A0)
- ADS1115 (A1)
Code
No code is provided for this circuit.