Hi there;
I developed a project using RFID reader, RTC Module, SD Card Module and arduino nano. I am planning to use 18650 lithium battery as power source. I will use 2 batteries and it will be connected in series. I'm thinking of adding a charging module to the circuit. I will use T5100. I have shared the link of the module below.
Charger Module
The question I want to ask is, my circuit will be fed continuously with the battery, the circuit will continue to work while the battery is being charged, is this a problem? Is it a problem to connect a load to the batteries while the batteries are being charged, and if so, how can I prevent this?
It is good to use 18650 battery.
But if you are planning to charge and discharge it simultaneously I would prefer you to dont do that because it will harm the battery and battery may be explode
Also if you are doing some high duly work it ia also recommend to use bps module
I would suggest you to connect batteries to bms module and use TP4056 for charging the battery also.
Also it is advised to not connect BPS TO TP4056
Remove any time of load and disconnect all connection for charging safely
It mean removing the battery from holder
thank you for suggest and answer. Also sorry for my late reply.
what if i use power selector circuit with p channel mosfet? For example, the circuit in the picture below. While charging the batteries, the circuit will be powered by the power supply, when I remove the power supply, the circuit will continue to work with the battery. In the circuit in the image, the battery and power supply need to be replaced. Because my circuit will work with battery as defult. Would this be a solution?

A circuit like that should work, but the mosfet is oriented backwards. If you will include the body diode of the mosfet in your drawing, you will see why. The body diode must prevent current from flowing from the charging source back through the mosfet to the battery.
But generally it's called a "load sharing" or "power path" circuit. It's needed because the TP5100 terminates charging when charging current at 4.2V or 8.4V drops below 100mA. Any load current could distort the termination process, and might even prevent termination, which you don't want.
Thank you so much. I tried this circuit and it works perfectly. Thank you for your support you are best.
That's great. But I have no experience with the TP5100, and wonder what kind of battery protection it has built in. The translated datasheet says it has "undervoltage protection", but that appears to be an input voltage lockout. Perhaps someone can clarify this. You need to have something which prevents the battery from discharging below a certain point. If the TP5100 doesn't have that, then you will need to use a protected battery.