🪔 Diwali Break: Orders placed now will ship from 25th November 2026. Place your order today — we'll get it to you right after we're back!
Project Hub /Basic Analog & Power Electronics/Battery Chargers & Charging Circuits/Build Simple 12.6V CC/CV Lithium Battery Charger using Viper VP22A Low Power Primary Switcher IC
Build Simple 12.6V CC/CV Lithium Battery Charger using Viper VP22A Low Power Primary Switcher IC
Advanced
ANALOG / DISCRETE
₹500 – ₹1,500
6 – 12 Hours
Partial Kit

Build Simple 12.6V CC/CV Lithium Battery Charger using Viper VP22A Low Power Primary Switcher IC

Learn how to build a 12.6V Constant Current/Constant Voltage (CC/CV) lithium battery charger using the Viper22A low-power primary switcher IC and a custom flyback transformer.

Originally published on CircuitDigest
View original tutorial

Parts You'll Need

This project is sourced from another site, not written by us — this list is our best match of their components against what we stock, not a verified bill of materials. Always check the original blog (linked above) for the actual parts list before buying.

This list includes a generic resistor set as a placeholder — it is not matched to the exact value or part number this circuit needs. The correct one is specified on the original source page linked above; check it before buying.

We don't carry yet: Microcontroller IC (DIP) / Chip
Capacitors
Inductors / Coils / Ferrite
Diodes (1N4007 / 1N4148 / Schottky / Zener)
LM35 / Analog Temp Sensor
Optocoupler (PC817 / 4N35)
Thyristor / SCR / Triac / Varistor / Fuse

Browse all components

How It Works

Why Build This

Design and optimize a closed-loop switch-mode flyback power supply capable of delivering a precise 12.6V CC/CV profile suitable for 3S lithium battery packs.
Gain practical undergraduate-level experience with primary-side switching regulators, optocoupler-isolated feedback networks, and operational amplifier control loops.
Fabricate a functional, compact power conversion circuit using professional EDA tools like Autodesk EAGLE and specialized transformer design software.

Real-World Application

Charging 3S lithium-ion battery packs, constant current LED drivers, and compact low-power lab bench power supplies.

Skills You'll Learn

Switched-mode power supply design
Isolated feedback loop compensation
CC/CV battery charger topology
PCB layout for mains-isolated electronics
Transformer design and selection
Optocoupler isolation techniques

Safety Precautions

Working with mains AC voltage (220V-240V) carries a risk of electric shock. Ensure proper isolation, use a slow-blow fuse and MOV for input surge protection, and handle live testing with extreme care.

Technology Tags

SMPS
AC-DC CONVERTER
VIPER22A
FLYBACK CONVERTER
CC/CV CHARGER
PCB DESIGN
POWER MANAGEMENT IC
LITHIUM BATTERY CHARGER

Frequently Asked Questions

The optocoupler provides safe galvanic isolation between the high-voltage primary side and the low-voltage secondary side while passing necessary feedback signals to regulate the output voltage.
Constant Current (CC) safely ramps up the charge on a lithium battery without overheating it, while Constant Voltage (CV) tapers off the current as the battery reaches full capacity to prevent overcharging.
Testing live AC-connected circuits carries a severe risk of electric shock. You should use an isolation transformer, exercise extreme caution, and avoid touching any components on the primary side while powered.

Gallery

This page is part of Kitkraft's Project Hub — a curated collection of electronics & robotics projects gathered from the maker community to help students and hobbyists discover and learn to build. Kitkraft does not claim authorship of the original project, and makes no representation as to the accuracy, completeness or safety of third-party source material. The summary and "How It Works" explanation above are AI-generated, rewritten with reference to the original tutorial — not a reproduction of it. Full credit and a direct link to the original source are provided above. If you're the original creator and have a concern about how your work is represented here, please contact us and we'll address it promptly.

Kitkraft Project Hub — curated from the maker community, credited at the source.
PRJ-00680