The circuit in question is a solar-powered system with energy storage and conversion capabilities. It includes a solar panel connected to a solar charge controller, which in turn is connected to a 12V 200Ah battery. The system also features an Automatic Transfer Switch (ATS) for switching between solar power and an AC source. A power inverter is used to convert the stored DC power to AC, and a step-down converter is included to provide 5V power from the 12V source. The circuit integrates a Raspberry Pi 4 and multiple Arduino UNO microcontrollers for control and monitoring purposes. Additionally, the system includes water flow meters, solenoid valves, and diaphragm water pumps for fluid control, as well as a 7-inch DSI display for user interface. A rocker switch is used for manual power control.
+
, -
Solar Cell +
, Solar Cell -
, Battery +
, Battery -
, Load +
, Load -
GND
, 12V
+
, -
earth
, life
, neutral
VIN 9v-36v
, VIN+
, VIN-
, USB OUTPUT 5V
, 5v OUTPUT
, GND
pin1
, pin2
-
, +
5V
, GND
5V
, 3V3
, GND
, GPIO 2 (SDA)
, GPIO 3 (SCL)
, GPIO 4 (GPCLK0)
, GPIO 17
, GPIO 14 (TXD)
, GPIO 18 (PCM CLK)
, GPIO 15 (RXD)
, GPIO 27
, GPIO 23
, GPIO 22
, GPIO 24
, GPIO 25
, GPIO 8 (CE0)
, GPIO 9 (MISO)
, GPIO 7(CE1)
, GPIO 10 (MOSI)
, GPIO 11 (SCLK)
, GPIO 0 (ID SD)
, GPIO 5
, GPIO 6
, GPIO 19 (PCM FS)
, GPIO 1 (ID SC)
, GPIO 12 (PWM0)
, GPIO 13 (PWM 1)
, GPIO 16
, GPIO 21 (PCM DOUT)
, GPIO 20 (PCM DIN)
, +
, -
Positive (+)
, Negative (-)
SIG
, GND
, VCC
GND
, IN1
to IN8
, VCC
, NC
, C
, NO
UNUSED
, IOREF
, Reset
, 3.3V
, 5V
, GND
, Vin
, A0
to A5
, SCL
, SDA
, AREF
, D13
to D0
, +
, -
1
, 2
+
, -
+
connected to Solar Charge Controller Solar Cell +
-
connected to Solar Charge Controller Solar Cell -
Battery +
connected to 12V 200Ah Battery 12V
, Power Inverter +
, and Rocker Switch (SPST) 1
Battery -
connected to 12V 200Ah Battery GND
, Power Inverter -
, and 12v to 5v Step Down Power Converter VIN-
12V
connected to Power Inverter +
and Rocker Switch (SPST) 1
GND
connected to Power Inverter -
and 12v to 5v Step Down Power Converter VIN-
+
connected to Power Inverter +
, AC Source +
, and Raspberry Pi 4 +
-
connected to Power Inverter -
, AC Source -
, Raspberry Pi 4 -
, and Socket earth
life
connected to ATS +
earth
connected to ATS -
VIN+
connected to Rocker Switch (SPST) 2
VIN-
connected to 12V 200Ah Battery GND
5v OUTPUT
connected to 5V 8Channel Relay VCC
GND
connected to 5V 8Channel Relay GND
+
connected to 12V 200Ah Battery 12V
, Rocker Switch (SPST) 1
, and ATS +
-
connected to 12V 200Ah Battery GND
and ATS -
5V
connected to Raspberry Pi 4 5V
GND
connected to Raspberry Pi 4 GND
5V
connected to 7 inch DSI Display 5V
and Raspberry Pi 4 5V
GND
connected to 7 inch DSI Display GND
and Raspberry Pi 4 GND
GPIO 14 (TXD)
connected to Arduino UNO D0
(Instance 1)GPIO 15 (RXD)
connected to Arduino UNO D1
(Instance 1)GPIO 18 (PCM CLK)
connected to Arduino UNO D0
(Instance 2)GPIO 19 (PCM FS)
connected to Arduino UNO D1
(Instance 2)GPIO 20 (PCM DIN)
connected to Arduino UNO D0
(Instance 3)GPIO 21 (PCM DOUT)
connected to Arduino UNO D1
(Instance 3)Negative (-)
connected together for all instancesSIG
connected to Arduino UNO D2
(for each instance)GND
connected to Arduino UNO GND
(for each instance)VCC
connected to Arduino UNO 5V
(for each instance)pin1
connected together for all instancesD0
and D1
connected to Raspberry Pi 4 for serial communication (for each instance)D2
connected to YF-S201 Water Flow Meter SIG
(for each instance)5V
connected to YF-S201 Water Flow Meter VCC
(for each instance)GND
connected to YF-S201 Water Flow Meter GND
(for each instance)1
connected to 12V 200Ah Battery 12V
and Power Inverter +
2
connected to 12v to 5v Step Down Power Converter VIN+
and Arduino UNO +
(for each instance)+
connected to ATS +
-
connected to ATS -
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
void setup() {
// put your setup code here, to run once:
}
void loop()