Uploaded October 2024 | Updated November 2026, 2 days ago
1A USB Type-C Lithium-ion Lithium Polymer Battery Charger (With Protection)
======================================
Altium Develop (Free Legal License) altium.com/yt/MyVanitar
======================================
Article: powerelectronicsnews.com/1a-usb-type-c-lithium-battery-charger-with-protection
======================================
Schematic/PCB/Gerber: 365.altium.com/files/9803BE60-D448-4429-ADCD-4E8FCB6CD206
======================================
Other Videos: bit.ly/2N9OlPa
======================================
@AtiumOfficial
#AltiumStories
This project presents a 1A USB Type-C lithium battery charger (1s charger, 1s bms charger) with integrated battery protection. The design features the XT2025 charging IC, which allows precise charging current adjustments through a configurable resistor, offering flexibility in battery management. The XB7608 protection chip enhances safety by safeguarding against overcharge, over-discharge, and short-circuits, ensuring battery longevity and reliability. The charger incorporates dual LED indicators to display the charging status, simplifying user interaction and monitoring. This solution provides an efficient, user-friendly, and adjustable charging system suitable for various lithium battery applications.
The schematic and PCB have been designed using Altium Designer and the project files are available to download from the Altium-365 cloud space. The charging current has been monitored and tested noninvasively using a clamp meter.
There are tons of chargers with the TP4056 chip, but this one is different :-)
IC1 is the XT2025 lithium battery charger chip. According to its datasheet:” The XT2052 is a constant-current/constant-voltage charger circuit for single cell lithium-ion batteries. The device includes an internal power transistor and does not need an external current sense resistor and blocking diode in applications. XT2052 requires minimal external components and meets the USB bus specification, which is very suitable for portable applications in the field. Thermal modulation circuits can control the internal chip temperature in a safe range when the device power dissipation is relatively large or the ambient temperature is higher. When the input voltage (AC adapter or USB power supply) power is lost, XT2052 automatically enters a low-power sleep mode, then the battery current consumption is less than 0.1μA. Built-in protection circuits against irrigation, when the battery voltage is higher than the input voltage, automatically turn off built-in power MOSFET. Other features include a low input voltage latch, automatic recharge, battery temperature monitoring, and charge status/charge status indication functions. XT2052 uses a thermally enhanced 8-pin small outline package ESOP8.”
IC2 is the XB7608 battery protection chip. It nicely embeds everything needed for this purpose. According to its datasheet: “The XB7608AJ series product is a high integration solution for lithium-ion/polymer battery protection. XB7608AJ contains advanced power MOSFET, high-accuracy voltage detection circuits, and delay circuits. XB7608AJ is put into an ultra-small CPC5 package and only one external component makes it an ideal solution in the limited space of the battery pack. XB7608AJ has all the protection functions required in the battery application including overcharging, over-discharging, overcurrent, and load short-circuiting protection, etc. The accurate overcharging detection voltage ensures safe and full utilization of charging. The low standby current drains little current from the cell while in storage. The device is not only targeted for digital cellular phones but also for any other Li-Ion and Li-Poly battery-powered information appliances requiring long-term battery life.”
1A USB Type-C Lithium-ion Lithium Polymer Battery Charger (With Protection)
======================================
Altium Develop (Free Legal License) altium.com/yt/MyVanitar
======================================
Article: powerelectronicsnews.com/1a-usb-type-c-lithium-battery-charger-with-protection
======================================
Schematic/PCB/Gerber: 365.altium.com/files/9803BE60-D448-4429-ADCD-4E8FCB6CD206
======================================
Other Videos: bit.ly/2N9OlPa
======================================
@AtiumOfficial
#AltiumStories
This project presents a 1A USB Type-C lithium battery charger (1s charger, 1s bms charger) with integrated battery protection. The design features the XT2025 charging IC, which allows precise charging current adjustments through a configurable resistor, offering flexibility in battery management. The XB7608 protection chip enhances safety by safeguarding against overcharge, over-discharge, and short-circuits, ensuring battery longevity and reliability. The charger incorporates dual LED indicators to display the charging status, simplifying user interaction and monitoring. This solution provides an efficient, user-friendly, and adjustable charging system suitable for various lithium battery applications.
The schematic and PCB have been designed using Altium Designer and the project files are available to download from the Altium-365 cloud space. The charging current has been monitored and tested noninvasively using a clamp meter.
There are tons of chargers with the TP4056 chip, but this one is different :-)
IC1 is the XT2025 lithium battery charger chip. According to its datasheet:” The XT2052 is a constant-current/constant-voltage charger circuit for single cell lithium-ion batteries. The device includes an internal power transistor and does not need an external current sense resistor and blocking diode in applications. XT2052 requires minimal external components and meets the USB bus specification, which is very suitable for portable applications in the field. Thermal modulation circuits can control the internal chip temperature in a safe range when the device power dissipation is relatively large or the ambient temperature is higher. When the input voltage (AC adapter or USB power supply) power is lost, XT2052 automatically enters a low-power sleep mode, then the battery current consumption is less than 0.1μA. Built-in protection circuits against irrigation, when the battery voltage is higher than the input voltage, automatically turn off built-in power MOSFET. Other features include a low input voltage latch, automatic recharge, battery temperature monitoring, and charge status/charge status indication functions. XT2052 uses a thermally enhanced 8-pin small outline package ESOP8.”
IC2 is the XB7608 battery protection chip. It nicely embeds everything needed for this purpose. According to its datasheet: “The XB7608AJ series product is a high integration solution for lithium-ion/polymer battery protection. XB7608AJ contains advanced power MOSFET, high-accuracy voltage detection circuits, and delay circuits. XB7608AJ is put into an ultra-small CPC5 package and only one external component makes it an ideal solution in the limited space of the battery pack. XB7608AJ has all the protection functions required in the battery application including overcharging, over-discharging, overcurrent, and load short-circuiting protection, etc. The accurate overcharging detection voltage ensures safe and full utilization of charging. The low standby current drains little current from the cell while in storage. The device is not only targeted for digital cellular phones but also for any other Li-Ion and Li-Poly battery-powered information appliances requiring long-term battery life.”


![85V-240VAC to 5VDC-2A Switching Power Supply [Schematic & PCB]
85V-240VAC to 5VDC-2A Switching Power Supply (SMPS, VIPER22A)
Altium Develop (Legal License): https://www.altium.com/yt/MyVanitar
Article:
Schematic & PCB: https://365.altium.com/files/5E02104B-7D68-4C35-836F-AC9FC0618A65
Other Videos: http://bit.ly/2N9OlPa
@AtiumOfficial
#altiumstories
In this video, I’ll show you my 85V–240VAC to 5VDC 2A Flyback Switching Power Supply, designed and built around the Viper22A controller IC.
The circuit provides a stable 5V / 2A DC output from a wide AC input range (85V to 240VAC), making it suitable for universal power applications.
I’ll walk you through the schematic, transformer winding details, PCB design rules, and layout techniques used to minimize noise and ensure EMC compliance. The power supply was fully tested across the entire input voltage range and under full 2A load conditions. The RCD snubber network was also tested at 240VAC input and maximum current to ensure reliability and protection of the switching MOSFET.
You’ll also learn several PCB design tips for high-voltage and high-efficiency Flyback converters, including grounding, creepage clearance, component placement, and EMI reduction techniques.
Main Features:
Input: 85V–240VAC
Output: 5VDC / 2A (10W)
Controller: Viper22A
Topology: Flyback Converter
Built-in RCD snubber and a synchronous rectifier (DK5V45R20)
Tested for full-load performance and stability
If you’re interested in SMPS design, Flyback converters, or AC-DC power supply design, this video will give you a complete overview — from schematic to tested PCB.
#FlybackConverter #SwitchingPowerSupply #Viper22A #SMPSDesign #ElectronicsProjects #PCBDesign #ACDCPowerSupply #PowerElectronics 85V-240VAC to 5VDC-2A Switching Power Supply [Schematic & PCB]](https://i.ytimg.com/vi/0IXFvKBjk-U/mqdefault.jpg)

![97% Efficient DC to DC Buck Converter Circuit [3A Adjustable]
Buck Converter Circuit [DC to DC, Adjustable, 97% Efficient, 3A]
A tiny DC to DC buck converter (Step down) board is useful for many applications, especially if it could deliver currents up to 3A (2A continuously without heatsink). In this article, we will learn to build a small, efficient, and cheap converter circuit using MP2315.
Article Source: https://www.pcbway.com/blog/technology/DC_to_DC_Buck_Converter_Adjustable 97 Efficient 3A.html
Support me on Patreon: https://www.patreon.com/myvanitar
Check other videos: http://bit.ly/2N9OlPa
The main component is the MP2315 step-down buck converter. According to the MP2315 [1] datasheet: “The MP2315 is a high frequency synchronous rectified step-down switch-mode converter with built-in internal power MOSFETs. It offers a very compact solution to achieve 3A continuous output current over a wide input supply range with excellent load and line regulation. The MP2315 has synchronous mode operation for higher efficiency over output current load range. Current mode operation provides a fast transient response and eases loop stabilization. Full protection features include OCP and thermal shut down.” Low RDS(on) allows this chip to handle high currents.
C1 and C2 are used to reduce input voltage noises. R2, R4, and R5 build a feedback path to the chip. R2 is a 200K multiturn potentiometer to adjust the output voltage. L1 and C4 are the essential buck converter elements. L2, C5, and C7 make an additional output LC filter that I added to reduce the noise and ripple. The cut-off frequency of this filter is around 1KHz. R6 limits the current flow to the EN pin. The R1 value has been set according to the datasheet. R3 and C3 are related to the bootstrap circuit and determined according to the datasheet.
Figure 2 shows the efficiency vs output current plot. The highest efficiency for almost all input voltages has been achieved at around 1A.
#DC_to_DC_Buck_Converter
#DC_to_DC_Step_Down 97% Efficient DC to DC Buck Converter Circuit [3A Adjustable]](https://i.ytimg.com/vi/0W-ZehhNaoA/mqdefault.jpg)

![30V-4A Adjustable Power Supply Circuit [CV, CC]
30V-4A Adjustable/Variable Power Supply Circuit/Schematic and PCB [CV, CC]
In this video, I explained a low noise/ripple adjustable/variable linear power supply circuit/schematic/PCB. It is based on the LM339 regulator and IRLZ44 N-Channel Mosfet. This power supply circuit/schematic/PCB offers constant current and constant voltage features. the input voltage could be anything between 3V to 35V and the output voltage could be between 1.28V to 30V. This power supply has been build on a two layers PCB board and all component packages are through-hole. The PCBs have been fabricated by the PCBWay company. The output noise of the power supply has been examined using the Siglent SDS2102X plus (SDS2000X Plus Series) oscilloscope. This oscilloscope offers a handy function named Power Analysis that can be used to examine the output noise/ripple. The output voltage is highly regulated as we expect from a linear power supply. All laboratory supplies are linear. A linear power supply offers better line regulation and load regulation and lower noise, although they are not efficient, in comparison with switching power supplies.
Altium Designer: https://www.altium.com/yt/myvanitar
Article: https://www.pcbway.com/blog/technology/30V_4A_Adjustable_Power_Supply CC_CV_.html
Check other videos: http://bit.ly/2N9OlPa
Tools:
Siglent SDM3045X:https://www.siglenteu.com/digital-multimeters/sdm3045x-digital-multimeter/
Siglent SDS2102X Plus: https://www.siglenteu.com/digital-oscilloscopes/sds2000xp
Inspired by:
GreatScott!
Build your own Variable Lab Bench Power Supply
URL: https://www.youtube.com/watch?v=wI-KYRdmx-E
Inspired by:
EEVblog
EEVblog #221 - Lab Power Supply Design - Part 1
URL: https://www.youtube.com/watch?v=CIGjActDeoM
Inspired by:
Electronoobs
DIY variable bench power supply (less than 10$)
URL: https://www.youtube.com/watch?v=WeYK2gY4z-A 30V-4A Adjustable Power Supply Circuit [CV, CC]](https://i.ytimg.com/vi/0hd9YqLyfBg/mqdefault.jpg)
![🔶 High Precision Digital AC Energy Meter Circuit [Voltage, Current, Power, KWh]
A Digital AC Energy Meter Circuit [AC Voltage, AC RMS Current, AC Active Power, AC Energy, AC Power Factor, AC Apparent Power, KWh] using Arduino Nano and HLW8032
Altium Designer + License (Free): https://www.altium.com/yt/myvanitar
OctoPart: https://octopart.com
Article: https://www.pcbway.com/blog/technology/High_Precision_Digital_AC_Energy_Meter_Circuit_Voltage_Current_Power_KWh_3a6bf090.html
Disclaimer: Some parts of this circuit carry 220V Mains voltage. Be careful with your experiments. If you are a beginner, ask some experienced users to guide you.
Dealing with the 220V-AC mains voltage and measuring the AC loads true power, voltage, and current parameters are always considered a big challenge for electronic designers, both in circuit design and calculations. The situation gets more complex when we deal with the inductive loads because inductive loads alter the sine-wave shape of the AC signal (resistive loads don’t).
In this article/video, I introduced a circuit that can measure the AC voltage, RMS current, active power, apparent power, power factor, and energy consumption (KWh) of the loads. I used an Arduino-Nano board as a processor to make this more educational-friendly and attractive even for beginners. The device independently measures the aforementioned parameters and displays the results on a 4*20 LCD. The measurement error rate is around 0.5% or even lower.
To design the schematic and PCB, I used Altium designer 22 and installed the missing component libraries using Altium’s manufacturer part search tool. Besides, the Octopart website allowed me to quickly gather information about the components and build a BOM for the project. To get high-quality fabricated boards, I sent the Gerber files to PCBWay and used the Siglent SDM3045X benchtop multimeter for calibrating the device.
Its a cool device to be used in everyday electronics, so let’s get started :-) 🔶 High Precision Digital AC Energy Meter Circuit [Voltage, Current, Power, KWh]](https://i.ytimg.com/vi/1I6Bz7_DOGs/mqdefault.jpg)


