Automatic Laptop Battery Charging
by rajshaswat in Circuits > Arduino
2035 Views, 10 Favorites, 0 Comments
Automatic Laptop Battery Charging
I keep my laptop in charging condition most of the time and because of that have to loose battery very frequently.
Continuously charging of battery leads to deteriorate battery backup until it get almost dead.
we have lot of software to give alarm but anyhow you have to unplug the charging manually .
I thought to utilize the Arduino to Automate the charging and discharging of laptop.
Hardware Requirement
1. Arduino Uno
2. Relay Board
3. Jumper Wires
4.Laptop Charger
Wiring Details
Wiring is very simple
Connect the Relay board from Arduino using Jumper wires at PIN
1. 5v to 5v VCC of Relay board
2. GND to GND of Relay Board
3. PIN 13 (used in Project) to IN1 of relay Board ( we can use any GPIO to connect )
4. Negative wire of Charger we have to route using relay
Wiring Schematics
Main Source Wiring Schematic
Always check for country specific wiring color coding
Programming in Arduino
Serial Program needs to be written in Arduino
Downloads
.Net Program to Read the Battery Status and Provide on Off Command to Arduino
Charging On Value in UI we can provide required threshold from where battery should start charging
Charging Off value in UI we need to provide at what percentage laptop should stop charging
Battery status file contains code for C#
SerialPortCommand file contains code for serial port communication in c#