Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. Raspberry uninteruptable power suppy

Raspberry uninteruptable power suppy

Scheduled Pinned Locked Moved Hardware
17 Posts 4 Posters 4.4k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • karl261K Offline
    karl261K Offline
    karl261
    wrote on last edited by karl261
    #1

    So, I built myself a nice little UPS for my raspberry pi, because it is supposed to still work without power and send some SMS if a battery sensor sends a certain signal via an attached UMTS stick.

    Simplest design: A 5 V power bank with 2 A that can charge and discharge at the same time, and after that I have 3 supercaps summing up to 6.9 V and 3.33 F.

    However, I realize that the power arriving and the raspberry is only 4.77 V, which sounds too little to me.

    Questions:

    1. Why is that? Why is it not 5 V?
    2. How can I improve the UPS? I have a stepup module here, 1-5 V -> 5V. Maybe I should use that? Just behind the supercaps? Or would anything else be better?

    Any suggestions?

    Edit: I just checked: The step up module has only 500 mA. That is not enough. How do I get my 5 V back?

    AWIA 1 Reply Last reply
    0
    • karl261K karl261

      So, I built myself a nice little UPS for my raspberry pi, because it is supposed to still work without power and send some SMS if a battery sensor sends a certain signal via an attached UMTS stick.

      Simplest design: A 5 V power bank with 2 A that can charge and discharge at the same time, and after that I have 3 supercaps summing up to 6.9 V and 3.33 F.

      However, I realize that the power arriving and the raspberry is only 4.77 V, which sounds too little to me.

      Questions:

      1. Why is that? Why is it not 5 V?
      2. How can I improve the UPS? I have a stepup module here, 1-5 V -> 5V. Maybe I should use that? Just behind the supercaps? Or would anything else be better?

      Any suggestions?

      Edit: I just checked: The step up module has only 500 mA. That is not enough. How do I get my 5 V back?

      AWIA Offline
      AWIA Offline
      AWI
      Hero Member
      wrote on last edited by AWI
      #2

      @karl261 try this Most power banks contain a boost converter which in your case is probably set too low.
      So another option is to open up the power bank and adjust... (could be tough)

      karl261K 2 Replies Last reply
      0
      • AWIA AWI

        @karl261 try this Most power banks contain a boost converter which in your case is probably set too low.
        So another option is to open up the power bank and adjust... (could be tough)

        karl261K Offline
        karl261K Offline
        karl261
        wrote on last edited by karl261
        #3

        @AWI Thanks! I'll Check.

        What about this module:

        http://pages.ebay.com/link/?nav=item.view&alt=web&id=232075363633&globalID=EBAY-DE

        How did you get the Ali express image in there?

        mfalkviddM 1 Reply Last reply
        0
        • karl261K karl261

          @AWI Thanks! I'll Check.

          What about this module:

          http://pages.ebay.com/link/?nav=item.view&alt=web&id=232075363633&globalID=EBAY-DE

          How did you get the Ali express image in there?

          mfalkviddM Online
          mfalkviddM Online
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          @karl261 the forum auto-generates images for sites it recognizes. ali, ebay (but not your link for some reason), openhardware, codebender and maybe some more.

          karl261K 1 Reply Last reply
          0
          • mfalkviddM mfalkvidd

            @karl261 the forum auto-generates images for sites it recognizes. ali, ebay (but not your link for some reason), openhardware, codebender and maybe some more.

            karl261K Offline
            karl261K Offline
            karl261
            wrote on last edited by
            #5

            @mfalkvidd ah, cool, thanks. I see. Have to figure out the right link...

            mfalkviddM 1 Reply Last reply
            0
            • karl261K karl261

              @mfalkvidd ah, cool, thanks. I see. Have to figure out the right link...

              mfalkviddM Online
              mfalkviddM Online
              mfalkvidd
              Mod
              wrote on last edited by
              #6

              @karl261 http://www.ebay.de/itm/232075363633 seems to work

              1 Reply Last reply
              0
              • AWIA AWI

                @karl261 try this Most power banks contain a boost converter which in your case is probably set too low.
                So another option is to open up the power bank and adjust... (could be tough)

                karl261K Offline
                karl261K Offline
                karl261
                wrote on last edited by
                #7

                @AWI I just tested it: The power bank is fine. The supercaps cause the voltage decrease. But how? I don't understand enough of caps...

                AWIA 1 Reply Last reply
                0
                • karl261K karl261

                  @AWI I just tested it: The power bank is fine. The supercaps cause the voltage decrease. But how? I don't understand enough of caps...

                  AWIA Offline
                  AWIA Offline
                  AWI
                  Hero Member
                  wrote on last edited by
                  #8

                  @karl261 There could be some interference between the caps an the power bank. If the caps are of decent quality they act as storage only (not a load). Another possibility is that your voltage meter inacurately measures the "ripple voltage" of the power bank as 5v.

                  I quess you don't have acces to an oscilloscope?

                  karl261K 1 Reply Last reply
                  0
                  • AWIA AWI

                    @karl261 There could be some interference between the caps an the power bank. If the caps are of decent quality they act as storage only (not a load). Another possibility is that your voltage meter inacurately measures the "ripple voltage" of the power bank as 5v.

                    I quess you don't have acces to an oscilloscope?

                    karl261K Offline
                    karl261K Offline
                    karl261
                    wrote on last edited by
                    #9

                    @AWI No, I don't have an oscilloscope. Would be nice though. Searching the net it seems that other people who tried also see low voltages. I think these caps are responsible. If each cap has a voltage drop of 0.8 V then I easily get down to 4.77 V...

                    mfalkviddM 1 Reply Last reply
                    0
                    • karl261K karl261

                      @AWI No, I don't have an oscilloscope. Would be nice though. Searching the net it seems that other people who tried also see low voltages. I think these caps are responsible. If each cap has a voltage drop of 0.8 V then I easily get down to 4.77 V...

                      mfalkviddM Online
                      mfalkviddM Online
                      mfalkvidd
                      Mod
                      wrote on last edited by
                      #10

                      @karl261 what does your multimeter say when connecting 1 or 2 caps?

                      karl261K 1 Reply Last reply
                      0
                      • mfalkviddM mfalkvidd

                        @karl261 what does your multimeter say when connecting 1 or 2 caps?

                        karl261K Offline
                        karl261K Offline
                        karl261
                        wrote on last edited by
                        #11

                        @mfalkvidd You mean take away one cap? That's not possible, because then the 5V is too much. Two caps would be only 4.6 V in total and giving them 5 V will kill them.

                        mfalkviddM 1 Reply Last reply
                        0
                        • karl261K karl261

                          @mfalkvidd You mean take away one cap? That's not possible, because then the 5V is too much. Two caps would be only 4.6 V in total and giving them 5 V will kill them.

                          mfalkviddM Online
                          mfalkviddM Online
                          mfalkvidd
                          Mod
                          wrote on last edited by mfalkvidd
                          #12

                          @karl261 oh, you are connecting the caps in series. Sorry. I thought you had 3 caps at 1.11F each and you connected them in parallel to get 3.33F.

                          karl261K 1 Reply Last reply
                          0
                          • mfalkviddM mfalkvidd

                            @karl261 oh, you are connecting the caps in series. Sorry. I thought you had 3 caps at 1.11F each and you connected them in parallel to get 3.33F.

                            karl261K Offline
                            karl261K Offline
                            karl261
                            wrote on last edited by
                            #13

                            @mfalkvidd No no, those are 10 F caps 2.3 V each. If you connect them in series you get a 3.33 F and 6.9 V Supercap.

                            1 Reply Last reply
                            1
                            • karl261K Offline
                              karl261K Offline
                              karl261
                              wrote on last edited by
                              #14

                              I found this on the net:

                              http://www.hackerspace-ffm.de/wiki/index.php?title=Raspi_EDLC_UPS

                              I added the 100R resistors. And I guess I will try with a step up module behind. Which one do you think is better? Of the two?

                              1 Reply Last reply
                              0
                              • karl261K Offline
                                karl261K Offline
                                karl261
                                wrote on last edited by
                                #15

                                @AWI Ok, so the bosst converter has arrived. Now I have a stupid question: Should I add the boost converter before of after the caps? Somehow I cannot figure out the advantages / disadvantages of one or the other method.

                                The problem with my power bank is, that the voltage drops to 4.5 V when the power bank is charging. When I disconnect the power bank from its supply, the voltage is 5 V as expected.

                                1 Reply Last reply
                                0
                                • rozpruwaczR Offline
                                  rozpruwaczR Offline
                                  rozpruwacz
                                  wrote on last edited by rozpruwacz
                                  #16

                                  do i understand correctly your setup ?
                                  ac -> power supply for the power bank -> power bank -> super capacitors -> raspberry pi

                                  1. why do you need super capacitors ?
                                  2. the power bank is made like this: charger ic -> battery -> step up/down converter (up or down depends what the battery voltage is) so the current at the charger ic is equal to charging current + raspberry pi current. so if you want this to work then a) power bank supply should be able to deliver this amount of current, b ) charger ic should also be able to deliver the same amount of current, c) step up/down converter must deliver at least raspberry pi current. Because in this particular case the time when the charger will actualy charge the battery is much less than the time when battery is not charged the charging ic may be set up to charge at a low rate (so the charging current is low) e.g 200mA, then if power bank and charging ic can deliver 2A there is 1.8A for the pi. it is propably easier to build such power bank than to find one on the market, but if you already found one that can charge at 2A and deliver output current at 2A then you just need to set the charger ic to operate at lower rate (this is done usualy by choosing correct value for the charging current resistor and is described in the ic manual).
                                  1 Reply Last reply
                                  0
                                  • karl261K Offline
                                    karl261K Offline
                                    karl261
                                    wrote on last edited by
                                    #17

                                    My UPS is working fine now for the past several months. My current setup is like this:

                                    AC -- Power suppply power bank -- power bank -- supercaps -- voltage regulator 5V -- raspi.

                                    The supercaps are needd because when the powerbank switches there is a short power interruption. The supercaps are buffering this.

                                    The 5V voltage regulator is needed, because when the power bank is charging and discharging at the same time its output voltage drops to 4.6 V or so. The voltage regulator keeps this at 5 V at all times.

                                    1 Reply Last reply
                                    1
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    21

                                    Online

                                    11.7k

                                    Users

                                    11.2k

                                    Topics

                                    113.1k

                                    Posts


                                    Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • MySensors
                                    • OpenHardware.io
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular