Raspberry Pi Waveshare UPS

Sdílet
Vložit
  • čas přidán 11. 07. 2024
  • Raspberry Pi uninterruptible power supply (UPS) review and setup.
    The Waveshare UPS featured in this video was purchased from the Pi Hut here: thepihut.com/products/uninter...
    And it is also available from the Waveshare website here: www.waveshare.com/product/ras...
    Please note that the above are NOT affiliate links, and that I have no association with The Pi Hut or Waveshare.
    The Wiki instructions for the UPS are here:
    www.waveshare.com/wiki/UPS_HA...)
    You may also be interested in my previous video on running a Raspberry Pi on batteries: • Raspberry Pi Battery P...
    More videos on SBCs and wider computing and related topics can be found at / explainingcomputers
    You may also like my ExplainingTheFuture channel at: / explainingthefuture
    Chapters:
    00:00 Introduction
    00:46 UPS Hardware
    06:28 Assembly
    08:25 UPS in Action
    12:50 Protected Pi
    #RaspberryPi #UPS #ExplainingComputers
  • Věda a technologie

Komentáře • 534

  • @andrekz9138
    @andrekz9138 Před 2 lety +79

    Devices like this are a testament to people's ingenuity. The POGO pins made me skeptical, but I'm happy you addressed that.

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

      I have a similar unit. It didn't look to me like the pins were centered correctly on the pogo pins, but I guess as long as tension holds it there. Unfortunately mine is not a UPS, that one looks nice 👍🏻

    • @ShinryuZensen
      @ShinryuZensen Před 2 lety

      You can put some solder on the pins when the unit is assembled and no batteries are inserted, if anyone feels unsure about the pogo pins. It should be easy enough even for amateurs

    • @waltercomunello121
      @waltercomunello121 Před 2 lety

      there's another issue with connections like these - micro arcs. with time, current gets passed through micro arcs where microscopically pogo pins aren't properly aligned with the bottom of the Pi pins. with time this generates oxidation, which is a good insulator. so I wouldn't be surprised to see more and more instability with use.
      this also works in reverse - the UPS unit might have increasing difficulty getting charged through the pins, leading to slower or frozen charge.
      so much for "uninterrupted" huh

  • @RoboNuggie
    @RoboNuggie Před 2 lety +39

    I didn't think the Pi would have this sort of option, but given how clever the whole Ecosystem is around it, I'm not surprised.
    Thank you Christopher.

    • @motalasuger
      @motalasuger Před 2 lety

      It makes a lot of sense for those who power it by using solar power as a remote sensor or whatever, so it’s not surprising that there are several different variants available out there.

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

    A useful product for those who need uninterrupted power to their Pi. Right now I am not one of those people, but certainly could be in the future. Thanks for showcasing it.

  • @zephyfoxy
    @zephyfoxy Před 2 lety

    The timing of this video is perfect. I just set up a new Raspberry Pi 4 yesterday as my primary DNS server, so having a UPS on it like this is exactly what I need to keep it from going down during power outages! I just ordered one of these for it!

    • @rshnewton
      @rshnewton Před rokem

      I'd love to talk to you about that.

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

    I have yet to use a Raspberry Pi. I'm glad you are sharing your adventures. The possibilities.

  • @Mandalorian5174
    @Mandalorian5174 Před 2 lety

    The information you share with us is always top shelf. I appreciate that. Thank you.

  • @5argetech56
    @5argetech56 Před 2 lety +7

    Stanley the knife and mr. Scissors always get top billing, in unboxing videos. It's about time for Peter the pliers to get some screen time. Bravo, bravo. 😊

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

    Excellent! Informative as always. I might have to get one of these for my OMV NAS Pi.
    The recent high winds we've had has had me worried about the result of a power loss, and this would certainly help put my mind at rest.

  • @MightyElemental
    @MightyElemental Před 2 lety +3

    Glad you mentioned the power disconnect when bumped. That's the issue with the pogo pin configuration.

  • @rohantrivedi9696
    @rohantrivedi9696 Před 2 lety

    Thanks alot Chris, I requested this video couple of months back and here it is.
    Thanks again.

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

    Oh -- that's ingenious! Using the pins up from the bottom like that! I really like that design!

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

    Ah... today has a special guest appearance from Peter the Pliars.
    I had always wondered about whether to add a UPS to my Pi, so this was a welcome video indeed. Thanks for producing it.

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

    Well worth the wait for the Sunday installment. Thanks!

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

    Running time on batteries and code to safely shutdown before voltage drops too low would be valuable additions to this video.

  • @capt_awesome42
    @capt_awesome42 Před rokem +2

    I bought mine after seeing this, it was an excellent video as always. Seeing you reviewing a product that i'm considering to buy makes me more confident that i'm doing a good purchase.
    I connected it to an old raspberry pi 2 which i only use as a zigbee gateway. Since the GPIO pins are the same it is working flawlessly. No more sd card corruption on power failures!

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

    Another great Sunday treat

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

    I didn't know I needed this until watching the video. Now I want two of them.

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

    As always, I learned something! Thanks for another informative video on the Raspberry Pi!

  • @jls9225
    @jls9225 Před 2 lety

    Another complete Sunday, Thank You. As Always, Be Smart and Stay Safe.

  • @avejst
    @avejst Před 2 lety

    Great walkthrough of the process 👍
    Great video as always 👍😀
    Thanks for sharing your experience with all of us 👍😀

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

    Very interesting demo. Makes this board definitely look worth further consideration.

  • @keithmiller9665
    @keithmiller9665 Před 2 lety +2

    “Lets go and take a closer look”. Favourite Sunday words. :-)

  • @insanemainstream3633
    @insanemainstream3633 Před 2 lety

    Almost endless possibilities with the Pi. Another great episode.

    • @BilisNegra
      @BilisNegra Před 2 lety

      What a pity SBC's have ridiculously high prices now, though...

  • @D.Rahnaward
    @D.Rahnaward Před 2 lety +1

    Perfect ! great addition to RPi.

  • @Mladjasmilic
    @Mladjasmilic Před 2 lety +7

    For my Smart Home I used powerbank PCB from Aliexpress (4€), old tablet battery (7Ah) and soldered USB out cable. PCB can supply 2A at 5V, so it works great for my application.

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

    I have looked at a few UPS kits on Amazon.ca. Pricing it of course higher in Canada. If I end up buying one, I will have to print out a modified case for it. Your video today has definitely helped me in my research. The Pi that could use a UPS is one of my MotionEye0S camera units. Having backup power is something I always needed. Thanks for today’s video Chris.

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

    I’ve only recently become interested in what a Raspberry Pi can do for me. My first venture was to set up a media centre in the kitchen. I’m not a big fan of the kitchen but now I have access to streaming services, I don’t mind spending extra time in there.
    Next I am turning my attention to an empty Macintosh SE/30 case to build a retro-look system and I might consider using it as a NAS.
    Thanks Christopher, another feather to put in the hat of the Raspberry Pi!

  • @Rob_65
    @Rob_65 Před 2 lety +16

    This is a very nice UPS board, I have looked and the schematics and it seems to include everything you need: overcharge/discharge protection, balancing and a battery voltage/current monitor. The only thing missing is a current monitor on the 5V supply to the Raspberry Pi so we could give a good indication of the time left on batteries. You can guestimate using the battery voltage and current and that might be enough.

    • @sanjikaneki6226
      @sanjikaneki6226 Před 2 lety

      where did u find the schematics? i didn t find them on the wiki

    • @SuperBrainAK
      @SuperBrainAK Před 2 lety

      Those are good questions. I definitely agree it needs a second voltage and current monitor. I think it would be best suited on the 8.4v charge input rail because you can measure the voltage on the 5v with the Pi itself. Though current measurement on 5v would be nice.
      What I am curious about is how the charging circuitry works. I know it says 8.4v in but does that require the input to be no more than 8.4v and have a constant current input? If it requires that then that means it does not have any onboard charge regulation and the charge current would be limited by the max output of the power supply or the battery protection IC's which will just shut off the batteries if the current is too high. Not really Ideal in that scenario. I think it should have a TP5100 IC on it's power input set to 8.4v (TP5100 can do 1S or 2S Li-ion charging) but also have a straight through power connection with the 12-24v input power now going directly to the 5v buck converter so there are less losses. Diodes may work but Ideal Diode circuits would be way better using the dedicated IC and mosfets. This probably was not implemented due to cost saving unfortunately

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

      @@SuperBrainAK There is no charger circuitry in this module. It is quite common for Li-Ion applications to use a specific Li-Ion charger. A Li-Ion charger uses a constant current/constant voltage technique. It starts charging with a constant current and as soon as the max. voltage of 8.4V is reached, it will switch over to charge with a constant voltage (dropping the current). As soon as the current then goes below a certain value it will stop charging.
      Having a specific Li-Ion charger instead of a regular power supply is fairly common. The charger contains the more complex electronics while the battery only has over voltage and current protection. These chargers are replacing mainstream power supplies when (Li-Ion) batteries are involved so I don't have any concern about using a specific Li-Ion charger instead of a regular power supply.
      Yes, you could use a TPS5100 or another type of cheap charger circuit but (partly due to the fact that those Li-Ion charger are mass procuded) will not only increase the cost but also the quality of the charger.

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

    This is what I've been looking for. Thanks for sharing

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

    Fab video as always; just ordered my UPS from thepihut so I can move my back garden CCTV system that I've setup using a Pi with no downtime :)

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

    Excellent review and explanations !

  • @PS_Tube
    @PS_Tube Před 2 lety +2

    CZcams sent me notification late.
    Wow !! Another Raspberry project. It's Pi for snacks this Sunday evening.

  • @jamespeters920
    @jamespeters920 Před 2 lety

    Great video once again. I think i'll pick one up. Thanks Chris!

  • @albertocattanr
    @albertocattanr Před 2 lety +2

    Mr. Barnard is a genius, but I think he might not know that he is also one of the funniest people on Earth! Best.CZcams.Channel.Ever

  • @samaitcheson7057
    @samaitcheson7057 Před 2 lety +6

    Very useful video Chris. I'd be interested in further videos on alternative ways to power Pis e.g. batteries, solar.

  • @MicrobyteAlan
    @MicrobyteAlan Před 2 lety +2

    Thanks. My Raspberry Pi just went mobile. Ordering one right now. I had just started looking for a way to do this. We’re synced up somehow. Great review and how to. Good morning from where rockets fly 🚀

  • @welshbikepackingadventures

    Oow i gotta get one!! Thank you for showing this excellent piece of kit

  • @iangeorgesmall
    @iangeorgesmall Před 2 lety

    Thanks Chris, that’s a great option for rPi.
    I like your sense of humour.
    So now the pi will run 24/7
    I think it would pay to set a root cronscript to automatically reboot the pi early in the morning each day so it never crashes. So it is always available 99.9% of every day.
    I set a reboot cron job on all servers that I install.
    I’ve never had them crash.
    Yes it means 2 minutes every morning they are totally down but never down when you really need them. It overcomes any memory leak problems. I’ve got tens of servers on the internet that never crash for ten years or so. I even forget them because customers never have problems.

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

    Great video. You touched a spot that's close my heart. Good job.
    I'm thinking I'm not going to make it to next year. So long Chris and that for all of the great and relavert video's.

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

    Very cool! Interesting device, great explanation and evaluation!

  • @g-r-a-e-m-e-
    @g-r-a-e-m-e- Před 2 lety

    An elegant setup. Thx 😋

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

    Excellent video, thank you. I think this could be a very good option for car use if you can attach the UPS board to 12-15V safely via voltage regulation. Coupled with a shutdown script that tells the Pi to start safe shutdown calculation when the UPS current turns negative, and cancel the shutdown if the UPS shows up positive again because of vehicle start. Have to look into this, if those batteries can handle the high heat inside the car in summertime...

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

    Excellent tutorial, "lets go take a closer look" included 😀 👍.

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

    I have some Waveshare hardware that uses the pogo pins. Used it to make a triple board sandwich and it works great!

  • @williamstevenson2649
    @williamstevenson2649 Před 2 lety

    Thanks. Excellent explanation

  • @AMDRADEONRUBY
    @AMDRADEONRUBY Před 2 lety +3

    Nice it's finally Sunday have a nice week my friend

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

    Amazing, this is a great little gadget to have... thank you for another wonderful video. God bless.

  • @ingog.8424
    @ingog.8424 Před 2 lety +1

    Ah, the Raspberry Pi!
    I remember this device back from the time when you could still buy one…

  • @keepsformat
    @keepsformat Před 2 lety

    Thank you for the video, as always it was very educational.

  • @keithstandiford3761
    @keithstandiford3761 Před 2 lety +4

    Nice integrated solution but for less portable requirements, a USB power bank with pass through charging is way simpler and cheap. 6000 mAH for $13 last time I bought one. Yes you have to carry the battery and cable to move things about and you don’t get the cool software monitoring, but it works for anything taking USB power and in doesn’t need a specialty power brick. And your old Pi case still fits!

  • @utvpoop
    @utvpoop Před 2 lety

    A nice video featuring unnamed (yet?) pliers, a new hero in our EC universe.

  • @rshnewton
    @rshnewton Před rokem

    It would be nice to have some battery drain times wirh assumptions about current consumption and minimum battery starting charge. I was going to build one of these, so I am delighted that someone has done it for me, affordable and well designed. The python watching script can be easily adapted to safely shut down the device when the battery charge crosses some threshold. Brilliant!

  • @rexjuggler19
    @rexjuggler19 Před 2 lety +2

    Those POGO pins are clever! Enjoyed seeing this. I have a NextCloud running on Odroid SBC. This would be a good application of NextCloud on Pi.

  • @martinsmith5028
    @martinsmith5028 Před 2 lety

    Thanks Chris, makes sense for my Pi NAS and the maneuverability it gives me in my new home man cave (It must be, my friend bought me the sign for the door)

  • @ganeryhyperion8386
    @ganeryhyperion8386 Před rokem +1

    that is good to use in addition with a standard ups using nut ups as a ups server for the usb ups

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

    Nice concept!

  • @PhG1961
    @PhG1961 Před 2 lety

    Awesome product !

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

    Great project! We like it! 🙂

  • @slimplynth
    @slimplynth Před 2 lety

    10/10 on the builders tea, looks like a good brew 👍 that's crying out for a 3D printed case..

  • @mwesten6344
    @mwesten6344 Před 2 lety

    Thank you so helpful, wanted to set up an RPi nas myself with a ups but thought it would be too complicated and much more expensive than this :)

  • @DaxtonAnderson
    @DaxtonAnderson Před 2 lety +4

    I'd love to see some battery life tests for different use cases such as NAS and Security Systems. Since you're using fresh, reputable cells they will be a good representation for the general public.

  • @gregclare
    @gregclare Před 2 lety +2

    It's somewhat counterintuitive to have a UPS (intended to protect against power loss), but then have the power connection reliant on pogo-pins! So I was relieved when I heard you mention that thumping the table hard caused the RasPi to reset. This was somewhat expected. If you are using a UPS to protect from power outages / brown-outs etc., then I strongly suggest a more robust power connection be made between the UPS and the RasPi.

  • @DrShawnBerry
    @DrShawnBerry Před 2 lety

    Very beneficial to have a UPS on our boards.

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

    Thanks for useful information.

  • @plankalkulcompiler9468
    @plankalkulcompiler9468 Před 2 lety +2

    Hi Chris, glad that you do hardware reviews again! Can you take a look at analog computing and its future in AI like new startups like Mythic AI are trying to implement?

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

      Yes, for some reason it's been more software a little while. But next week is PC hardware, and various other hardware is coming up! :)

  • @BobikH
    @BobikH Před 2 lety

    Great video, thank you !

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

    Good information, your price on the batteries were reasonable indeed.

  • @erikshahverdyan2748
    @erikshahverdyan2748 Před 2 lety

    Great video.

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

    Two thumbs up, I wish you would have been my teacher, or I was your neighbor growing up. That would be even better. I only would go home to sleep and school! Ps. I'm not a stalker. Haha

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

    Excellent project! I already have ideas (and a spare RPI) :)

  • @montecorbit8280
    @montecorbit8280 Před 2 lety +2

    Been watching your channel for several months, watching older videos as I can....
    This is the first time I remember seeing Peter the pliers....
    Maybe you should do one or two minute video introducing all of your "supporting cast" just for the S&G Factor, (Smiles and Giggles).

    • @ExplainingComputers
      @ExplainingComputers  Před 2 lety

      Thanks for watching. Peter indeed make his first appearance in this video! :)

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

    I especially like this video.

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

    I like the safety feature for the battery 🔋

  • @sid_gm1949
    @sid_gm1949 Před 2 lety +2

    And here we meet again
    Greetings!

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

    Amazing video

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

    I have one of these. It works without a hiccup

  • @nrnoble
    @nrnoble Před 2 lety +6

    Basically it allows the pi to be somewhat like a headless laptop. Glad I watched all the way to the end. Through out the video I was wondering what functional purpose this would have over a standard UPS. I was trying to think of reasons why someone would want to have a pi stay running while all other devices are off line (network, external storage, etc); if those devices were on a UPS, then the pi likely would be getting power from that UPS as well. However, if the pi is elsewhere on the network, and not near the UPS that is keeping the network alive, the pi would need to be getting power from some other UPS. ...Another possibility, if you have a PoE network, put the network on a UPS, and have the pi powered using PoE. :)

  • @sbc_tinkerer
    @sbc_tinkerer Před 2 lety

    Greetings Christopher and Peter the Pliers! And a cameo appearance by Mr Scissors and Stanley the Knife. Nice piece of kit that UPS. Well done even with the brain hiccups. 😎

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

    Nice video, thanks for sharing :)

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

    another in a long line of well done , easily understandable episodes. Wish you would pen a booklet on basic linux commands for boneheads like me.

  • @john-r-edge
    @john-r-edge Před 2 lety

    Good price for this unit. A couple of days before this video came out there was a similar product being promoted on AliExpress. Search for "Raspberry Pi 4B UPS with RTC Uninterruptible Power Supply 18650 Battery Charge" which is nearly USD 40 plus shipping. Physically similar - it also uses pogo pins - but is not a rebadged version of the Waveshare unit Chris is reviewing. The AliExpress one has a realtime clock - but no extra pins, so maybe signal goes through the existing pair of data pins.

  • @perrymcclusky4695
    @perrymcclusky4695 Před 2 lety +7

    If you ever have an excuse in a future video to make a real-world test to see how long those batteries would last, I’d find that interesting. Plus, it’s comforting that Peter the Pliers is on hand for pulling caps off of batteries or the occasional tooth. Looking forward to your next video!

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

      I second the question about the batteries duration. That is a critical information IMHO.

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

      The Make of the battery is critical with differences in quality huge. If in doubt buy samsung. Chinese (eg ultrafire) units are about 1/4 as good.

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

    It would be wise to apply some insulating cover to the pogo pin. Thanks for the review.

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

    I have one of those! I made a great battery monitor with a screen and clock. Be sure to source your cells from honest folks.
    Edit: I use this with a Wave share compute unit board with the same form factor as a pi. Works great.
    Edit 2: I have never had a problem with the pogo pins, and I use my unit like a laptop, swinging it around from the cords like a medieval weapon.

  • @Kee-Lo
    @Kee-Lo Před 2 lety +1

    So, there were many ups and downs during this video!
    I'll get my coat...
    It looks rather good for a Pi NAS.

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

    I hope i can see Mr Barnatt drink tea or coffe when break time 😁

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

    Very cool!

  • @felicytatomaszewska2934
    @felicytatomaszewska2934 Před 2 lety +2

    He talks funny but very informative and nice

  • @rogerkoh1979
    @rogerkoh1979 Před 2 lety

    Nice UPS. Yes, it is good to move around without shutting it down. Save time.

  • @stephenridgway2720
    @stephenridgway2720 Před 2 lety

    That’s a great product, it would be good for a power monitoring system that could communicate via wifi if the power goes down in my shed before powering down!

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

    I have to admit I got excited for "cup of tea time".

  • @d.barnette2687
    @d.barnette2687 Před 2 lety

    Greetings from across the pond near Albuquerque, New Mexico, USA. Another super informative video -- thank you! Seems to me WaveShare could place a couple more holes in the UPS PCB so that a RPi Zero 2 W could also be placed on top, especially since the GPIO pins are compatible with the larger models. Just two more holes. A Zero 2 W could run a mightly long time on something like this!

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

    Peter the Pliers got to feature! Mr. Scissors and Stanley the Knife will be jealous. 😁 😆

  • @gravelyetigravelyeti4284

    i think if were to use this as a long term setup i would probably solder those pogo pins to the header pins, great to see peter piers

  • @jawjuk
    @jawjuk Před 2 lety +3

    Eye-opening video, Chris; nice one! How long can the Pi run for on the batteries alone?

  • @montecorbit8280
    @montecorbit8280 Před 2 lety +2

    It would have been nice to have a run time. You did that on pi zero and a pi 4 with a couple of different batteries. I assume there's different capacities of those batteries, but it still might have been interesting.... I enjoyed this video.

  • @jozsefizsak
    @jozsefizsak Před 2 lety

    That's very good!

  • @jxchamb
    @jxchamb Před 2 lety

    Pretty cool.

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

    Hey Peter! (Waving my hand...) Nice to meet you!

  • @MrAdam8419
    @MrAdam8419 Před 2 lety

    Thanks for the video the application of this too a telemetry project would be great just wondering if a mini solar pannel or a wind turbine could be fitted to charge the cells. Think that would be interesting to make is self contained.