#250

Sdílet
Vložit
  • čas přidán 5. 07. 2024
  • Uninterruptable power sources or UPS for your Raspberry Pi, Arduino, or ESP microcontroller usually are quite expensive and also do not always work. When I found these small 2 dollar modules, I asked myself: Can we use them as a UPS? Or are they just junk and false promises? Time for a closer look!
    From time to time viewers ask how they should power their projects, especially with batteries. Today we will take a look at this small module and find out if it is any good, how it compares with Power Banks, and where it fits in the “energy supply chain.”
    Links:
    UPS:s.click.aliexpress.com/e/ccgnehR2 or bit.ly/2RbEP1h
    USB Tester: s.click.aliexpress.com/e/by2eDXAo or bit.ly/2FNp1ch
    Good Li-Po Batteries: s.click.aliexpress.com/e/c5KnNc8C
    Additional info: • Load Sharing for the 1...
    Supporting Material and Blog Page: www.sensorsiot.org
    Github: www.github.com/sensorsiot
    My Patreon Page: / andreasspiess
    If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel
    For Banggood bit.ly/2jAQEf4
    For AliExpress: bit.ly/2B0yTLL
    For ebay.com: ebay.to/2DuYXBp
    profile.php?...
    / spiessa
    www.instructables.com/member/...
    Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my primary job
  • Věda a technologie

Komentáře • 739

  • @vylbird8014
    @vylbird8014 Před 5 lety +169

    I think you got the abbreviation wrong. It's Uninterruptable Power Supply.

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +52

      Generally: You are right. But this module can do much more.

    • @connecticutaggie
      @connecticutaggie Před 5 lety +21

      @@AndreasSpiess Maybe you should call it a UUPS

    • @jafinch78
      @jafinch78 Před 5 lety +3

      Mr. Spiess was clear about using the abbreviation in the title... looks APA format also.
      owl.purdue.edu/owl/research_and_citation/apa_style/apa_formatting_and_style_guide/apa_abbreviations.html

    • @jafinch78
      @jafinch78 Před 5 lety +3

      Excellent details and presentation also. Thank you sir! Sure is far better (including video quality and hygiene) than the Sepic Cuk UPS kit I made:
      czcams.com/video/6jYt93OUXS/video.html

    • @jamesfirth7795
      @jamesfirth7795 Před 5 lety +13

      @@AndreasSpiess he isn't "generally right" he's specifically correct. How is this "universal"? Will it power my home? My car? No, it won't. If you think capable of powering a handful of devices makes it somehow special and "universal" I've got some bad news for you, any old UPS is capable of powering anything with a kettle lead or even more if you branch from the kettle lead to a plug socket, making it a hundred times more "universal" by your measurement.

  • @depressobbq404
    @depressobbq404 Před 5 lety +21

    Man this is twice now ive been looking at a product on ali and you are doing a video on it. i love you for this man, cant wait to see the results of this video.

    • @youliantroyanov2941
      @youliantroyanov2941 Před 5 lety +1

      Twice is a low count :)
      I am on my third dozen already...

    • @depressobbq404
      @depressobbq404 Před 5 lety +2

      @@youliantroyanov2941 jeeze man, thats alotta projects. just goes to show the point though, the guy with the swiss accent is on it with the DIY electronics and sensors.

    • @RTmadnesstoo
      @RTmadnesstoo Před 5 lety

      Yeah, I just got mine a couple weeks ago and haven't played with it much yet.

  • @reanimationxp
    @reanimationxp Před 5 lety +8

    Excellent video as usual Andreas. It always surprises me how you address challenges I've forgotten I already faced, and are able to cover them in far greater detail than I did at the time. Thank you for sharing! I look forward to hearing about your solution for the raspberry pi's extended drain, if you find one :)

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +1

      The challenges remain the same ;-) We will see when the RPI stuff will come.

  • @deangreenhough3479
    @deangreenhough3479 Před 5 lety

    Happy Sunday Mornings😁 another most excellent and worthy subject. As always I didn’t realise the depth of knowledge required to understand this, but I have received another excellent tutorial and a new understanding. I see this video has sparked some real interest in the comments. Hopefully Andreas you can probe into this subject with another video as it’s rather interesting.
    Happy NY to all the 100k+ subscribers 🏴󠁧󠁢󠁥󠁮󠁧󠁿

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      Thank you! Maybe there will be some sort of additional video. We will see...

  • @gtrangoni
    @gtrangoni Před 5 lety

    Thanks a lot. I've buyed following your links one shield and two batteries. I've received them now and it's time to test.
    I'm a fan of your videos and admire your sense of humor. Your knowledge has been of great help for to me and my final career project about BLE beacons for monitoring pacients in healthcare centers.
    Best regards from the north of Argentina!

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      Thank you for your nice words. I am glad my 2 cents helped you in you career!

    • @gtrangoni
      @gtrangoni Před 5 lety

      @@AndreasSpiess Your contribution is very valuable. Thank you! See you in the next episode. Here is summer and fresh ideas are welcome.

  • @brenobertone2856
    @brenobertone2856 Před 4 lety

    Love your reviews!! They are very detailed and I learned a lot watching them

  • @MagivaIT
    @MagivaIT Před 5 lety +1

    this is great, i really hope you do a follow up video to.....
    1) build the auto-disconnect protection
    2) daisy chain these together in parrellel
    3) build a circuit to use existing powerbanks and treat them as UPS
    love your channel

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +1

      The first might become true for an RPi. I already did one in the past (similar).

  • @thesimbon
    @thesimbon Před 5 lety +1

    At least you have confirmed my findings about the unit shutting down at around 2A on 5V. Thanks

  • @thekakan
    @thekakan Před 5 lety +5

    "Atleast for a particular time or when the sun doesn't shine"
    Rhymes pretty good :)

  • @angelneb
    @angelneb Před 4 lety

    Great detailed description! Will look into using these in future projects!

  • @NabilTouchie
    @NabilTouchie Před 2 lety +1

    Thanks for saving me time money and frustration, I needed 3A 5V and got excited to see this module in a online store but suspicious of the aspects, so your video was really helpful

    • @AndreasSpiess
      @AndreasSpiess  Před 2 lety

      Glad I could help!

    • @aspuzling
      @aspuzling Před 2 lety +1

      Same here. Have you found a solution? This video is 3 years old now so I wonder if there are new options available.

  • @ozgurileri2966
    @ozgurileri2966 Před 5 lety +1

    Thank you for this wonderful analysis, will buy a few when i start to work on project again.

  • @mmReefs
    @mmReefs Před 5 lety

    Good video/explanation, listing the basics for a micro-controller UPS. This is something I need for some future projects. Thanks!

  • @kjur18
    @kjur18 Před 5 lety +38

    I took a different approach on this topic, I made a small low power module that can charge a battery and power a device separately. for this I used a P channel mosfet (between boost and battery) and extra shottky diode. My module contains TP4057, smaller sot23-6 version of TP4056, some protection designed to cut off at about 3V, boost converter is MT3608 set for whatever voltage you need. When I connect usb lead, charger charges battery, mosfets disconnects boost from battery, and current flows from usb lead to boost part through a diode. As I made this to power up a DSO Shell, it's small, with everything on one side, but I think that mosfet swiching thing can be easily scaled up for higher current demands.

    • @arduinosynod1571
      @arduinosynod1571 Před 5 lety +7

      Post the schematic please

    • @kjur18
      @kjur18 Před 5 lety +16

      @@arduinosynod1571 Here it is: easyeda.com/kjur18/Li_ion_charger__boost-55ecc63cf3e34ea082e9d6b1d53dafa5

    • @SuperBrainAK
      @SuperBrainAK Před 5 lety +1

      that is a much better design! you want to eliminate the number of power conversions in your circuits if possible. so the diode sends 5v directly to the loads dropping only 0.5v (could be less with a schottky) where with the power going through a TP4056 you get at most a 0.8v drop (not to mention the excessive wear on the cell when acting as a capacitor). this is always going to be a higher voltage than the battery so the diode in the mosfet will not conduct. Once usb power is gone then the mosfet will conduct the battery voltage directly to the load with very little voltage drop. I just wonder if there is a way to replace the diode with another mosfet, I think the trouble is getting it to turn on and off properly.

    • @kjur18
      @kjur18 Před 5 lety +1

      @@SuperBrainAK I added possible solution for this, it might work. N channel mosfet with gate with a pull down resistor tied to the source connected to a usb power, and drain connected to a boost part of the schematic. This way when there is no usb power, mosfet is turned off, and when you connect power to it, that mosfet should open and conduct without any problems. Probably.

    • @HMPirates
      @HMPirates Před 5 lety

      @@kjur18 You can test one if the ideal diode modules you can get off eBay..

  • @mwint1982
    @mwint1982 Před 4 lety +5

    "The sun does not always shine." That's deep man

  • @stompreaper
    @stompreaper Před 5 lety

    This was very timely, I just had a couple of these delivered.

  • @dannyjensen4954
    @dannyjensen4954 Před 4 lety

    I love this video. Such a great explanation. Some of the links are not working but I can find elsewhere. Excellent.

    • @AndreasSpiess
      @AndreasSpiess  Před 4 lety +1

      Unfortunately I cannot keep all links op-to-date :-(

  • @myounges
    @myounges Před 5 lety

    Thank you and happy new year Andreas!

  • @altamiradorable
    @altamiradorable Před 5 lety

    Thanks Andreas ! Always precise like a swiss watch !! Very thorough analysis !

  • @kokoscom
    @kokoscom Před 5 lety +1

    Andreas Happy new year! THank you for the video review - I sq this in one of your previous videos - Already got it - never had time to test it! So.. its great that you did this review!

  • @ymisetz
    @ymisetz Před 5 lety +1

    Interesting video. I was looking for something like that, so you saved me a lot of time. Thank you Andreas,

  • @MultiPowerLoRd
    @MultiPowerLoRd Před 4 lety

    Excelent found. thank you for explanation. I will buy and test for my raspberry project

  • @Nicksperiments
    @Nicksperiments Před 5 lety +54

    If I had a dollar for every time I successfully bent the pin of an SMD chip, I’d have 0 dollars

  • @offgridsweden
    @offgridsweden Před 5 lety

    Awesome video Andreas. This video was very helpful. Have an amazing Sunday, Andreas from Off Grid Sweden 🇸🇪

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +1

      A little late: Thank you and have a nice evening!

    • @offgridsweden
      @offgridsweden Před 5 lety +1

      @@AndreasSpiess No problem man. Have a great evening

  • @therandomman2971
    @therandomman2971 Před 5 lety +92

    Andreas, you have a large enough viewer base. Why not design a product like this but with the modifications you just mentioned, and then open source the design or contact a chinese manufacturer to create it cheaply?

    • @youliantroyanov2941
      @youliantroyanov2941 Před 5 lety +25

      That is a freaking great idea.
      The Andreas brand will rule the market. I for one will be a fan for life.

    • @caiopedreira6643
      @caiopedreira6643 Před 5 lety +5

      Professor Spiess, also it would be great if this new product had one more USB input port or even another Micro USB input port for the solar panel. Congratulations for this great class and I hope you design this new product! Thanks!

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +54

      I sold hardware in the 1980 when one computer cost at least a million. Then it was fun. Today I will no more touch hardware as a seller. Sorry. Sometimes manufacturers also watch my channel. Maybe they react themselves.

    • @zerog2000
      @zerog2000 Před 5 lety +18

      @@AndreasSpiess actually, for the most part, if you design something useful, and at least do a test or prototype run, you will find nearly exact "clones" on your usual far east marketplace sites within a few months. But I do think you should release something of more ideal design under the "Swiss Accent" brand name;

    • @gg-gn3re
      @gg-gn3re Před 4 lety +16

      @@zerog2000 If he made a circuit and had JLCPCB or anyone else make it, I'd buy it just as support. Like other channels do t-shirts etc

  • @TheMvieira
    @TheMvieira Před 5 lety

    Very helpful Andreas!! Thank you from Brazil!

  • @Mrcaffinebean
    @Mrcaffinebean Před 5 lety

    Wow great timing, I’m in need of just such a thing! BTW I noticed a few battery bank makers are now offering charging and output at the same time.

  • @pfrischknecht
    @pfrischknecht Před 5 lety +1

    Awesome video .. AGAIN.
    Really like your stuff brother... Howdy from North Carolina...USA

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +1

      Like your area. I had a customer (Syngenta) in Greensboro and still remember Kitty Hawk.

  • @ravishanker9014
    @ravishanker9014 Před 5 lety

    Happy New Year to Guru G...As usual very informative for me...Power supplies are backbone of any system...A good power supply enhance the reliability of system...Thank you... Namaste.

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      This is maybe not the best. But one of the cheapest ;-)

  • @MartinBgelund
    @MartinBgelund Před 5 lety +1

    Thanks for testing this module's UPS capabilities! I bought 4 of these after I saw them recommended on Ralph S. Bacon's CZcams channel, for using them as UPS' on my robot.

    • @MartinBgelund
      @MartinBgelund Před 5 lety +2

      Ralph's videos where he mentions this module:
      czcams.com/video/8fiYvnBDsDE/video.html
      czcams.com/video/jqFl8ydUzZM/video.html

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      Thank you for the links

  • @stefanu4359
    @stefanu4359 Před 5 lety +1

    Thanks for this video. More than I expected

  • @avejst
    @avejst Před 5 lety

    Nice finding, and interesting project 😄👍
    Thanks for sharing 😀👍

  • @GregTank
    @GregTank Před 3 lety +1

    Thanks for your amazing videos as always!

  • @manickn6819
    @manickn6819 Před 5 lety +2

    Very useful and cheap. I will put that on my list to order.

  • @stefangroenendijk799
    @stefangroenendijk799 Před 5 lety +2

    It's really nice to see that in the transaction history of the UPS on aliexpress the first 17 pages (of 30 total) are from today... they will have to do a lot of packaging there!

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +1

      :-)) I order quite a few things from them and so far, all was ok.

  • @wilman_studio
    @wilman_studio Před 5 lety +5

    Great video. The correct way to deal with the issue of charging the battery whilst connected to a load is to run the Vin through a schottky diode to the boost converter bypassing the LiPo charger. The LiPo cell is then connected with P-channel mosfet to the boost converter with the gate of the mosfet also connected to Vin. This will allow the battery to be charge independently of the load but will also switch the battery into play as soon as there is no input power. It's not good practice to sap the load power off the battery charger as you highlighted.

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +1

      What are the advantages for the application described here?

    • @wilman_studio
      @wilman_studio Před 5 lety +5

      Andreas Spiess By drawing power for the load separately from the LiPo charger whilst charging it would overcome the issue you mention in the video where the load of say a Pi doesn’t have enough current to function properly if the battery is charging but at a almost empty state. There’s a fantastic write up by Zak Kemble blog.zakkemble.net/a-lithium-battery-charger-with-load-sharing/

  • @cristiantalos4042
    @cristiantalos4042 Před 5 lety

    amazing video! keep up the great work!

  • @davidkitts8017
    @davidkitts8017 Před 5 lety +1

    WOW!! I have two of these in my junk drawer, guess I better get them out an do some testing. Thanks.

  • @gersonfer
    @gersonfer Před 5 lety

    Another very good explanation as always. Tks

  • @javierunamuno6786
    @javierunamuno6786 Před 5 lety

    Useful and interesting, as usual !

  • @cheesecake667
    @cheesecake667 Před 5 lety

    Very well researched video!

  • @WacKEDmaN
    @WacKEDmaN Před 5 lety

    Very informative..as always!..thanks Andreas :)

  • @ACTlVISION
    @ACTlVISION Před 5 lety +2

    I'd really love to see a vid about the problem you mention with the Pi battery voltage protection, I've looked into some of these ICs but not a lot of examples

  • @deeareus9886
    @deeareus9886 Před 5 lety

    nice work, i'm searching for a LM1084-5V, i'm from spain, is the voltage regulator for a makerbot board rev e

  • @anders21karlsson
    @anders21karlsson Před 3 lety

    Great video. As always!!!!

  • @toastrecon
    @toastrecon Před 5 lety

    Awesome, thanks Andreas!

  • @nemo5703
    @nemo5703 Před 2 lety

    Thanks, great video! I'm running MCUs off the 5V USB-A pins, rather than the 5V rails, to utilise the switch. I'm using it as a powerbank, but this would turn off most of the load in your trickle charging scenario as well.

  • @gr7480
    @gr7480 Před 5 lety

    Thanks Spiess, i have two with panel solar 5v and a lora32u4II with one18650, i send a message every hour.
    I installed it 6 months ago and I have never had to change the battery. Thanks, byyyye.

  • @NoHandleToSpeakOf
    @NoHandleToSpeakOf Před 5 lety

    This is the module I used for my solar backpack. Bypassed charging circuit by soldering SX01-3A solar controller output to the battery holder. Worked great this summer but now it is winter and the boost converter that is always on drains battery.

  • @asuagar
    @asuagar Před 5 lety +1

    Andreas, thank you so much for research and broadcast effort. In your video #155 you speak about the good performance of the TP4056 as a good solar charger board. In this device, the TP4056 will extract the maximum power of a photovoltaic panel connected to the micro USB port or it will be needed an additional piece for doing the job? Regards!

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      You maybe have to adjust R2 as shown in the solar charger video.

  • @eliinthewolverinestate6729

    Been working with Stubblefield coils. Found that I was doing it wrong. I was running current same way and creating stationary magnet field in Stubblefield coils. Therefore not getting any extra current from emf. Using some of the coils to move the magnet fields was the solution. Electricity is as simple as galvanized rod and cooper rod in dirt. With super capacitors we don't need batteries. But need resistor to keep from frying stuff. Have a pi zero running off 3 earth battery cells and a buck/boost converter. It runs my WiFi continuously and will keep doing so till corrosion eventually kills it.

  • @gte24v
    @gte24v Před 5 lety

    Really useful, thank you. I will follow the link and buy a few. I use the exact same components (less the boost converter) in some of my projects and think I would generally: 1) remove the boost converter completely and 2) remove two of the LDO regulators as I normally don't need the full Ampere. That way I see a neater board that is easily suitable for small solar projects at a price lower than I can do it by assembling the parts (4056, protection circuit and LDO reg). Thinking back to your previous comparison of these charging boards, the 4056, this was my firm favourite as all of the switch mode versions failed to pass any charge current in dull weather, where this actually does pretty well even down to 1mA. Thanks again, thumbs up. :-)

    • @gte24v
      @gte24v Před 5 lety

      And I have ordered 5 of them so hopefully you will see a few cents from me. Thanks for the hint.

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      This is why I called it "universal. You can remove things if you do not need them. They are so cheap. Thank you for your support!

  • @mcflapper7591
    @mcflapper7591 Před 5 lety

    good idea. thought about the 18650 case as UPS but didn't get around evaluating it. thanks

  • @tRRkvlt
    @tRRkvlt Před 4 lety

    How does your version behave if you cut input power from it? Will it deliver output power uninterrupted? I purchased one, but it looks different and for a few seconds, cuts the power when input power is removed. Thanks!

  • @honigwachsreuben
    @honigwachsreuben Před 5 lety

    Would love to see the PSB01012B reviewed. And the challenges with 3V/5V-mix projects.

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +1

      The PSB01012B seems not completely different. Just other chips for the charging and the booster. And no 3.3 volts.

  • @arnaudd5542
    @arnaudd5542 Před 5 lety +1

    Hello,
    I use it to power breadboards (with red and blue lines), it fits the spacing between outputs.

  • @marvinschneider2707
    @marvinschneider2707 Před 5 lety

    Great Video, I would really like to see a good circuit for low power application with 3,3v and two alkine batteries. All the hardware needed to run the ESP stable. What Mosfet or other device would you recommend to turn on and off a rfm95 or other sensors to safe power?

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      Maybe you watch my videos about the Amazon dash buttons?

  • @pratikbhagat9028
    @pratikbhagat9028 Před 4 lety

    AFTER E.O.V I DIRECTLY SUBSCRIBED . BEST VIDEO AND THOROUGHLY EXPLAINED.

    • @AndreasSpiess
      @AndreasSpiess  Před 4 lety

      Welcome aboard the channel!

    • @pratikbhagat9028
      @pratikbhagat9028 Před 4 lety

      @@AndreasSpiess
      Sir,
      Lithium ion polymer 4000mah,
      The charging module tp4506 with dw01 battery over discharge protection,
      The booster stepup step down circuit 3.3volt constant output,
      An Esp32wroom,
      The 2amp/5volt DC wall socket 230ac adapter
      Will this step simultaneously charge the battery as well as the esp32 and can this setup work as ups

    • @pratikbhagat9028
      @pratikbhagat9028 Před 4 lety

      Sir,
      I was expecting an expert advise regarding the question

  • @GlennHamblin
    @GlennHamblin Před 4 lety

    Very cool. Thank you sir!

  • @chrisz7234
    @chrisz7234 Před 5 lety +1

    Andreas thank you for sharing. Very very helpful as always. But can you suggest a different reliable 18650 batteries provider? That shop only ships to a few countries!!

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      I only can recommend something I have used :-(

  • @webslinger2011
    @webslinger2011 Před 5 lety +1

    Since I'm playing with two voltages on my DIY raspad (12V for the 10 inch lcd and 5V for the rpi3), I've used 4 li-ion cells in series. Used supposedly "20A" voltage regulators each (for the lcd and rpi3). Planning to try out an XL4015 since it's rated "5A."

    • @JensRoland
      @JensRoland Před 5 lety

      webslinger2011 and did you solve the challenge of charging while using?

    • @webslinger2011
      @webslinger2011 Před 5 lety

      @@JensRoland I haven't installed a bms on the battery ( waiting for it to arrive). Need to test an XL4015 on the pi. So I haven't gotten to it yet.

  • @Brutaltronics
    @Brutaltronics Před 5 lety

    Having over 10h of protection time after the power was cut off is pretty good for my MCU projects. Very nice.

  • @MeisterQ
    @MeisterQ Před 5 lety

    Thanks for the Video!
    Its a really nice thing if you dont need to watch out for LowPower.
    My ESP32 Modules only need 8µA while in Deepsleep. This regulators and LEDs would take to much energy.

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +1

      My favorite for low power still is LiFePo.

    • @MeisterQ
      @MeisterQ Před 5 lety

      @@AndreasSpiess Thats what im using to sometimes. Even on Li-Ion with the HT7833 you are having a good LowPower performance

  • @MohitGupta-ju7us
    @MohitGupta-ju7us Před 5 lety +1

    Thanks for very informative video Andreas.
    Please do you have suggestions for someone who is starting learning IoT. If you can point to some learning resources and suggestions in IoT kits etc.

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      Iot is a wide area. Google is a good source. And, if I believe my viewers, also this channel. Most important: Search a project you want to do.

  • @kesterbelgrove818
    @kesterbelgrove818 Před 5 lety +1

    I found it very useful

  • @mateuszmazur1980
    @mateuszmazur1980 Před 5 lety

    Hello. Great work! Well done! BTW... I spent 34$ on Banggood using your ref link.

  • @horrorcoder
    @horrorcoder Před 3 lety

    Hi Andreas, greeting from Italu and nice video, a lot of useful informations here! I'm a bit disappointed that the boost IC consume so much, I'll try for sure to disconnect it

  • @DSLRDIY
    @DSLRDIY Před 5 lety

    Thanks for the video Andreas, I was looking for a module to hotswap 18650 but I wasn't able to find one, maybe you with your experience can suggest one. Something with back to back mosfet would be nice

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      I never had this requirement. So I never searched for it :-(

  • @AG-ze8sj
    @AG-ze8sj Před 5 lety

    Good video, thumbs up!

  • @95rockforever
    @95rockforever Před 2 lety

    Very good video !!! Do you know if it is possible to connect two of those shields in parallel?

    • @AndreasSpiess
      @AndreasSpiess  Před 2 lety

      It should be possible. But maybe you will not get double the output power.

  • @gregsvoboda7454
    @gregsvoboda7454 Před 5 lety

    Thank you for this. I had a question: Is there any way for the ESP32 to be notified that power is being supplied by the battery, ie: main power loss? For example, I would like my esp32 to notify an MQTT topic that it was being powered via battery and not mains, so i could do something about it before the battery gets too low. Thanks!

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      The ESP32 can measure voltage and react on it. Jost connect such a pin to the voltage you want to measure and make sure it is always less than 3,3 volts

  • @timh2870
    @timh2870 Před 5 lety +1

    I don't like the DW01. Wherever possible, I replace it with a Fortune FS312F. It is a drop-in replacement that has much better voltage constraints; it cuts out at 2.9 volts on discharge and 4.25 volts on charge.

  • @salvobellino3490
    @salvobellino3490 Před rokem

    Hi Andreas, thank you for this video! I'm new in DIY electronics, just a basic question, how the 5v 2a pins in the PCB can be easily used? What type of connector should I solder/use)

    • @AndreasSpiess
      @AndreasSpiess  Před rokem +1

      This question is too general. I would say: Any connector which fits your needs and the dimensions of the holes. Most people probably would start with the small pins used on all MCU boards and cut 2 of them. Or solder two wires instead of a connector because it is more reliable.

  • @AlexKite68
    @AlexKite68 Před 5 lety

    Perfect!
    Thank you very much Andreas!
    Is this charger board also suitable for LiFePo accu?

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      It does not work with LiFePo.

    • @SuperBrainAK
      @SuperBrainAK Před 5 lety

      dont forget the 4, LiFePO4 you can also call it an LFP battery

  • @SmithyScotland
    @SmithyScotland Před 5 lety

    I seem to remember a video (possibly adafruit) showing 6v power spikes when switching from battery to mains power with solutions using the tp4056. Did you notice how clean the supplied voltage was when switching power sources? Could be all the additional circuitry on this model fixes this.

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +2

      I checked it out now. I connected the oscilloscope to 5V and unplugged an re-plugged the charging USB cable. And really, I saw big spikes (>20V). If I kept ground connected to the wall charger (as it is if you lose mains power), I only saw 3x 10nS spikes (very short). They are comparable with the 200mV spikes from ripple. The big ones most probably came from the ground problems (measuring errors). So I would say this is ok.

  • @nosafetyswitch9378
    @nosafetyswitch9378 Před 4 lety

    NIce video. I have found that a low profile boost converter in combination with TP4056 ic for charging (and associated protection chips) is the best combination to use when powering something.
    Specifically, I personaly choose to boost the voltage to 6.4V and feed that to the LDO of the uC i happen to be using as I have found that they are always very good in regulating the 5V bus at exactly 5V +- a couple mV. This is critical if using a hall sensor like ACS712 which needs exactly 5V to produce the 2.5V middle voltage.

    • @AndreasSpiess
      @AndreasSpiess  Před 4 lety

      Good solution for your special need. Not very power efficient, I assume...

  • @reiner0609
    @reiner0609 Před 5 lety

    Great video and cool discovery, Andreas! Did you have the chance to check if changing the cut-off voltage of the board to 3V would be possible to prevent the TP 4056 to go into trickle charging mode in the first place? Maybe this could be a solution for applications where reliability is worth more than the lost capacity by the premature cut-off?

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      I think this is an internal function and cannot be changed. At least, I do not know, how.

  • @GRBtutorials
    @GRBtutorials Před 5 lety +24

    6:50 Cut the PCB trace instead. It's easier and you don't risk breaking the chip.

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +6

      Maybe you try it . Will not be easy.

    • @damedaE90
      @damedaE90 Před 5 lety +10

      @@AndreasSpiess or lift one side of the IC, put Kapton tape in between the leg and the pad and resolder the other legs... Funktioniert gut und schnell 👍

  • @northshorepx
    @northshorepx Před 5 lety +3

    Thanks Andreas. I learned some interesting things here. I wonder if it's possible for you to feedack to the manufacturer of the board about the trickle current resistance so that they could perhaps add it by default? I know that there are 100s of these suppliers and most will not care but just a thought. Anyway thanks for this tutorial.

    • @bardenegri21
      @bardenegri21 Před 5 lety +1

      They don't do that because the charge current you get might be too high for some cheap 1200mah or similar 18650 s people might put in there. It would be risky so they played it safe

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +2

      Some of them watch my videos...

  • @HIBAW
    @HIBAW Před 5 lety +15

    Thanks for the video. I also tested two of them. Bad solder joints on both. One dead after a month, and one DOA. I had to repair both, a chip lead, a fused resister, and a usb pin. Ordered months apart. In the real world an rpi cannot run off one. The battery voltage will drop over time. There just isn't enough headroom with 600mah. At least that was my experience on the two I tested. After 4 days, a fully charged lipo which started at 4.2v, was at 3.87v and dropping. So it's not reliable for an rpi without changes. And recovery isn't an option after an outage like you mentioned. For esp's though, it's potentially fine. I considered making one with two usb inputs, and switching. This would leave enough overhead to manage the charging vs discharging separately. That's the design I think I'd like to see. A real ups should switch power sources, not unreliably limit the whole thing.

    • @marcrives279
      @marcrives279 Před 5 lety

      One dead after a month, with current well below 1A...
      Deep sleep current was not 300µA all the time.
      No battery reverse polarity protection (you need to often remove it to make a full reboot).
      Good idea, although a "v2" would be greatly needed ;)

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +5

      I have 4 of them. None was DOA, at least :-). Maybe you change R2 as shown to increase charging current to 1A

    • @phillkelley7700
      @phillkelley7700 Před 5 lety +1

      I have two of these that I bought 6 months ago. I use them all the time but not on RPi, just on Arduinos (ESPxxx or ATmega). They are very convenient for breadboard projects and I have never had any trouble with them. The only “problem” I see is that if I change the 18650, I also need to connect the USB-in port to a power source before any power comes out the USB-out port. I have assumed this is some kind of reset mechanism. However, I don’t think I would try to use one of these in a permanent project. For that I would usually go with a board that had a battery port on board. My LoRa gateway is based on a Heltec ESP32 + OLED with an 18650 inside the box wired to the battery port on the Heltec. Most of the time the Heltec gets power from its USB port but switches over to the 18650 instantaneously if USB power goes away. When USB power comes back, it instantaneously switches back to USB power and recharges the 18650. If that doesn’t qualify as “uninterruptible” I don’t know what does.

    • @HIBAW
      @HIBAW Před 5 lety +2

      @@AndreasSpiess yeah I was going to give that a try :) Was super informative. r1 is actually what burned up on the original one I had. So I need to replace that guy already. No clue why it did that or if it was a physical failure.... However an rpi runs pretty much all my home automation. So not starting after a long power failure, is actually worse than the power failure :) I'm working on centralizing my backup power. I've got all the parts, just not all the time to invest. :) Best wishes and thanks again. I enjoy your videos.

    • @AB-pb8oo
      @AB-pb8oo Před 5 lety +1

      @@HIBAW why then not consider ol' good 12v lead battery if it is home automation and size/weight aren't an issue? Use tiny one, like 4.5AH. Controllers can be bought cheaply at firms that sell fire alarm / security hardware

  • @vladhristov2316
    @vladhristov2316 Před 5 lety

    Great video! HNY the guy with the Swiss accent. 😁

  • @georgelewisray
    @georgelewisray Před 5 lety

    HELPFUL !!! . . . . thanks much.

  • @xnademolicious
    @xnademolicious Před 5 lety +1

    Have you seen any of these modules which allow use of LiFePO4 batteries? They seem to be a much more robust chemistry.

  • @SteveWindsurf
    @SteveWindsurf Před 5 lety

    Typically boost converters and LDO can have an enable input. Correct scaling of these enable inputs allows low battery voltage detection and reduction of drain current below your 60mA required for charging deep discharged battery.

  • @mackgoodman
    @mackgoodman Před 5 lety +2

    any idea how one would attach a solar cell? Where would the inputs attach? thanks

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      At the mini USB. But only 6v

    • @Kartoffelsnack
      @Kartoffelsnack Před 5 lety

      How much Watt or Ampere do i need (min and if there is: max)
      What i understood from the video is, that i need a 6V solarpanel. I'll use this board with a LiPo 18650 2600mAh Battery, and the device it will power is an wemos d1 mini with a whole bunch of Sensors (Weatherstation).
      Thank you in advance!

  • @3dgussner958
    @3dgussner958 Před 5 lety

    Great mini UPS, let's hope the company watch your video and change the board with switching off the FP6298 and not just the USB output port. On Aliexpress the 5V Amps rating are changed to 2A in the description, bit closer to your load test :-)

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      Interesting that they changed the description...

  • @M0LHA
    @M0LHA Před 5 lety +1

    These are absolutely great, I use them to drive and power the WS2812B smart leds on an electric skateboard. I was hoping to play with a accelerometer so add some sort of roll and acceleration effects.
    Just a thought, nobody seems to do anything with wind powered ICs - would you consider covering some sort of self powered ESP32?

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +1

      I tested at least one ESP module with battery.

    • @TaiViinikka
      @TaiViinikka Před 5 lety

      I just wanted to say that I am interested in wind power for very small devices. But it is harder to work with than solar, because the mechanical turbine does not just switch off happily when the battery is full. Real wind turbines, even small ones, need some sort of 'brake' and a way to trigger it. Overspeed operation is a real hazard. See also "dump load."

  • @vng
    @vng Před 5 lety

    Will a small 6V solar panel provide enough current to charge this when the LiPo shield is connected to a ESP32? I have some trouble understanding the 60mA and 100mA part...

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      Maybe you watch my video about solar powering devices.

  • @Harry-Powney
    @Harry-Powney Před 4 lety

    Good morning! This may be a comment to late but Andreas did you ever revisit this UUPS and make all the modifications that you mentioned within the video..?

  • @sethrd999
    @sethrd999 Před 5 lety +1

    For young players a good general overview of the do's and donts when relying on a non mains power source, I would just add that you characterize your devices ( main mcu/sbc, sensors ) thoroughly aswell as your systems duty cycle. I liked the nod to the 'non deep sleep' note on your consumption numbers.
    I actually purchased a couple of solar charging boards from a EE on hackster IO after long conversations and alot of research, I was ok with the price which was a little more than these from China, but I had the added bonus that these were actually fielded in the real world power both esp8266 and esp32 boards of various types and sensors without issues.
    Just as a note also for bigger iron ( Pi, BeagleBones etc etc ) you might do better with a hat/shield/cape as these are specifically targetted for these systems over being more generic, trade off is always going to be cost / your budget. Remember one thing though 'You get what you pay for'.
    Again great video Andreas, as always great food for thought!

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      I have such a hat and it did not work properly. I had to „Pimp“ it :-(

    • @dikl2689
      @dikl2689 Před 5 lety

      What about us older players who don't know much. ;^)

    • @sethrd999
      @sethrd999 Před 5 lety

      @@dikl2689 Thats why we have Andreas ;)..

  • @kesterbelgrove818
    @kesterbelgrove818 Před 5 lety +1

    Can you please show us this UPS set up and powering an ESP using solar and mains. I have a 5V, 500mAh solar panel, will it work with this setup?

    • @TuttleScott
      @TuttleScott Před 5 lety

      if it can be charged using 5v usb in why not?

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety

      I used the same TP4056 chip in my solar charger comparison. You find all info there.

  • @HMPirates
    @HMPirates Před 5 lety

    I am trying to do the same thing. What I figured is to use the tp4056+dw01 module for the battery charging and a MT3608 boost converter for powering the pi/mcu. I need to figure out a way to sense the battery voltage on the actual device(pi/mcu) to trigger a safe shutdown when the battery gets low. A simple comparator ckt can take care of turning the device on when the battery voltage gets above 3V.

  • @RobertSzasz
    @RobertSzasz Před 5 lety +2

    I just wish the switch turned off All the outputs.
    And a output disable at or below 3v on the battery

  • @MikeNugget
    @MikeNugget Před 3 lety

    Nice video, appreciating your research. Also thank you for links.
    But how about to set 2 or more such modules in parallel for RPi to provide more than 1A?

    • @AndreasSpiess
      @AndreasSpiess  Před 3 lety

      I probably would use a different module for an RPi

    • @MikeNugget
      @MikeNugget Před 3 lety

      @@AndreasSpiess it would be great if you make video for true RPi UPS (:

  • @Estragil
    @Estragil Před 5 lety

    The quiescent draw still is relatively high - especially when running on battery. Are there methods available to decrease this? For example replacing the LDO.

  • @donpalmera
    @donpalmera Před 5 lety +8

    I've never seen a Chinese product like this that works all that well and I have a little pile of puffed up lipo cells to show for it. I don't think it's easy to make something that works well with the cheap discrete components making up the charger->protection->regulation path. Richtek has some cheap (~50cents from taobao) parts that can do almost everything and have "power path switching" that switches the load directly to the input so it doesn't fight with the charger. Those would work well for a board like this. Aside from that there are PMIC chips that have the charger, power path and programmable DC-DC supplies for not much more that would probably would well if integrated into module with an ESP32. You'd be able to put sensors etc on their own DC-DC converters and turn them off when not needed, see the state of the battery etc.

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +3

      There are some very nice chips used in tablets. However, I never saw them on a module.

    • @donpalmera
      @donpalmera Před 5 lety +1

      @@AndreasSpiess
      >There are some very nice chips used in tablets.
      Exactly. Something like the AXP203 that's used in cheap chinese tablets would be good I think.

    • @makomk
      @makomk Před 5 lety

      donpalmera That's how the C.H.I.P. (which is sadly no longer made) did its onboard battery charging, since it was basically a Pi competitor using cheap tablet tech. Unfortunately I'm not sure there's anything like that being made today.

    • @donpalmera
      @donpalmera Před 5 lety

      @@makomk
      The chip was based on an Allwinner SoC. The Allwinner SoCs are always paired with an AXP PMIC...
      Allwinner make a chip with a 1.2ghz Cortex A7 and 64MB of RAM in an QFP package (hand solderable) that costs about $4. :D

  • @norm1124
    @norm1124 Před 5 lety

    Sehr interessanter Beitrag.

  • @TechnoShare
    @TechnoShare Před 5 lety

    Nice video 🙂

  • @geischt23
    @geischt23 Před 5 lety +5

    Another very interesting video, thanks!
    Did you try connecting a ESP32 with deep sleep phases? Many COTS powerbanks just shut off when a MCU goes into deep sleep, I only found very few that keep providing enough energy to keep the device alive in its deep sleep state.

    • @AndreasSpiess
      @AndreasSpiess  Před 5 lety +2

      This one should not switch off. For sure not on 3.3v

    • @geischt23
      @geischt23 Před 5 lety

      @@AndreasSpiess perfect, thanks. Already ordered some for experiments anyhow :D

    • @hansfortov
      @hansfortov Před 5 lety +1

      @@AndreasSpiess Tested it with deep sleep for days now and does now switch off when connected via usb

    • @TaiViinikka
      @TaiViinikka Před 5 lety +2

      @@hansfortov Thank you for reporting the deep sleep results! Did you mean "Does now switch off" OR "Does not switch off" ?

    • @jochen_schueller
      @jochen_schueller Před rokem

      @@TaiViinikka we will never know :)

  • @ZubinB
    @ZubinB Před rokem

    So if I connect this 18650 shield to the charger as well as to a Pi, it should automatically manage interruptions in power supply to keep the RPi running by switching to the 18650?
    Then upon return of power supply it'll charge the battery till it is charged then direct the power to the Pi.
    I want a solution to handle short power outages without restarting the Pi, in a setup that can be deployed then doesn't need to be touched so the power supply will be connected to the shield 24*7. Is it good for that function or will I need to make some modifications?

    • @AndreasSpiess
      @AndreasSpiess  Před rokem

      You have to try. There are different designs in the market now. But there is a fair chance that it works. The Pi4 is the hardest, because it consumes lots of current.