4

This question already has an answer here:

I have started hosting a website on my raspberry pi, but because of the power outages, and mostly because I'm itching for a DIY project I would like to build a UPS for my pi and my router(12v-1,5A).

I have done some research and I found this, but I have no idea if this will work and I can't risk anything because pi's are really rare and expensive around here in Turkey (I know, it sux).

Has anyone built an UPS for a Pi? Do you have any blueprints? What should I consider?

Thanks

marked as duplicate by Bex, lenik, RPiAwesomeness, Ghanima, goldilocks Oct 29 '14 at 17:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Wow, this seems fun. I would guess that running the Pi from a battery that you are constantly charging would solve the problem, but maybe not for the router. Anyway, doing this will put your equipment at risk. Think and test carefully before you plug anything in. – Bex Aug 17 '14 at 12:47
  • Possible copy of raspberrypi.stackexchange.com/questions/1360/… by the way. – Bex Aug 17 '14 at 12:51
  • 1
    @Bex i have read raspberrypi.stackexchange.com/questions/1360/… but it doesn't cover the modem – ilgazer Aug 17 '14 at 12:57
  • That project seems fine to me. Just note that it's quite inefficient to use a 7805 to generate the 5v for the Pi. As it will burn away the other 7v and turn it into heat. If the Pi is using 500mA, that will mean 3.5W of energy loss. You also need a big heatsink for the voltage regulator. Better would be to go with a switching power supply. Something like a phone-charger for your car. Also note that the battery voltage is between around 10.5 and 13.4 volt. I don't think your router will mind, but it is a risk. – Gerben Aug 17 '14 at 14:10
  • Hosting anything on the RPi is a silly idea, but if you really decided to give it a go, there are plenty of hosting companies around the globe, that would gladly accept your RPi, give it an uninterrupted power supply, 100Mbps network connection and a nice refrigerated room to cool it down. – lenik Aug 17 '14 at 16:32
1

If it so rare then do not risk making your own sub standard UPS.

Go and find a cheap UPS (like a used on from eBay or something) - It doesn't need to be new since the Pi and router will only use about 5-15 watts. If you find one without a USB port then just plug your devices into the UPS.

Even the smallest UPS will be able to power your router and Pi for hours if not days and its built with quality assurance and other protection inside.

Not the answer you're looking for? Browse other questions tagged or ask your own question.