Skip to content

Arduino-based charging controller using C++ (Arduino IDE) to prevent overcharging and optimize battery life

naiveman04/Arduino01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Arduino-Based Smartphone Charging Controller

Overview

This project is an Arduino-powered smartphone charging controller designed to prevent overcharging and optimize battery life. It allows users to set a charging timer using a rotary encoder and LCD display, ensuring controlled and efficient charging.

Features

  • 🔋 Overcharge Protection: Prevents excessive charging to extend battery life.
  • User-Controlled Charging Timer: Users can set a timer via a rotary encoder and LCD display.
  • Efficient Power Management: Automatically stops charging once the set time is reached.
  • 🔌 Plug & Play Design: Simple setup with an Arduino-based circuit.

Technologies & Tools Used

  • Microcontroller: Arduino UNO (or any compatible board)
  • Programming Language: C++ (Arduino IDE)
  • Components: LCD Display, Rotary Encoder, Resistors, MOSFET, Power Supply
  • Development Environment: Arduino IDE

How It Works

  1. User sets charging time using the rotary encoder.
  2. The LCD display shows the selected duration.
  3. Once started, the system allows charging for the specified time.
  4. Charging is automatically cut off after the timer expires, preventing overcharging.

Circuit Diagram

image image

Installation & Setup

Prerequisites

  • Arduino IDE installed
  • Required electronic components (Arduino board, LCD, rotary encoder, etc.)

Steps

  1. Clone the repository:
    git clone https://github.com/your-username/arduino01.git
    cd arduino01
  2. Open the .ino file in Arduino IDE.
  3. Connect the Arduino board to your PC via USB.
  4. Upload the code to your Arduino board.
  5. Assemble the circuit as per the provided schematic.

About

Arduino-based charging controller using C++ (Arduino IDE) to prevent overcharging and optimize battery life

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages