Projects   /   Power & Battery   /   PIC16F876A

9 Volt Battery Charger

9 Volt batteries extensively used in various electronics measurement equipment. Powering these devices with rechargeable batteries can be a cost effective...

Published
Updated

At a glance

CategoryPower & Battery
PIC modelPIC16F876A
IncludesCircuit diagram
Reading time~1 min

9 Volt batteries extensively used in various electronics measurement equipment. Powering these devices with  rechargeable batteries can be a cost effective solution. In this post a simple Lithium-ion 9 Volt Battery Charger design with overcharging protection will be presented. Charger is based on PIC16F876A microcontroller and uses its A/D module to monitor current flow into the battery.Number of required component was kept to a minimum as circuit simplicity was a main goal.9 Volt Battery Charger The charger concept is relatively simple.Connect 9 Volt source to an empty rechargeable battery. Monitor the current during the charging period and stop the process at predefined current level. As battery recharges the current will decrease till there is no potential difference between the charger power supply and the battery.Max current was about 270-300mA while the battery was fully discharged and about 30mA after 4 hours of charging. Thus 30mA was set as a trigger level that will stop the charging. The meaning of  this  limit is that the circuit will not charge a battery that is fully charged therefore avoiding overcharging and protecting the battery from possible damage.

Charger software is a modified A/D Converter code published a few weeks ago in Code Examples category.9 Volt Battery Charger schematic Charger prototype was tested with Litelong 780mAh 9 Volt rechargeable battery and all calculation are based on this battery type. You’ll need to experiment with other similar batteries to determine their charging characteristic. 10 Segment LED bar was used to verify correct A/D reading however only one segment actually used to signal the end of the charging process. It can be replaced by a single LED connected to PORTB bit0. Charger assembly code is available here. I’m planning to improve this design by adding a smart charging algorithm in order to reduce the charging time and support other types of batteries.

 

 

 

For more detail: 9 Volt Battery Charger

Development Boards & Kits · PIC16F876A

Ultrasonic Range Finder Circuit AD605 PIC16F876

Ultrasonic distance measurement, detection circuit pic16f876 microcontroller and ad605 (Dual Low Noise Variable Gain Amplifier singlesupply) integrated circuit diagrams used are C...

Sensors & Temperature · PIC16F876A

Interfacing Temperature Sensor with Microchip PIC16F876A

The tutorial aims at providing the necessary information for interfacing an analog type temperature sensor with a Microchip PIC Microcontroller. PIC (Peripheral...

Beginner Tutorials · PIC16F876A

Homemade Scope Clock DG7 tube and PIC16F876

Powersupply and CRT deflection and microcontroller test circuit. I was lucky to purcase two used but working DG7 tubes and a transformator...

Power & Battery

Implementing Smart Cooling Control for Induction Heaters with PIC Microcontrollers

Today, induction heating powers countless industrial processes like melting, heat treatment, and welding, plus everyday appliances like cooktops. Its key advantages? High...

Power & Battery

Integrating Solar Power: Microcontroller-Based Approaches for Domestic Electricity

Abstract: Microcontrollers have found extensive application in endeavors aimed at reducing power consumption. The availability of microcontroller development tools has made them...

Power & Battery

Efficient Power Generation with Microcontroller-Controlled Thermoelectric Generators

INTRODUCTION The global demand for electrical energy continues to rise steadily, necessitating a shift towards renewable energy sources as traditional fossil fuels...

Ibrar Ayyub

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough...