Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Developing DC UPS module

anso-engineer

New Member
Hello!

I am using some UPS modules, 15Wt power, but i found some things which is bad suitable for me.
ups-3.pngups-2.png
1) In this layout it's hard to swith battery source
2) Actually I need something more powerful, around 25-30 Wt.

The basic idea for a new project is to concentrate on TP4056 layout and what is needed for there. If have a look at the already existed PCB,
I have found there some kind of MOSFET and protection elements,
HGZBCddl4W.pngups-2.jpg
but according general datasheet with TP4056 there is few resistors, capacitors and indication diodes.
tp4056-base-appliance.png


I also plan to use ESP8266 or Arduino Nano for the managing state purposes.

Could you explain the general idea for it and what it need for it? For now I see that I definetly need 2items of TP4056 for share load between them.
 
What has the TP4056 got to do with a UPS?, it's just a Li-Ion charger IC - the extra FET's etc. are to add battery protection to it, to avoid over discharge of the battery.

Why would you need two?, can they even be paralleled?.

If you're using a micro-controller you could do the charging in software (with discrete hardware), rather than use a TP4056, and so make it do exactly what you want.
 
In the most ready to use there is TP4056 IC, so I based on it because I plan to use 18650 also.
I decided to use 2x TP4056 becase the general reserving line probably will contain 4 batteries. Mainly in this workflow ESP8266 should be a simple switch and logger, so I am not sure what is the basic logic of charging should goes there. Probably it's more complicated than turn off charging when battery is 4,2 and turn it on when it's 3,5 :)
 
Warning : https://www.best-microcontroller-projects.com/tp4056.html

1736335030325.png


General charging considerations :



 
Ok, do I need this extra staff as (2) and (3)? Or some of their functionality can be replaced with MCU?
Btw, what is the proper way to limiting current during the charge? Because I don't think that some variable resistors is good idea.
1736336815159.png
 
Ok, do I need this extra staff as (2) and (3)? Or some of their functionality can be replaced with MCU?

Those are basically to prevent over discharge of the battery, which ruins Li-Ion cells.

Here's one example of charging using a micro-controller, it's worth studying to see the various methods he uses, particularly for safety checking.

Btw, what is the proper way to limiting current during the charge? Because I don't think that some variable resistors is good idea.
View attachment 148379

On theTP4056 the charge current is set by the resistor on pin 2.
 
Back
Top