Im having an issue with TP4056 Lithium Charger Module. Connected the battery 3.7v 150mah battery. When charging the red led is on but it never shuts off and no charge state is reached even after 1-2h of charging. Also when load is connected (digispark) to output it will not power it. If I connect the module like I was to charge the battery with 5V it starts. I then disconnect the power and digispark is then powered via battery. Its like it needs a small boost to start up the protection circuit for the battery on the module to allow it to pass current through.

Any ideas ? Thanks

  • \$\begingroup\$ You had originally chosen the "lithium" tag; that is for non-rechargeable batteries. I have answered assuming that this was a mistake, and that your 150mAh battery is a rechargeable Li-ion battery. If you really are using a non-rechargeable battery then please stop trying to recharge it and please ignore my answer :-) \$\endgroup\$
    – SamGibson
    Commented Mar 18, 2016 at 21:12
  • \$\begingroup\$ Another assumption I've made in my answer, is that the red LED which you mention staying on, is the one driven by pin 7 (/CHRG) of the TP4056 (or clone) chip as usual. However I have now read about some of these boards where both LEDs are red, or where the "finished charging" LED attached to pin 6 (/STDBY) is the red one (sounds like a manufacturing mistake). Please confirm that the red LED you mention staying on, is the one driven by pin 7 on that IC. \$\endgroup\$
    – SamGibson
    Commented Mar 18, 2016 at 21:26
  • \$\begingroup\$ I use a rechargable battery :) Checked amperage and it starts bellow 100ma which is fine ad gets to 0 but still no full charge indicator. The start up was fixed by adding a simple switch. Thanks for lenghty response a lot of effort was put into it. It was informative \$\endgroup\$
    – NccWarp9
    Commented Mar 19, 2016 at 13:35
  • \$\begingroup\$ will check the pinout \$\endgroup\$
    – NccWarp9
    Commented Mar 19, 2016 at 13:36
  • \$\begingroup\$ Glad you fixed the start-up problem. If you measured 100mA with R3 having its "as supplied" value of 1k2Ω, that usually means the battery was nearly full and was in the constant-voltage part of the charging profile (or else your charger is faulty). Until you replace R3 as I explained, there is still the possibility for the charger to (try to) supply 1000mA when the battery is more discharged. That would be bad news for a 150mAh battery! For the reason I explained previously, we should not expect charge termination to work correctly with the inappropriate 1k2Ω value for R3 either :-( \$\endgroup\$
    – SamGibson
    Commented Mar 20, 2016 at 12:32

1 Answer 1


I'm not going to try to answer all parts of your description, since part of the problem is that the charger is being used incorrectly. Only after that is resolved, might it be worth investigating the second behaviour.

  1. Those charger boards from Ebay cannot be relied upon to work (a) correctly, and (b) safely. They typically appear to use the TP4056 (allegedly based on the Linear Technology LTC4056). The TP4056 has itself been cloned, with some not stopping charging the battery at the correct voltage, for example. Here is one engineer's experiences, with comments from other people where TP4056 chips (or clones) didn't behave as expected:


  1. Even if that Ebay charger board does work, as supplied it is not suitable for charging your 150mAh battery. Notice that charger is advertised as being "5V 1A Micro USB 18650 Lithium Battery Charging Board Charger Module Protection", and based on typical 1C charging rates, it should be used (as supplied) on batteries with a minimum capacity of 1000mAh.

As shown in a (randomly found) TP4056 datasheet, the resistor attached to pin 2 (RPROG) sets the charging current. Your Ebay advert shows the marking on that resistor (R3 on that specific PCB) is 122 (i.e. 1k2Ω) to select 1000mA battery charging current.

That charging current would be dangerous if it were actually applied to a typical 150mAh battery, which is not designed for charging at 6.6C (1000mA / 150mAh) i.e. 6.6 times its rated capacity! Here is a example datasheet for a (randomly found) Li-ion 150mAh battery, showing the typical 1C maximum charging current (a lower charging current is "standard"):


Therefore charging at 6.6C would be well outside of the specification of this battery, and likely your battery too. Please do check your specific battery's datasheet for confirmation, but I have never seen a small battery like 150mAh which is rated for charging at 6.6C.

Looking in that TP4056 datasheet above, R3 on that PCB (attached to TP4056 pin 2 "PROG") should be 10kΩ for a 130mA charging current - close enough to your requirements, with a 150mAh battery. Setting the correct charging current is also important, because the TP4056 only stops charging when the battery draws less that 1/10 of the selected charging current (which happens when the battery becomes full at the end of the constant-voltage part of the charging profile). Therefore as supplied, that charger will only believe that a battery is full and stop trying to charge it, when it draws less that 100mA (1000mA / 10). At a guess, perhaps your battery is starting in that situation, and so the charger isn't even trying to charge it?

Full investigation would require you to take various voltage & current measurements, to try to reverse engineer the behaviour of a module from Ebay where the seller doesn't show a schematic or datasheets. This process might be possible (I've done it in the past), but it's not at all easy when the board isn't in front of the person doing the reverse-engineering, and when we have no confidence in the quality of the components being used! That is why I suggest starting with fixing the obvious problem (wrong charging current) and moving on from there.

Therefore, if you decide to take the risk to try investigating this unknown quality Ebay board, I suggest:

  • change R3 from 1k2Ω to 10kΩ;
  • discharge the battery with an appropriate load (I would use no more than 80mA discharge current - be guided by whatever your battery's datasheet shows for its rated discharge current, and adjust this suggestion as required by that datasheet) down to say 3.7V (no need to go lower than 3.5V);
  • then attach the battery to this charger with R3=10kΩ and measure the battery charging current, with a suitable multimeter in series (leave that in place);
  • expect to see approx. 130mA battery charging current initially;
  • as the battery voltage rises (you would need a second multimeter to check that), expect the battery charging current to slowly drop to (effectively) zero (datasheet shows microamp current in this state, when the battery voltage reaches 4.2V);
  • the second (sometimes green, sometimes blue) LED, attached to TP4056 pin 6, should then light.

In case of the charger abusing the battery, wear eye protection and have a plan what to do in case of the battery rupturing and catching fire (plenty of example videos on YouTube of what can happen). Thankfully, your battery is relatively low capacity compared to an 18650 or bigger, but it would still be dangerous if anything bad happens. Good luck!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.