DIY 5V mini UPS with 9000mAh
HTML-код
- Опубликовано: 12 июл 2024
- Hi guys!
In this episode I will show you how I made a 5V mini UPS. It took a long time to finish this project because I wanted to create a good circuit to protect the battery.
PCB+Assembly from $2, Get JLCPCB $54 new user coupon:jlcpcb.com/RHS
Get SMT Coupons via Contacting JLCPCB FB: / jlcpcb
A big THANK YOU to all my patrons, especially to: Max Rice, Jacek, techge and Anthony Ortenzi.
If you are a nice lad and want to donate to me on Paypal, here you go: melcumlk@gmail.com
My Patreon campaign: / sorindiy
My Facebook page: / sorindiy
My Instagram: / sorin.diy
Download gerber file: files.fm/f/fvn25kbrv
Schematic: imgur.com/a/RRUq9Ii
Components list:
Plastic case 125x80x32mm: s.click.aliexpress.com/e/_Ddg...
TP4056 module: s.click.aliexpress.com/e/_9hTxou
MT3608 boost converter: s.click.aliexpress.com/e/_DdF...
NCR18650B cells: s.click.aliexpress.com/e/_AmRDya
1S battery indicator: s.click.aliexpress.com/e/_Des...
Small switch 10x15mm: s.click.aliexpress.com/e/_DnN...
Capacitors 10V 4700uF: s.click.aliexpress.com/e/_Dkr...
USB port: s.click.aliexpress.com/e/_DBZ...
5V double relay: s.click.aliexpress.com/e/_Ddn...
1N5820 3A diode: s.click.aliexpress.com/e/_DkS...
1N4007 diodes: s.click.aliexpress.com/e/_De1...
Fuse holders: s.click.aliexpress.com/e/_Deo...
IC heatsink 9x9x12mm: s.click.aliexpress.com/e/_Dl5...
LED (R-G Fog Anode): s.click.aliexpress.com/e/_Def...
If you enjoy my videos, hit the Subscribe button!
--------- Music ----------
Track: Alex Skrindo & Miza - Thinkin' [NCS Release]
Music provided by NoCopyrightSounds.
Watch: • Alex Skrindo & Miza - ...
Free Download / Stream: ncs.io/ThinkinYO
Track: ÉWN - Feels (Original Mix)
Music provided by NoCopyrightSounds.
Watch: • ÉWN - Feels | Trap | N...
Download this track for FREE: www.hive.co/l/2b4qv
Track: Koven - Never Have I Felt This [NCS Release]
Music provided by NoCopyrightSounds.
Watch: • Koven - Never Have I F...
Free Download / Stream: ncs.io/NeverHaveIFeltThisYO
Track: Kozah - Haha [NCS Release]
Music provided by NoCopyrightSounds.
Watch: • Kozah - Haha [NCS Rele...
Free Download / Stream: ncs.io/HahaYO - Наука
This will be perfect for dashcam to record while car is off. I rewatched the video and found everything were there including which way to assemble each component as well as the value of each component. Very useful with the links to buy them as well. Great video Sorin!
I think this is a very simple yet effective design, very different from the others.
Great job Sorin! It shows that you research the subject and come up with better solutions.
I need this!!
Thank you, Sorin!!!!
As usual you bring good content. God bless you!! 😊
I really appreciate that you started to have links for the components you are using. As always, very instructive project
May I suggest putting a Schottky diode in series with the battery as it has about 0,3V drop.. As long as it can handle the 2A max current
You have got the best assistant ever 😺👍
Good job Sorin, everything is understandable. Thanks!
Just ordered a multipack of those tp5100 modules to try out. I'm still a fan of the tp4056 and have many. But the increased voltage input on the tp5100 is intriguing. Good job. Thanks for the info Sorin.
Really nice, been wanting to build a UPS for quite some time now and this will definitely help!
Neat, in fact very neat ! Worth mentioning that you chose a TP4056 board that includes the DW01 FETs discharge cutoff to avoid over-discharging the cells.
Very good! Congratulations for the project
Im also trying to make a Ups for my router and modem combo (12v + 9v combo) these videos are perfect
Nice design! Good job!
Very nice video! The CACA charger was hilarious :))
Very nice Sorin! Looking for more videos ❤️🙏
-i'm your follower/subscriber from the Philippines 🇵🇭
Fantastic video, i will build something like this to power my modem/router, thanks !
Nice and clean explanation
And work 👍
Thank you for designing this :)
It's allways good to see new DIY designs... i used the TP4056 a lot in the past, but now i changed to the TP5100... also accepts 5v, up to 18v, and it's a buck charger, so it will be much more efficient, so less power wasted into heat...
Yes TP5100 is lot better than TP4056
Great video as always
Cool project. Love the kitty.
Fanstastic work 👏👌 thanks my friend👍
that's very nice ups you make cool you build big ups
great video and even better work
I love your assistant
Great desing Sorin
Small hack I use for a similar application (actually I only want to be able to power my circuit from the same USB as the battery is charging while the battery is charging, but the trick applies here I believe): you can set the charge current for your battery pack from TP4056 by changing the resistor on it and you can select the maximum charging voltage by putting a diode in series with the battery and choosing the diode which has a small difference of the forward voltage at the max charge current and at zero charge current so that the battery doesn't go into a start-stop charging loop. I use a 1N4148 and set the current at 300mA... it charges the battery at ~3.8V and I don't see the blue and red LEDs flicker when charging ends. I used this trick to make my nephew a music box with a DFPlayer mini and it's on the original Li-ion batery (1 cell) for 3 years now, being played every day and charged every other day. It's a miracle I can still think without singing "Aramsamsam" or "Lulu danseaza-n poienita" constantly :D
Un proiect frumos! 👍
Nice and smooth man 👍
Your assistant is so nice
Thanks for your sharing
very nice build cool
As a student this circuit really easy to understand
very clean
Analiza asistentului patruped asupra acelui cablu usb a fost foarte la obiect🤣🤣🤣.
Anyway, fain proiect 👍
superb brother
great work
You're great !
Good idea
Salut omule! Ar trebui sa produci in serie produsul, cred ca ar avea vanzari... Eu sigur as cumpara 🍻
Thank you very much
Nice video
Nice video, thanks for sharing :)
I am having the same issue with my DIY Bluetooth speaker when trying to turn it on, i have a toggle switch too and the only way to turn it on is to flip the switch on an off a few times quickly. I have added among other things a boost converter for the amplifier and the capacitors are not kind to the battery during startup. It works fine when it is connected to USB power though, exactly the same issue like yours!
You can cut the charging of the batteries by adding a LM431 adjustable zener shunt regulator connected to another relay/mosfet or just use a different Rprog resistor to lower the charging current thus never letting the batteries reach 4.2V
Your cat looks like the cat that used to be on the Ever Ready battery logo featured with "9 lives" on the print. Cute little helper there. Must get you aggravated at times though when you can't find one of the components that got swiped. lol
This is perfecf for routers for uninterrupted internet connection.
Your assistant is soooo Cute❤️💞
good tip about poking the eye out, i never had anything hit my eye using dremel tools and what not because i always wear eye protection , except once when iwas cutting a piece of plastic with wire cutters, it literally hit my eyeball and i could feel it ike a blunt force hit on the eye, not a sharp pain, and even felt sore after like a bruise would. watch yourself when cutting hard materials, (actually dont, close your eyes!)
I'm not trying to teach anyone how to suck eggs but with UPSs it can be very useful connecting them to the target device via dual input adapters. That way if the UPS needs to be disconnected for a moment, you can parallel power the target device and remove the UPS without interrupting the target device. _Not sue if this device will accommodate that._
hello sorin,,we miss you,,,
good job as always,,,
please next video,,any project using super capacitor
Thanks, this project is simply perfect!!! I Will wait for a variant having also a small 6volt solar panel to keep batteries charged, and the main power just to charge batteries when needed. Of course this variant will not be an UPS but more and offgrid Power source for small 5v projects. Br
nice
This is very simple and effective.
As a fellow youtuber I can really appreciate the efforts you put into this video. Keep up the good work friend.
What's your apprentice(cat) name?
Cici the cat :D
This looks perfect for a Raspberry PI UPS
Good point!
Not sure it would work, The Pi 4 needs a 3 Amp PSU
@@mrflibble5311 thank you!!
@@mrflibble5311 : older Pi's don't need as much and even the pi4 needs less than 1amp unless you connect a lot of things to it
@@DaHaiZhu Good to know. I had a few 5V 2A psu's lying around and actually went and got a 3Amp because it was the spec .
mega.. Sorin please make a subwoofer Amp for audiophiles with eq knobs, would be a big help to all the people ordering these amazon things that sometimes don't work, id rather build one of yours.. good look. i keep fingers crossed.
Ce tare
Hey Sorin can you also do a 5v emergency light? there are 5v 1A usb LED bulbs being sold online now a days and I was wondering if there is a pre built charging pcbs that turn on automatically when not charged.
At 2:55....Caca? Ha Ha Ha 🤣!
May I suggest putting a Schottky diode in series with the battery as it has about 0,3V drop.. As long as it can handle the 2A max current
Great little project making good use of other readily available modules. Only thing I’d add would be a temperature sensor on the batteries and maybe an inrush current limiter.
Any chance of showing the supply current/voltage during switching on a scope? I’m interested to know if the dip would cause a processor reset on a connected project.
Keep up the excellent work and great to see you are training your assistant 😀👍
Sorin@4:25and the mutant circuit board is finished....what do you think about it?
i say it's super cool👍👍👍
Good for a dash cam camera in the car.
Great video, i would like to make a DIY Spark welder like the one you were using on this video. any link to that ?
ruclips.net/video/SyPo8otfs1E/видео.html
Nice 💝👌
Is there somewhere the BOM for the Gerber file to order SMT assembly from JLC PCB? FIrst time ordering and I don't really know what to do.
This is good.
But there are smaller module that has almost all the feature integrated onto a 8pin IC:
- 3.7V battery
- OverCharging protect
- OverDischarge protect
- OverCurrent Protect
- 5.12V 2A Output Boost
- 5V 2A input
- Support pass through charging (if input connected to 5V, output also 5V)
- 4 led indicator
- one click on/off button
- 92.5% efficiency
- Realy small pcb size 15mm x 28mm x 5mm
- Really cheap (around 1US$/module in my country)
The name of module is MH-CD42 & the IC name is IP5306
For the output just add 2x1000uf 10V capacitor or more so there no voltage drop when changing from main power to battery power or otherwise.
I have this module and i was looking for this exact info.. could you confirm the 2x 1000uF are in parallel or series? also is it better if I use one 2200uF or 4700/6800uF , can i use more than 10V like 16V 25V or 100V ? Sorry i'm just excited for this project.
@@TruthLoversKoSALAM-fg8dh
The capacitor is in parallel
For the cap voltage you can use anyting that more than 6.3V, so 10V is great.
For the cap capacity i reccomend use 1000uf-2200uf (not more not less)
Congratulations for a good video. I want to point out that you have not taken care of load sharing when charging the battery with TP module. Since you are charging the battery as well as at the same time you are taking current for output USB so the TP module will confuse and will keep charging the battery. It may not stop charging the battery. Have you seen battery charging stopping upon completely charge ?
Hi. The schematic may be a little confusing. the battery is connected to the boost converter, only when there is no charger input and the relay pins (battery to converter) are in normally closed mode. when the charger input is active, the relay "opens" the battery-converter circuit and the battery is connected only to the TP4056. so the charging of the battery is done separately from the rest of the circuit.
Sorin,
How is the RF interference from that UPS under different loads?
❤️ From North America.
Great stuff. Have really been long time for such tutorial videos. How hard it is to build 5V/5A(max) or 2.5A max ups. Is it a completely different redesign? I am looking to use somesomething of Raspberry pi4. Thank you again for making such great content.
hi. it will need a more powerful boost converter and a larger battery pack. like the ones I showed in the video.
great video as always bro .. so if you would have made a 12v model instead of 5v .. would the 12v be able to act as a ups for a 12v router?(i mean the router should not restart on power failure .. that's the kind of ups I want to build myself) .. are you planning to build a 12v model ?
He already build a 12V version in 2019 :
ruclips.net/video/IlEnEn7ptmc/видео.html
He's already done a 12v one.
Just use a a better boost converter
it needs a bigger battery pack and a more powerful boost converter.
@@Sorin_DIY : ohkk .. thanks for the heads up !!!!
Interesant cel mare 4A acela ar fii bun pentru urgente si ceva teste cu placa aia de amplificare cum se comporta la 3v si cati A poate oferii
I will use my rubbish under powered rotary tool now. 😂
Use inrush current limiter or soft starter to prevent over current issue
Yes, I was going to suggest that would be good addition for version 2.
very neat project but some of us usually dont have access to jlcpcb in our country but i have a similar board which is YX-X804. only problem is there is about 1 second delay when the relay switched from power supply to battery. im currently using it on my router. ive tried different types of capacitor i was able to salvaged from but non works or the maybe the capacitors used were not have enough juice to power my router? oh btw my router only draws 0.3 amps on 12v if that help solvesbmy issues.
Hi. I'm not familiar with that module, but 1s delay is long, most devices will shut down in that time. you can try with bigger capacitors on the output.
or you can make my circuit on a simple perf board, or just solder wires between the components.
Nice 👍🏻👍🏻 🇮🇳 Kuki 29|07|2022
What is the relay switching time..can it be a UPS for say a raspberry pi, can you test if it will drop out when switching please
Very cool, definitely need a build and test video on the larger output, this would be a GREAT backup for a raspberry pi or other 5vdc device
That why the capacitors are there, they keep the load On in your case, the Pi, until batteries kicks in. Plus relay used here, got a small switching delay, so chance are high to be good for a Pi or any 5V device.
You need to check his video he made long ago about Router UPS, last time he used capacitor to maintain load ON and dummy load to fast empty the Power wall charger.
This time dummy load is kind of replaced by more efficient relay time.
PS: I made the Router UPS based on capacitor & dummy load, for a 9v Router and it is working well.
It is basically the same as the router USP, instead this time voltage in only boosted to 5V.
Hi. the switching delay time is about 0.1 - 0.5s, depending on the charger and the load. I don't have a raspberry pi but I'm convinced it will work. but it also depend on the total current consumption, this mini UPS is recommended for less than 1A. because with a higher current the boost converter will heat up and may not work correctly.
Hi Sorin , You always produce valuable video , and it,s very interesting . I need one info from you , i know it,s out of this video, and sorry for that , I have a cordless vacuum cleaner , it was working well , suddenly it stop working , i change the motor and it works well , but the next problem is it works on speed one and when i turn on to speed 2 two ( both speed works with the press of the button) speed two cut the power off . i tried to check on many was couldn.t find the fault . can you help Tks Pal
Hi. without seeing the circuit I don't know where the fault may be.
@@Sorin_DIY Thanks Sorin, I will check it out stage by stage ..Hope to see your next video
Would it be possible to add a push button for battery level check when not plugged in? Instead of flipping the on/off switch.
Yes.
Sir soren Can you make a video how to make a very Simple Portable speaker
This one is great, but I wonder if you can redo the 12v one with the same principle
I plan to make a different and better 12V UPS soon.
Neat project! I was wondering if I can use this as a Raspi 3 UPS, would this sufficiently provide amps for the raspi?
This UPS works with a 1A load. I think Raspberry Pi 3 needs maximum 2.5A, so I don't think it will be stable. but I will make soon a better UPS, with a higher current and bigger battery pack.
@@Sorin_DIY Awesome!!!! I would love to see that soon! Great work man!!
hope you can make 12volt in and out ups with relay, protection undervoltage and overvoltage for battery 12volt vrla/lead-acid, thx 🙏
Pls make a 12v ver. For modem. I found a Battery Switching Module Board but the Delay is to high
You bypassed the under voltage protection on the TP4056 board
no, I haven't. the over discharge and overcurrent protections work.
You didn't use the out - pin so i got confused .
Just realised that out - and tp4056- were connected together
I have a question, if the power grid is restored, will the battery be charged simultaneously with the load operating using the grid power?
Yes.
Will the battery keep in floating charge mode overcharge and die quickly?
no. when the charging is completed, the TP4056 module cuts the charging current. it doesn't have float voltage.
Дякую за корисну інформацію! Підписався.🇺🇦🇺🇦🇺🇦🇺🇦🇺🇦
What is the use of diode no. 2 1n4007 in your schematic? What does it do ?
It's used to decrease the voltage that powers the relay from the usual USB 5.1V to 4.5V, so the relay will switch to battery faster, when the mains is interrupted.
Can you not use the diode to lower the TPM charging voltage the same way you did for the input voltage?
no. it will not work correctly.
looks good.would it be easy to change it to 12V?
this boost converter is not powerful. it can deliver 12V but probably with only 100mA.
@@Sorin_DIY what is the code or model name of the boost you showed in the video? Thanks!
hi my friend, i love this DIY and maybe i will build one for me, thanks for the idea, maybe if you add a push button to charge the capacitors turn on and on the battery level indicator on demand can solve the issue of turning on and off multiple times to charge the capacitors. I think this can be great for my raspberry pi pc
What is the response time of the UPS? You say it has almost no delay switching between mains and battery power
Hi. it depends on the charger and the load. the chargers have smoothing capacitors that store a tiny amount of energy, which continues to power the relay after the mains power is interrupted. the larger the capacitor, the longer the switching delay time will be. I tested different chargers and delay was 0.2 - 0.5s with no load.
if you connect a load to the UPS, it will draw power from the charger. so when the mains power is interrupted, the load will discharge the capacitors inside the charger faster, so the relay will switch faster. in my tests I got about 0.1s.
Salut, Sorin! Interesant proiect. Ma gandeam sa il fac si eu dar am o dilema. Nu stiu de unde sa cumpar acumulatori 18650 de calitate. M-ai putea ajuta spunandu-mi un site sau un magazin?
Salut. cel mai ieftin gasesti pe aliexpress. cei pe care ii folosesc in acest clip sunt destul de buni: s.click.aliexpress.com/e/_AmRDya
"Caca" lol
Always connected to TP4056 means battery pack will be dead pretty soon. UPS needs way better charging controller.
Perhaps a different charger circuit module would have adjustable charge levels?
It doesn't, but it does have a pin 8 that you can pull low to disable the chip (and disable charging). It would need a bit of logic to operate that, but it should be manageable.
Bro!
Can you make a Air Conditioner by using peltier module? Plz
yes, but it will take some time.
I have watched a lot of videos of diy things. But I saw such a detailed video only from you. Thanks for all the information.
As like regular split type ac. By water Cooling
Sir, I'm a newbie and I have seen your 12v wifi ups video but can we swap 5v components with 12v components and use it as 12v wifi ups?
No. it needs more modifications.
@@Sorin_DIY ok thankyou
Be good for things without a battery but this need a multi voltage output
Yuhuuuu