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. General Discussion
  3. UPS

UPS

Scheduled Pinned Locked Moved General Discussion
30 Posts 8 Posters 6.3k Views 8 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.
  • ben999B Offline
    ben999B Offline
    ben999
    wrote on last edited by ben999
    #1

    Hi guys
    I am using MySensors together with OpenHAB to protect my home and also for access control
    To make more sense I decided that all security related sensors shall be powered via battery
    To make even more sense I run my gateway and the box from an UPS. But...

    That UPS uses 220V AC to keep its 12V DC battery in shape. That's fine.
    But when it goes off the grid it converts 12V DC to 220V AC back to 12V DC for box (which powers Raspberry via USB)

    Would it make sense to have a pack of LiIon batteries that supply directly the box via some DC-DC regulator? And have the LiIon cells charged/balanced via these boards found on eBay?

    I imagine there would be a cut-off voltage unit that would protect the cells.

    Your comments on this matter would be welcome.

    As i am not able to design any electronics, best would be to use board found on eBay or similar...

    Thanks a lot for reading and even more thanks for your input

    See ya

    alexsh1A 1 Reply Last reply
    0
    • tbowmoT Offline
      tbowmoT Offline
      tbowmo
      Admin
      wrote on last edited by
      #2

      @ben999

      Something like this: https://hackaday.io/project/9461-lifepo4weredpi ??

      ben999B 1 Reply Last reply
      2
      • tbowmoT tbowmo

        @ben999

        Something like this: https://hackaday.io/project/9461-lifepo4weredpi ??

        ben999B Offline
        ben999B Offline
        ben999
        wrote on last edited by
        #3

        @tbowmo

        Thanks a lot ! Very neat !

        But it seems that this unit can only power the Pi itself...

        I am more looking at keeping the box AND the Pi alive for a few minutes (or more) :

        • at least enough time to let me know that there's a power cut
        • and (even better) plenty enough time to keep the alarm system going in case the power-cut is due to burglars...

        Thanks a lot anyway... that device could be useful for some other projects :) Ta

        mfalkviddM 1 Reply Last reply
        0
        • ben999B ben999

          @tbowmo

          Thanks a lot ! Very neat !

          But it seems that this unit can only power the Pi itself...

          I am more looking at keeping the box AND the Pi alive for a few minutes (or more) :

          • at least enough time to let me know that there's a power cut
          • and (even better) plenty enough time to keep the alarm system going in case the power-cut is due to burglars...

          Thanks a lot anyway... that device could be useful for some other projects :) Ta

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

          @ben999 what type of box are you looking to power?

          ben999B 1 Reply Last reply
          0
          • mfalkviddM mfalkvidd

            @ben999 what type of box are you looking to power?

            ben999B Offline
            ben999B Offline
            ben999
            wrote on last edited by
            #5

            @mfalkvidd
            Hi
            Thank you for your message
            The box I am talking about is the internet/phone ISDN box (sorry I didn't make that clear)
            Power supply is rated 12v 2A
            The box powers the Pi via USB

            mfalkviddM 1 Reply Last reply
            0
            • ben999B ben999

              @mfalkvidd
              Hi
              Thank you for your message
              The box I am talking about is the internet/phone ISDN box (sorry I didn't make that clear)
              Power supply is rated 12v 2A
              The box powers the Pi via USB

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

              @ben999 thanks for clarifying.

              Are you able to get details for the isdn box? If it can handle something like 11-13.8V in, you could probably use something as simple as a (small) car battery and a car battery charger.

              Examples:
              http://www.conrad.com/ce/en/product/200081/H-Tronic-AL800-2-12V-Lead-Acid-Battery-Charger-08A-12-40Ah?ref=searchDetail
              http://www.conrad.com/ce/en/product/250165/VRLA-12-V-12-Ah-Conrad-energy-CE12V12Ah-250165-AGM-W-x-H-x-D-97-x-52-x-48-mm-48-mm-blade-terminal-Maintenance-free?ref=searchDetail

              1 Reply Last reply
              1
              • gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by
                #7

                You can always make a small mod to ups and bring out the 12V from the internal battery and leave ups off, the internal circuit will keep the battery charged while not consuming power for dc-ac converter (if of course you can use the voltage a little higher than 12v).
                I have a spare ups ready to be modified for this purpose

                1 Reply Last reply
                0
                • Nca78N Offline
                  Nca78N Offline
                  Nca78
                  Hardware Contributor
                  wrote on last edited by
                  #8

                  For those looking at a backup for pi only, I found this on AliExpress with (claimed) 2500mAh battery so it should get 4-5 hours on a pi 3. I buy one and will give a feedback, I have regular and long power cuts here and this should ensure continuity for at least logging all MySensors events.

                  https://www.aliexpress.com/item/Geekworm-RPi-UPS-HAT-Board-for-Raspberry-Pi-3-Model-B-Pi-2B-B/32766227090.html

                  If someone knows about a safe DIY circuit for li-ion or even better li-FePO4 (much safer) that I could use for smaller things like a GSM node or wifi gateway, please share !

                  1 Reply Last reply
                  1
                  • gohanG Offline
                    gohanG Offline
                    gohan
                    Mod
                    wrote on last edited by
                    #9

                    There is also this cheap solution https://www.aliexpress.com/item/6W-5V-UPS-mobile-power-Diy-Board-Charger-Step-up-DC-DC-Converter-Module-for-3/32790658678.html

                    Nca78N 1 Reply Last reply
                    1
                    • gohanG gohan

                      There is also this cheap solution https://www.aliexpress.com/item/6W-5V-UPS-mobile-power-Diy-Board-Charger-Step-up-DC-DC-Converter-Module-for-3/32790658678.html

                      Nca78N Offline
                      Nca78N Offline
                      Nca78
                      Hardware Contributor
                      wrote on last edited by
                      #10

                      @gohan said in UPS:

                      There is also this cheap solution https://www.aliexpress.com/item/6W-5V-UPS-mobile-power-Diy-Board-Charger-Step-up-DC-DC-Converter-Module-for-3/32790658678.html

                      Thank you that can be useful for small nodes, I will buy one to test.
                      Not for Pi unfortunately as it's not powerful enough.

                      1 Reply Last reply
                      0
                      • gohanG Offline
                        gohanG Offline
                        gohan
                        Mod
                        wrote on last edited by
                        #11

                        my rpi3 usually uses 0.3A @5v with peaks of 0.6, I think it will be within 6W without problems

                        Nca78N 1 Reply Last reply
                        0
                        • gohanG gohan

                          my rpi3 usually uses 0.3A @5v with peaks of 0.6, I think it will be within 6W without problems

                          Nca78N Offline
                          Nca78N Offline
                          Nca78
                          Hardware Contributor
                          wrote on last edited by
                          #12

                          @gohan said in UPS:

                          my rpi3 usually uses 0.3A @5v with peaks of 0.6, I think it will be within 6W without problems

                          Wow that's surprisingly low, I guess it's not loaded too much, not using peripherals and video/hdmi output ?

                          1 Reply Last reply
                          0
                          • gohanG Offline
                            gohanG Offline
                            gohan
                            Mod
                            wrote on last edited by
                            #13

                            actually it is just sitting there headless with a NRF24 connected to it. I checked consumption with relays and with 5 relays on the consumption goes from 0.3 to 0.6A. I have 8 relays but I guess there will not be many of them on at the same time for a prolonged time.

                            1 Reply Last reply
                            1
                            • ben999B ben999

                              Hi guys
                              I am using MySensors together with OpenHAB to protect my home and also for access control
                              To make more sense I decided that all security related sensors shall be powered via battery
                              To make even more sense I run my gateway and the box from an UPS. But...

                              That UPS uses 220V AC to keep its 12V DC battery in shape. That's fine.
                              But when it goes off the grid it converts 12V DC to 220V AC back to 12V DC for box (which powers Raspberry via USB)

                              Would it make sense to have a pack of LiIon batteries that supply directly the box via some DC-DC regulator? And have the LiIon cells charged/balanced via these boards found on eBay?

                              I imagine there would be a cut-off voltage unit that would protect the cells.

                              Your comments on this matter would be welcome.

                              As i am not able to design any electronics, best would be to use board found on eBay or similar...

                              Thanks a lot for reading and even more thanks for your input

                              See ya

                              alexsh1A Offline
                              alexsh1A Offline
                              alexsh1
                              wrote on last edited by
                              #14

                              @ben999

                              I'm using on of these

                              http://www.pimodulescart.com/shop/

                              I have LiFePO4 4000mAh battery pack - this is enough to weather the longest power outage

                              Nca78N 1 Reply Last reply
                              1
                              • alexsh1A alexsh1

                                @ben999

                                I'm using on of these

                                http://www.pimodulescart.com/shop/

                                I have LiFePO4 4000mAh battery pack - this is enough to weather the longest power outage

                                Nca78N Offline
                                Nca78N Offline
                                Nca78
                                Hardware Contributor
                                wrote on last edited by
                                #15

                                @alexsh1 thank you for the link.
                                I'll give a try to the AliExpress version first for financial reasons, but I'll check yours if the cheap one fails.

                                gohanG alexsh1A 2 Replies Last reply
                                0
                                • Nca78N Nca78

                                  @alexsh1 thank you for the link.
                                  I'll give a try to the AliExpress version first for financial reasons, but I'll check yours if the cheap one fails.

                                  gohanG Offline
                                  gohanG Offline
                                  gohan
                                  Mod
                                  wrote on last edited by
                                  #16

                                  @Nca78 keep in mind that the one I posted is missing battery protection, so you need to have put one (unless your batteries have internal protection)

                                  Nca78N 1 Reply Last reply
                                  0
                                  • Nca78N Nca78

                                    @alexsh1 thank you for the link.
                                    I'll give a try to the AliExpress version first for financial reasons, but I'll check yours if the cheap one fails.

                                    alexsh1A Offline
                                    alexsh1A Offline
                                    alexsh1
                                    wrote on last edited by
                                    #17

                                    @Nca78 you are not too rich to spend you money on cheap stuff, are you? :-)

                                    If you want a real UPS with many feathers programmable buttons and LEDs, it cannot be super cheap. Anyway, it's your call

                                    1 Reply Last reply
                                    0
                                    • gohanG gohan

                                      @Nca78 keep in mind that the one I posted is missing battery protection, so you need to have put one (unless your batteries have internal protection)

                                      Nca78N Offline
                                      Nca78N Offline
                                      Nca78
                                      Hardware Contributor
                                      wrote on last edited by
                                      #18

                                      @gohan said in UPS:

                                      @Nca78 keep in mind that the one I posted is missing battery protection, so you need to have put one (unless your batteries have internal protection)

                                      Yes on the circuit you linked I'll put a 18650 with protection, I will test it on a wifi gateway.
                                      For RPI I'll use the "hat" with battery that I linked in message above, only 17€ with battery.

                                      1 Reply Last reply
                                      0
                                      • ben999B Offline
                                        ben999B Offline
                                        ben999
                                        wrote on last edited by ben999
                                        #19

                                        Guys

                                        I am planning to use a 4S li-ion 18650 battery.

                                        Please have a look at my Fritzing sketch :)
                                        0_1498133897687_IMG_5714[1].JPG

                                        Battery pack will be monitored by this item :
                                        http://www.ebay.com/itm/4S-6A-Li-ion-Lithium-Batterie-3-7v-18650-Charger-Battery-Protection-Board/382109076738?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649

                                        When off-grid ISDN box and RPi will be powered with that battery via this board :
                                        http://www.ebay.com/itm/Automatic-Buck-Boost-Step-Up-Down-DC-DC-Power-Supply-Converter-Replace-XL6009/142371180585?ssPageName=STRK%3AMEBIDX%3AIT&var=441392018812&_trksid=p2057872.m2749.l2649

                                        When on-grid, this charger will charge the battery pack and power ISDN box/Rpi :
                                        http://www.ebay.com/itm/EU-Plug-4S-16-8V-2A-AC-DC-Charger-Adapter-for-18650-Lithium-Li-ion-Battery-Cell-/262728544983?epid=507598255&hash=item3d2bd772d7:g:m6oAAOSwcLxYJaSF

                                        Is this the correct way of building my UPS ?
                                        Can i draw current from the charger to power box and RPi while it is charging ?

                                        Thanks again for your input/advice.

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

                                          isn't it better to buy ready made solution ? e.g. http://www.powerwalker.com/index.php?page=select&lang=en&cat=dc

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


                                          18

                                          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