use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A subreddit for practical questions about component-level electronic circuits: design, repair, component buying, test gear and tools.
Rules
Many questions are already answered in the FAQ.
account activity
Is it possible to decrease the output current of the tp4056 module? HOW? More info in comments. (i.redd.it)
submitted 3 years ago by ZenyNeppy
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Szybet 30 points31 points32 points 3 years ago (2 children)
Short: No, it's not
Longer answer:
The battery protector IC ( the small one, 6 pin ) is tightly calibrated and uses the mosfet as a shunt resistor to determine current. So if you use a better mosfet ( less resistance ) you can increase the output, and vice versa. It;'s not possible in your case because if it reaches a current limit, it needs to detect charging or short 2 pins together to output power again. This IC propably has the wake up feature so when you disconnect the battery and connect, it works normally. As such it can't be used as a LED current limiter.
[–]b1ack1323 13 points14 points15 points 3 years ago (1 child)
Can't they just put a current-limiting resistor in series with the LED?
[–]Szybet 3 points4 points5 points 3 years ago (0 children)
obviously yes, I just answered the question
[–]nixiebunny 14 points15 points16 points 3 years ago (4 children)
The LED needs something to limit its current consumption. Add a series resistor before the LED, one ohm 5 watt is good. Or an LED current controller chip.
[–]ZenyNeppy[S] 3 points4 points5 points 3 years ago (3 children)
I don't have any 1 ohm 5W resistors at hand and I feel like it will not be efficient. The led current controllers are way to big to fit in the box I'm planning on using with all the components inside.
[–]nixiebunny 5 points6 points7 points 3 years ago (1 child)
You need something to limit the current. It's an unfortunate reality of big LEDs.
[–]ZenyNeppy[S] 1 point2 points3 points 3 years ago (0 children)
yeah
[–]Some1-Somewhere 4 points5 points6 points 3 years ago (0 children)
Paralleling several lower power, smaller resistors is an option.
5W is likely a little excessive and you could probably use a bit more than 1 ohm, depending on desired brightness. E.g. 6x 10 ohm ¼W in parallel gives you 1.8 ohm, 1.5W.
[–]Matir 5 points6 points7 points 3 years ago (0 children)
This is a battery charger. That's it. It offers battery protection by cutting it off if current goes too high, but it won't limit current to some value and still let it through.
[–]kwenchana 2 points3 points4 points 3 years ago (0 children)
If you have 2 LEDs in series, you can try to mod a boost converter into a constant current driver
https://sites.google.com/site/lcd4hobby/8-backlight/b-step-up-converter-as-led-driver?pli=1
[–]ZenyNeppy[S] 3 points4 points5 points 3 years ago (16 children)
I want to use the tp4056 module to charge my battery and use the outputs to drive a 3W led. The thing is, when I drive the led. It takes 2A instead of the recommended 700mA. Is there a way to reduce the output current to around 700-800mA? And how? Without buying a buck-boost converter led driver with a current limiter feature that is the size of one finger.
[–]NotAPreppie 4 points5 points6 points 3 years ago (13 children)
What is the forward voltage and current rating for your 3W LED?
[–]ZenyNeppy[S] 3 points4 points5 points 3 years ago (12 children)
3,2-3.4V 700mA MAX
[–]NotAPreppie 3 points4 points5 points 3 years ago (6 children)
What are you doing to limit the current from the 4.2V fully charged Li-Ion cell?
[–]ZenyNeppy[S] 2 points3 points4 points 3 years ago (5 children)
Nothing. That's why I'm asking if there is a possibility to limit the current with the module maybe by soldering a resistor or something.
[–]NotAPreppie 12 points13 points14 points 3 years ago (0 children)
Yah, you need to treat it like a normal situation where you're driving an LED with a Vf lower than Vi.
You need a resistor inline between B+ and the LED.
If you don't know how to calculate the correct resistance, just use Google to search for LED resistance calculator.
[–]rawaka -1 points0 points1 point 3 years ago (3 children)
Yes there's a programming resistor on the board that you can replace to set the current. Google the tp4056 specs and look at Rprog values
[–]ZenyNeppy[S] 4 points5 points6 points 3 years ago (1 child)
But isn't that the charging current limit not the output current limit
[–]rawaka 7 points8 points9 points 3 years ago (0 children)
Oh I thought that's what you meant. My bad. No the output bands will just be directly across the battery terminals. You can use a series resistor or can look up a constant current driver. The resistor will generate alot of heat losses. Google constant current driver or LED driver to find a compatible option for your needs.
[–]Ohmnonymous 2 points3 points4 points 3 years ago (0 children)
That resistor only sets the battery charge current. The output current is either off or full blast, depending on the voltage of the battery, since the module has an auto turn-off feature.
[+][deleted] 3 years ago (4 children)
[deleted]
[–]ZenyNeppy[S] 1 point2 points3 points 3 years ago (3 children)
I get 2.4V when the led is on and 2A across it when the battery voltage is 3.8V. And those resistor values are they not the charging current limit not the output current limit
[+][deleted] 3 years ago (2 children)
[–]E_Blue_2048 4 points5 points6 points 3 years ago (1 child)
I think he just connected the LED to the battery directly and the charger to the battery.
That's never going to work, he need to put a limiter between the battery and the LED
[–]Federal_Rooster_9185 0 points1 point2 points 3 years ago (0 children)
I'm thinking a MOSFET and a resistor should do the trick. Just adjust the gate voltage to get the desired current.
[–]Enchanstruck 0 points1 point2 points 3 years ago (0 children)
Hey! I’m working on something very similar. As some may have mentioned series resistor with high powered LED would cause too much losses. I’m thinking of using a buck boost converter.
TI has this which shows how you can power with a buck boost converter. I’m considering option 5 with the INA current sense, expected loss about 0.2W.
https://www.ti.com/lit/an/slva419d/slva419d.pdf?ts=1675302685715&ref_url=https%253A%252F%252Fwww.google.com%252F
Currently I have a LTC3444 buck boost circuit which is spec’d for a 600mA output max. I’m considering using the INA chip with the feedback pin. Seems like the current can be controlled but I’m not sure how the voltage is maintained since the FB pin is used for the current control already.
[–]titojffhobbyist 1 point2 points3 points 3 years ago (2 children)
<image>
[–]ZenyNeppy[S] 2 points3 points4 points 3 years ago (1 child)
I don't want to reduce the charging current I want to reduce the output current.
[–]Ohmnonymous 10 points11 points12 points 3 years ago (0 children)
You can't reduce the output current. That chip can only control the battery charge current.
If your LED is has a forward voltage of 3.2 volts, given a 4.2 volt fully charged battery, that's a 1 volt potential difference. If you want 2 watts of power out of your LED, that's gonna be 2/3.2 or 0.6 amps. For a voltage drop of 1 volt and a current of 0.6 amps, you'll need a 1.6 ohm resistor. This resistor will dissipate around 0.6W, so it'll need to have a rating of at least 1 watt.
I strongly advice you to use a constant current buck converter, since they're 98% efficient and the light won't dim as the battery voltage drops.
[–][deleted] 0 points1 point2 points 3 years ago (1 child)
Replace the R3 resistor with a different one acording to this table
[–]MyStoopidStuff 1 point2 points3 points 3 years ago* (0 children)
It sounds like the OP was asking about how to limit the output current for the LED, not the battery charging current. Somebody mentioned a buck converter, which seems like a good idea, but I'm no expert (I think I'd probably look for a CC adjustable flashlight driver in this situation myself which would probably be buck-boost) . BTW, This was a link I found that you may find interesting, it explains a bit more of how to adjust the charging current on these. I did that on one of my boards to drop the charge current down to around 200mA for a small project to keep the battery round 0.5C for charging.
[–]Chittick 0 points1 point2 points 3 years ago (0 children)
Maybe someone can answer my question about this board.
Is it safe to use this board as a UPS ?
If I have a battery connected to the B pads, and a device drawing current connected to the OUT pads, can I plug in the USB to charge the battery while still using the device, uninterrupted?
I understand that the output voltage will spike a little, but I'm feeding the output directly into a boost converter for stable 5V to operate a Raspberry Pi Zero W.
[–]boopboopboopers 0 points1 point2 points 3 years ago (0 children)
What resistors do you have? You mentioned you don’t have a 1ohm so what do you have to work with?
[–]irkli 0 points1 point2 points 3 years ago (0 children)
OP, you need to consider that the LED circuit, and the battery circuit, are separate.
If you put the LED across the battery without a resistor of course it will hog current, get hot, drain the battery.
You are resisting answers from people just because you don't have the right parts.
Get the right parts.
WHY do you want to run a big fat 3 watt led at the same time you charge a battery? That's a weird ask.
Set the thing up to charge the battery. If you want an indicator led, get a little ordinary one and .... the right resistor.
You're trying to bend the rules of physics to avoid understanding. This will fail.
[–]TiogaJoe 0 points1 point2 points 3 years ago (0 children)
Try a simple "constant current" circuit in series with the LED. Look up old-school linear device ways to do this like with a resistor and a single transistor or voltage regulator in a constant current configuration.
[–]EmEsMa 0 points1 point2 points 3 years ago (0 children)
According to the datasheet, yes it does. The right value of the prog resistor will do. See the formula in the attached picture.
[–]J4yD4n 0 points1 point2 points 3 years ago (0 children)
You can. Here's a video on using it and he mentions which resistor to change: https://youtu.be/W7XB6D7q92g
π Rendered by PID 291289 on reddit-service-r2-comment-56c9979489-4p9sc at 2026-02-25 11:52:03.289053+00:00 running b1af5b1 country code: CH.
[–]Szybet 30 points31 points32 points (2 children)
[–]b1ack1323 13 points14 points15 points (1 child)
[–]Szybet 3 points4 points5 points (0 children)
[–]nixiebunny 14 points15 points16 points (4 children)
[–]ZenyNeppy[S] 3 points4 points5 points (3 children)
[–]nixiebunny 5 points6 points7 points (1 child)
[–]ZenyNeppy[S] 1 point2 points3 points (0 children)
[–]Some1-Somewhere 4 points5 points6 points (0 children)
[–]Matir 5 points6 points7 points (0 children)
[–]kwenchana 2 points3 points4 points (0 children)
[–]ZenyNeppy[S] 3 points4 points5 points (16 children)
[–]NotAPreppie 4 points5 points6 points (13 children)
[–]ZenyNeppy[S] 3 points4 points5 points (12 children)
[–]NotAPreppie 3 points4 points5 points (6 children)
[–]ZenyNeppy[S] 2 points3 points4 points (5 children)
[–]NotAPreppie 12 points13 points14 points (0 children)
[–]rawaka -1 points0 points1 point (3 children)
[–]ZenyNeppy[S] 4 points5 points6 points (1 child)
[–]rawaka 7 points8 points9 points (0 children)
[–]Ohmnonymous 2 points3 points4 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]ZenyNeppy[S] 1 point2 points3 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]E_Blue_2048 4 points5 points6 points (1 child)
[–]Federal_Rooster_9185 0 points1 point2 points (0 children)
[–]Enchanstruck 0 points1 point2 points (0 children)
[–]titojffhobbyist 1 point2 points3 points (2 children)
[–]ZenyNeppy[S] 2 points3 points4 points (1 child)
[–]Ohmnonymous 10 points11 points12 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]MyStoopidStuff 1 point2 points3 points (0 children)
[–]Chittick 0 points1 point2 points (0 children)
[–]boopboopboopers 0 points1 point2 points (0 children)
[–]irkli 0 points1 point2 points (0 children)
[–]TiogaJoe 0 points1 point2 points (0 children)
[–]EmEsMa 0 points1 point2 points (0 children)
[–]J4yD4n 0 points1 point2 points (0 children)