Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Solar-Powered Battery Charger with Arduino-Controlled Display and Relay

View and Edit Project In Cirkit DesignerImage of Solar-Powered Battery Charger with Arduino-Controlled Display and Relay

Circuit Documentation

Summary

This circuit is designed to manage and monitor a solar-powered system using various components including a solar cell, a TP4056 battery charger, 18650 Li-ion batteries, an Arduino UNO, a relay module, an LED, resistors, an INA219 current sensor, a 16x2 I2C LCD, an MT3608 DC-DC converter, and a photocell (LDR). The system charges the batteries using solar power and monitors the current and voltage levels, displaying the information on an LCD. The Arduino UNO controls the relay module and reads data from the sensors.

Component List

Solar Cell

TP4056

18650 Li-ion Battery x 2

Arduino UNO

Relay Module 5V-30V

LED: Two Pin (Red)

Resistor (220 Ohms)

Resistor (10k Ohms)

INA219

16x2 I2C LCD

MT3608

Photocell (LDR)

1N4007 Rectifier Diode

Wiring Details

Solar Cell

TP4056

18650 Li-ion Battery x 2

Arduino UNO

Relay Module 5V-30V

LED: Two Pin (Red)

Resistor (220 Ohms)

Resistor (10k Ohms)

INA219

16x2 I2C LCD

MT3608

Photocell (LDR)

1N4007 Rectifier Diode

Code Documentation

Arduino UNO Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This code is a basic template for the Arduino UNO. The setup() function is where you initialize your components and settings, and the loop() function is where you place the main code that runs repeatedly. You can add your specific logic for controlling the relay, reading sensor data, and updating the LCD display in these functions.