Using li-ion battery with tp4056 to power arduino nano

Is this the best method to power arduino nano with li-ion battery with extra tp4056 to charge the battery? I don't really know if it the most energy-efficient and safest way of doing that or is there another way.

Sorry, I don’t have parts that look like those, nor do I recognize them. Your picture is too fuzzy to read the numbers or details. Posting an annotated schematic showing how you’ve wired everything will help in providing a correct answer. Be cautious if something is wired incorrectly, your battery could become a serious fire hazard.

I would not charge the battery with the boost mod connected.

I hope now it looks better

why not

Forget I said anything.
Auf Wiedersehen.

It should work, but you need an On/Off switch between the battery and the boost converter. Then you can still charge the battery when the rest of the circuit is switched off. And I agree that you shouldn't run the boost converter and Nano when charging.

Do not connect 5V and USB at the same time.
Do NOT connect ANYTHING to Vin
Do not charge the battery when connected to boost

I have also heard that doing this can cause damage to some models of Arduino, like maybe Uno, and perhaps the PC/laptop also, but as far as I know it's not a problem on classic Nano 3.

The TP4056 chip on those modules protects against over-charging but it does not protect against over-discharging. Over-discharging can be just as dangerous because the battery can be damaged and can catch fire or explode next time it is recharged.

Some, but not all, TP4056 modules also contain an over-discharge protection circuit. The images you have posted appear to show a module that does have the over-discharge protection circuit, but that is no guarantee the actual module you have is the same. Post a bright, clear, close-up photo of it.

Why not?

The TP4056 is does not allow for 'load-sharing' in other words, if the boost module is connected it will draw some current, therefore the TP4056 will never register the battery to be completely full, and will keep charging even though the battery is full, which could in theory cause the battery to explode.

yes but not when there is a load on it at the same time.

If you have a 3.3v nano / 8Mhz clocked nano, you could leave the boost module out, that will save energy

so something like that?:


but then where should the tp4056 output be connected. On the schema, the output is connected to arduino nano to 5v and gnd. My arduino nano (which is the arduino nano 3.0 version) is supposed to be powered with an input voltage of 7v to 12v.

About the tp4056 here is the info I know of:


Its the typical tp4056 with usb-c input

So that idea would not work.

So what if I used the boost module to boost the voltage 3,7v (battery) ---(boost module)----> 7v, and connect it to the vin pin on arduino nano?

Also, about the boost module, I am flexible so if the boost module cause the issue I can replace with another type of boost module. I still dont have it figured out.

What's wrong with the scheme you show in post #1?

The problem is that I dont really know if the scheme shown on post #1 is the best solution of using tp4056 as a charger and powering the arduino nano. Is this the best solution?

My goal is to be able at any time charge the battery and use the arduino.

Which on a 3.3v would be 3.3v & GND. Basically beyond the lineair regulator. All components of a 3.3v Nano can also handle the 4.2v maximum voltage the battery may provide, but the nano can not run at 16Mhz when the voltage drops.

Then you will need extra circuitry. Something that powers the Nano directly from the 5v source when it is available, but does not feedback to the battery. Depending on how much current your Nano + parts requires, just am extra line and 2 diodes preventing the feedback may suffice. Otherwise there are circuits which use mosfets. If you google a bit you should be able to find something. This is a common issue for people wanting to use TP4056 and the forum has the answers to your question

Then buy one of these

OR

Alright, thank you guys for helping me out. It meant a lot to me.