Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

β˜€οΈ Solar Mobile Charging Using Embedded System

A compact solar-powered mobile charging system that uses solar energy to charge an 18650 lithium-ion battery and provides a regulated 5 V USB output for mobile charging, with Arduino Nano-based voltage monitoring and a 16Γ—2 I2C LCD.

πŸ“Œ Project Overview

The Solar Mobile Charging Using Embedded System project demonstrates the integration of:

  • Renewable solar energy
  • Lithium-ion battery storage
  • Battery charging and power conversion
  • Embedded-system-based voltage monitoring
  • LCD-based measurement display
  • USB mobile charging

Main Power Flow

Solar Panel β†’ 1N5819 Schottky Diode β†’ TP4056 Charger β†’ 18650 Li-ion Battery β†’ Switch β†’ MT3608 Boost Converter β†’ 5 V USB Output β†’ Mobile Charging

The Arduino Nano monitors the measured voltage through a voltage-sensor module connected to its analog input and displays the calculated voltage on a 16Γ—2 I2C LCD.


🎯 Objectives

  • Design a solar-powered system capable of charging mobile phones.
  • Store harvested solar energy in a rechargeable lithium-ion battery.
  • Provide a regulated 5 V DC USB output.
  • Monitor voltage using an Arduino Nano.
  • Display the measured voltage on a 16Γ—2 I2C LCD.
  • Demonstrate the practical integration of renewable energy, power electronics and embedded systems.
  • Develop a compact and low-cost prototype.

πŸ”§ Hardware Components


Component Purpose


β˜€οΈ 10 W Solar Panel Converts sunlight into electrical energy

1N5819 Schottky Diode Helps prevent reverse current toward the solar panel

TP4056 Charging Module Charges the single-cell Li-ion battery

18650 Li-ion Battery Stores harvested electrical energy

3-Pin Slide Switch Power/load switching

MT3608 Boost Converter Steps the battery voltage up to the required output

USB Output Provides the mobile-charging interface

Arduino Nano Reads the voltage sensor and drives the LCD

25 V Voltage Sensor Module Scales the measured voltage for the Arduino ADC

16Γ—2 I2C LCD Displays the measured voltage

Jumper Wires & Connectors Electrical interconnections


βš™οΈ System Block Diagram

System Block Diagram


πŸ› οΈ Working Prototype

Working Prototype

The prototype combines the solar panel, Schottky diode, TP4056 charging module, 18650 battery, MT3608 boost converter, USB output, voltage sensor, Arduino Nano and 16Γ—2 I2C LCD.


πŸ”„ Working Principle

1. Solar Energy Generation

The solar panel converts sunlight into DC electrical power.

2. Reverse-Current Protection

The 1N5819 Schottky diode is used in the charging path to help prevent reverse current from flowing back toward the solar panel when solar generation is low or unavailable.

3. Battery Charging

The solar-generated power is supplied to the TP4056 charging module, which is used to charge the single-cell 18650 lithium-ion battery.

4. Energy Storage

The 18650 battery stores the harvested electrical energy.

The project report specifies:

  • Nominal voltage: 3.7 V
  • Full-charge voltage: 4.2 V
  • Reported capacity: 5000 mAh

5. Voltage Boosting

The MT3608 boost converter increases the battery voltage to the required output level. The system provides a regulated 5 V USB output for mobile charging.

6. Voltage Monitoring

The voltage-sensor module output is connected to Arduino Nano A0. The Arduino reads the analog value and calculates the corresponding input voltage.

7. LCD Display

The calculated voltage is displayed on the 16Γ—2 I2C LCD.


πŸ’» Arduino Software

The project uses Arduino IDE for programming and uploading the sketch to the Arduino Nano.

Libraries Used

#include <Wire.h>
#include <LiquidCrystal_I2C.h>

Connections Used by the Arduino Code

Function Arduino Nano Pin / Setting


Voltage Sensor Output A0 LCD SDA A4 LCD SCL A5 LCD I2C Address 0x27 LCD 16Γ—2 I2C

Voltage Measurement

The Arduino reads the analog value:

int adcValue = analogRead(sensorPin);

It converts the ADC reading to Arduino-side voltage:

float adcVoltage = (adcValue * 5.0) / 1023.0;

The code uses a voltage-sensor scaling ratio of:

const float voltageRatio = 5.0;

The input voltage is calculated as:

float inputVoltage = adcVoltage * voltageRatio;

The calculated voltage is:

  • Displayed on the LCD with two decimal places.
  • Printed to the Serial Monitor at 9600 baud.
  • Updated every 500 ms.

Current Arduino Code

The complete project sketch is available here:

Solar_Mobile_Charging.ino


πŸ“Ÿ LCD Output

The LCD displays the measured voltage in the following format:

Voltage:
3.92 V

The displayed value changes according to the voltage measured by the sensor.


πŸŽ₯ Project Demonstration

Google Drive

▢️ Watch the Project Demonstration Video

GitHub Video

The demonstration video is also included in this repository:

Solar_Mobile_Charging_Demo.mp4


πŸ“ Repository Structure

Solar-Mobile-Charging-Using-Embedded-System/
β”‚
β”œβ”€β”€ README.md
β”‚
β”œβ”€β”€ code/
β”‚   └── Solar_Mobile_Charging.ino
β”‚
β”œβ”€β”€ demo/
β”‚   └── Solar_Mobile_Charging_Demo.mp4
β”‚
β”œβ”€β”€ docs/
β”‚   └── Solar_Mobile_Charging_Report.pdf
β”‚
└── images/
    β”œβ”€β”€ prototype.jpg
    └── system_block_diagram.png

πŸ“Š Results

The project prototype was designed, developed and tested successfully.

The demonstrated system provides:

  • Solar energy harvesting.
  • Battery energy storage.
  • Regulated 5 V USB output.
  • Mobile-phone charging through the USB output.
  • Arduino-based voltage measurement.
  • LCD-based voltage display.

The project report states that the mobile phone began charging when connected to the USB output and that the output remained stable under the tested conditions.


βœ… Advantages

  • Eco-friendly renewable-energy source.
  • Portable and easy to demonstrate.
  • Can operate independently of grid electricity.
  • Useful for outdoor and emergency situations.
  • Low operating cost.
  • Combines renewable energy with embedded-system technology.
  • Provides a regulated USB charging output.
  • Demonstrates practical power-electronics concepts.

⚠️ Limitations

Based on the project report and prototype:

  • Charging speed depends strongly on sunlight.
  • A single 18650 cell provides limited stored energy.
  • The MT3608 conversion stage introduces efficiency losses.
  • The system is not designed for modern fast-charging standards.
  • Multiple conversion stages reduce overall efficiency.
  • Prototype wiring can be improved for reliability.
  • A proper enclosure would improve durability and protection.

πŸš€ Future Scope

Possible future improvements include:

πŸ”‹ Higher-Capacity Battery System

Use multiple lithium-ion cells with an appropriate Battery Management System (BMS) to increase energy-storage capacity.

β˜€οΈ MPPT Charging

An MPPT (Maximum Power Point Tracking) based solar-charging system could improve solar-energy utilization.

⚑ Fast Charging

Future versions could support modern charging technologies such as USB-C Power Delivery (PD).

πŸ“± IoT Monitoring

The system could be expanded with IoT functionality for remote monitoring of:

  • Battery voltage
  • Solar output
  • Charging status
  • Overall system health

🌑️ Additional Protection

Temperature monitoring, short-circuit protection and additional over-voltage protection could improve safety and reliability.

🧰 Improved Enclosure

A compact, rugged and waterproof enclosure would make the system more suitable for outdoor applications.


πŸ“š Documentation

The complete academic report is available here:

πŸ“„ Solar_Mobile_Charging_Report.pdf

The report contains the project introduction, component details, software requirements, methodology, advantages, disadvantages, applications, results, future scope, conclusion and references.


πŸŽ“ Academic Information

Project Title: Solar Mobile Charging Using Embedded System

Department: Electronics and Communication Engineering

Institution: B.L.D.E.A's V.P. Dr.Β P.G. Halakatti College of Engineering and Technology, Vijayapur

University: Visvesvaraya Technological University (VTU)

Academic Year: 2025--26


πŸ‘₯ Project Team

  • Sagar H. Beesanakoppa
  • Sitaramasang Hunnur
  • Sourabh V. Angadi
  • Aditya Balul

Guide: Prof.Β Dr.Β Umesh Dixit


πŸ“– References

The academic report states that the project development involved:

  • Component datasheets and specifications
  • Google search resources
  • YouTube tutorials
  • Electronics reference websites
  • Team discussions
  • Faculty/project-guide guidance
  • Arduino IDE
  • Component suppliers and local electronic shops

πŸ“Œ Note

This repository documents an academic mini project and its prototype implementation.

The current Arduino program performs voltage measurement and LCD/Serial display. Advanced features such as battery-percentage estimation, IoT monitoring, MPPT and fast charging are listed as future improvements unless separately implemented in the hardware and software.


About

Solar-powered mobile charging system using Arduino Nano, 18650 Li-ion battery, TP4056, MT3608 and real-time battery monitoring.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Contributors

Languages