Arduino UNO Solar-Powered Battery Monitoring System with LCD Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit is designed to monitor voltage and current using sensors and display the data on an LCD screen. The circuit includes an Arduino UNO microcontroller, voltage and current sensors, a solar charge controller, a DC motor, and other components to manage power and data acquisition.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
Voltage Sensor DC 25V
- Description: A sensor to measure DC voltage up to 25V.
- Pins: +, -, output, gnd, vcc
Current Sensor 5A
- Description: A sensor to measure current up to 5A.
- Pins: 1, 2, GND, OUT, VCC
12v 7ah Battery
- Description: A rechargeable battery providing 12V.
- Pins: 12v +, 12v -
Solar Charge Controller
- Description: A device to manage the charging of batteries from solar panels.
- Pins: Solar Cell +, Solar Cell -, Battery +, Battery -, Load +, Load -
Lcd 20x4 i2c
- Description: A 20x4 character LCD display with I2C interface.
- Pins: GND, 5v, SCA, SCL
DC Motor
- Description: A motor powered by direct current.
- Pins: pin 1, pin 2
usb module 5v
- Description: A module to provide 5V USB power.
- Pins: IN+, IN-
rocker switch
- Description: A switch to control the flow of electricity.
- Pins: output, input
rectifier ac to dc
- Description: A device to convert AC to DC.
- Pins: IN-, IN+, OUT-, OUT+
boost converter MT3608
- Description: A DC-DC boost converter to step up voltage.
- Pins: OUTPUT +, OUTPUT -, INPUT +, INPUT -
step down 5v
- Description: A DC-DC step-down converter to provide 5V output.
- Pins: +, -
Wiring Details
Arduino UNO
- 5V connected to:
- Voltage Sensor DC 25V (+)
- Current Sensor 5A (VCC)
- Lcd 20x4 i2c (5v)
- GND connected to:
- Voltage Sensor DC 25V (-)
- Current Sensor 5A (GND)
- Lcd 20x4 i2c (GND)
- A0 connected to:
- Voltage Sensor DC 25V (output)
- A1 connected to:
- Current Sensor 5A (OUT)
- A2 connected to:
- Voltage Sensor DC 25V (output)
- A3 connected to:
- Current Sensor 5A (OUT)
- A4 connected to:
- Lcd 20x4 i2c (SCA)
- A5 connected to:
- Lcd 20x4 i2c (SCL)
Voltage Sensor DC 25V
- + connected to:
- Arduino UNO (5V)
- - connected to:
- Arduino UNO (GND)
- output connected to:
- Arduino UNO (A0)
- Arduino UNO (A2)
- gnd connected to:
- Solar Charge Controller (Solar Cell -)
- usb module 5v (IN-)
- vcc connected to:
- Solar Charge Controller (Load +)
Current Sensor 5A
- VCC connected to:
- Arduino UNO (5V)
- GND connected to:
- Arduino UNO (GND)
- OUT connected to:
- Arduino UNO (A1)
- Arduino UNO (A3)
- 1 connected to:
- boost converter MT3608 (OUTPUT -)
- 2 connected to:
- Solar Charge Controller (Solar Cell +)
- usb module 5v (IN+)
12v 7ah Battery
- 12v + connected to:
- rocker switch (input)
- 12v - connected to:
- Solar Charge Controller (Battery -)
Solar Charge Controller
- Solar Cell + connected to:
- Current Sensor 5A (2)
- Solar Cell - connected to:
- boost converter MT3608 (OUTPUT +)
- Battery + connected to:
- rocker switch (output)
- Battery - connected to:
- 12v 7ah Battery (12v -)
- Load + connected to:
- Voltage Sensor DC 25V (vcc)
- Load - connected to:
- usb module 5v (IN-)
Lcd 20x4 i2c
- 5v connected to:
- Arduino UNO (5V)
- GND connected to:
- Arduino UNO (GND)
- SCA connected to:
- Arduino UNO (A4)
- SCL connected to:
- Arduino UNO (A5)
DC Motor
- pin 1 connected to:
- rectifier ac to dc (IN+)
- pin 2 connected to:
- rectifier ac to dc (IN-)
usb module 5v
- IN+ connected to:
- Current Sensor 5A (2)
- IN- connected to:
- Solar Charge Controller (Load -)
rocker switch
- input connected to:
- 12v 7ah Battery (12v +)
- output connected to:
- Solar Charge Controller (Battery +)
rectifier ac to dc
- IN+ connected to:
- DC Motor (pin 1)
- IN- connected to:
- DC Motor (pin 2)
- OUT+ connected to:
- boost converter MT3608 (INPUT +)
- OUT- connected to:
- boost converter MT3608 (INPUT -)
boost converter MT3608
- OUTPUT + connected to:
- Solar Charge Controller (Solar Cell -)
- OUTPUT - connected to:
- Current Sensor 5A (1)
- INPUT + connected to:
- rectifier ac to dc (OUT+)
- step down 5v (+)
- INPUT - connected to:
- rectifier ac to dc (OUT-)
- step down 5v (-)
step down 5v
- + connected to:
- boost converter MT3608 (INPUT +)
- boost converter MT3608 (OUTPUT +)
- - connected to:
- boost converter MT3608 (INPUT -)
- boost converter MT3608 (OUTPUT -)
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation (documentation.txt)