This circuit is designed to interface an Arduino 101 microcontroller with various sensors and actuators for monitoring and controlling an environment. The circuit includes temperature sensing (DS18B20), pH level measurement (PH Meter), Total Dissolved Solids (TDS) measurement (TDS Sensor Module), and an LCD I2C Display for output. It also controls multiple water pumps through a 4-channel relay module, which is powered by a 5V battery. The Arduino 101 serves as the central processing unit, reading sensor data and controlling the water pumps based on predefined conditions.
A5/SCL
connected to LCD I2C Display SCL
A4/SDA
connected to LCD I2C Display SDA
A0
connected to PH Meter Signal
A1
connected to TDS Sensor Module TDS A
A2
connected to DS18B20 signal
D11 PWM/MOSI
connected to Relay 4 Channel 5v IN1
D10 PWM/SS
connected to Relay 4 Channel 5v IN2
D9 PWM
connected to Relay 4 Channel 5v IN3
D8
connected to Relay 4 Channel 5v IN4
GND
connected to common ground netVIN
connected to 5v battery positive
and Relay 4 Channel 5v VCC
signal
connected to Arduino 101 A2
GND
connected to common ground netvcc
connected to 5v power netGND
connected to common ground netVCC
connected to 5v power netSDA
connected to Arduino 101 A4/SDA
SCL
connected to Arduino 101 A5/SCL
Signal
connected to Arduino 101 A0
VCC
connected to 5v power netGND
connected to common ground netTDS Negative
connected to common ground netTDS Positive
connected to 5v power netTDS A
connected to Arduino 101 A1
positive
connected to Relay 4 Channel 5v NOx
(where x is the channel number 1-4)negative
connected to common ground netGND
connected to common ground netIN1
to IN4
connected to Arduino 101 D11
to D8
VCC
connected to 5v power netCOM1
to COM4
connected to 5v power netNO1
to NO4
connected to respective water pump positive
positive
connected to 5v power netnegative
connected to common ground netNo code was provided for the microcontrollers in the circuit. The expected code should handle reading sensor data from the analog pins, processing the data, and controlling the relay module to turn the water pumps on or off based on the sensor readings. Additionally, the code should handle communication with the LCD I2C Display to output the sensor data or system status messages.
Please note that the actual implementation of the code would be necessary to provide a complete documentation of the system's functionality. The code would typically include initialization of the I2C communication, analog pin setup, main control loop with sensor reading and pump control logic, and functions for displaying data on the LCD.