The TP4056 is a 1A standalone linear lithium-ion battery charger IC that implements constant current constant voltage (CCCV) charging, automatically transitioning from constant current to constant voltage at 4.2V to safely charge lithium batteries, with thermal protection and LED status indicators.
Deep Dive
Prerequisite Knowledge
- No data available.
Where to go next
- No data available.
Deep Dive
#2588 TP4056 Lithium Battery Charging ICAdded:
All right, it's chip of the day. People love chip of the day. It is a TP4056 1 amp standalone linear lithium ion battery charger with thermal regulation in SOP 8.
These things are everywhere.
All right, it's a complete constant current constant voltage linear charger.
So, we'll talk about what that means.
Um and it is just a cute little part. It's just a little 8-bit 8-pin part SO8.
Um so, what does it need What does it need to do and what does it do? So, it is a chip that charges batteries, okay?
Charges lithium batteries, right? So, here's a bunch of lithium batteries over here, right? You get the the big ones, the little ones, the the the the tiny ones. You need to You need to charge your batteries. Now, lithium batteries need a particular type of charging circuit.
And this chip will do that for you, okay?
And we can take a look at the uh diagram right here.
Oh, trash man's outside.
Uh we have uh Wednesday's trash night here, so.
Uh it is Thursday morning now.
So, um All right, so um let's talk about these batteries.
These batteries have a certain capacity and you need to charge them up and you can't overcharge them. It's bad to overcharge them. It's bad to undercharge them.
Um so, you need to have the right charging conditions. Now, the way that they like to be charged is they like to be charged with a constant current up to a certain point and then they don't like it anymore.
So, that's what this chip does. It has a section where um it's kind of hard to read this diagram here.
Um we're going to follow this curve right here. I wish they were in different colors. Maybe I can Let me Let me highlight one.
Okay, so I'm going to highlight the charge circuit.
All right.
There we go, that's better.
So, the yellow here is the charging uh output. So, first of all, we have a constant current.
We have a 1,000 mA 1 amp charge current.
So, we're going to charge that battery and this is the battery voltage.
So, the battery voltage as you have hold a constant current, the battery voltage will go up and up and up and up and up and up and up.
And then it will finally reach a particular voltage where oops, we're getting too much and then it starts it turns off the constant current and uh just does constant voltage from there and then it just flat spots. It just goes, okay? So, 4.2 4.2 V is kind of a nominal charge voltage for these types of batteries.
You don't want to go above 4.2, you don't want to go below 4.2, you want 4.2.
And even though they're called a 3.7 V battery, you want to charge them to 4.2 V.
And then they will operate all the way down to about 3 V.
2 and 1/2 3 V. You don't want to go any lower than that with these batteries, okay?
So, again, we have There's a little bit of funny business here, but look, we have a charge We have constant current and then constant voltage and because we're holding a constant voltage, the current will go down. We're not forcing a current, we're forcing a voltage.
Here, we're forcing a a current and we're letting the voltage go up.
So, this chip does it all does it all for you, okay?
Here's a typical circuit.
We have the battery. Battery goes over here and uh there's also a temperature pin, so you can have a thermal couple here um in the battery and if it gets too hot, it'll shut itself down, which is nice.
Uh so, this is the charge circuit. It's got two outputs for LEDs. It tells you if it's charging or if it's already charged.
Um so, uh the the charge uh gets pulled down if it's in charge mode, if it's the one 1 amp charge mode.
And then if it gets up to the voltage current the voltage compliance, then it'll go into the standby mode where it's just sitting there constant voltage.
And then there's a programming resistor, which tells you how much how much current do you force? I thought And I thought you said it was 1 amp. Well, it's it's variable.
Depending on what value resistor, you can have it set anything up to 1 amp, okay?
And so, if you only want 300 mA, you can put in a 4K resistor.
And uh yeah, there you go.
So, let's take a look at one in action here.
Oh, let me uh let me read read you one thing on the data sheet. I told you you you don't want to be below 4.2, you don't want to be above 4.2. Well, how accurate are these things? Well, they're accurate from nominally, they're 4.2, but the chip could be as low as 4.137 or as high as 4.263.
But this is in an accept in an acceptable range for the battery, okay?
Um okay, yeah, so let's take a look at one of these.
All right, so here's a little board that has one of those chips on it.
And it's got two LEDs.
A red LED in there and green LED and if it's a red LED, it's charging. If it's green LED, it's already charged.
You can uh hook up uh USB 5 V. So, this board takes in 5 V and then does all the chargy things.
Let's put some volts on it here.
Um should always have 5 V laying around.
All right, so here's 5 V.
And there's a little place here where I don't have to hook up USB. I can just hook up 5 V right right here.
And I don't know if you saw that, but it went from a uh uh flashed from a red to a green.
And uh if this was uh discharged, it would be uh going uh red and then it will go up to the green, right?
Um so, let's take a look at a different one. Here's another one. It's using the exact same exact same board.
And um I have this one hooked up to battery, but this battery is is um It says 1,800 amp hours, okay?
Uh 1,800 and this 1 amp hours is not marked, but they're usually around 2,000.
And you want to charge them about half of the uh capacity of the battery.
The C point is the the the total charge um total capacity. C is capacity.
Um and these are about 2 amp hour batteries. So, you want to charge it about half of that. So, that's where the 1 amp comes from. You charge this one to about 1 amp. This one's 1,800, so yeah, it's about 1 amp as well, right? 900 mA.
And so, let's hook this one up.
And uh see how he's doing.
And there we go, we're getting a red light on this one. See that?
So, we have a red light here, which means it's charging, all right?
And um let's go ahead and take a look on the oscilloscope.
All righty, take it back. I'm going to use a voltmeter. We'll be able to see it better with a voltmeter.
And so, I'm going to um look at the voltage on the battery, all right?
And we will monitor the uh volts here.
All right, so the battery is currently at 4.17 and we'd like it at 4.2, right?
So, I'm going to hook up our charge.
We're going to hook up our our 5 V, it'll turn on the charger. So, now the charger's going. I think you can watch over there, the voltage is now going up.
There we go, 4.2.
So, it's almost exactly where it needs to be.
So, it's not going to take too much longer for the uh charger to go from a red LED to a green LED.
All right, well, that was chip of the day, a TP4056.
Like I said, you'll see these things everywhere.
And uh they do this automatic chargy thing for your lithium ion battery.
There we go. We've gone to a green green LED.
>> [music]
Related Videos
U.S. Military Just Flexed The Most Dangerous Aircraft Ever Built The F-47
MaxAfterburnerusa
11K viewsβ’2026-05-29
Heating Staying On On The Hottest Day Of The Year
PlumbLikeTom
507 viewsβ’2026-05-29
λ°μ ν¨μ¨μ λμ΄λ νμκ΄ μΆμ μμ€ν μ κΈ°μ μ μ리 #곡ν #곡μ #νμκ΄ #μκ³ λ¦¬μ¦ #μ¬μμλμ§
μ°νμ₯κΈ°μ
2K viewsβ’2026-05-29
Peterborough to Newark Northgate Driver's Eye View aboard an InterCity 225 - East Coast Main Line
TrainsTrainsTrains
822 viewsβ’2026-05-31
AI turbine design: hypersonic cooling leap #shorts #ai #hypersonic
bobbby_rn
671 viewsβ’2026-05-31
μ§κ΄ λ° κ³‘κ΄ λ°°κ΄ κ²°ν© κ³ μ μμ #worker #process #fabrication #pipework #clamp
μλμ΄μ΄
2K viewsβ’2026-05-30
How Far Can A Tomahawk Missile Actually Travel?
WarCurious
13K viewsβ’2026-05-28
Wire To Wire Connection Trick | Strong And Secure Electrical Joint #shortvideo #wireworks
ElectricianTips-b1h
5K viewsβ’2026-06-02











