This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
5v UPS
#7
You got me thinking about this. So, after a quick rummage in my junk box I came up with a little single-16850 power pack for a cell phone or whatever. I think I got it at a raffle or something. Simple device - just a micro-usb for input power and a standard USB for output. It probably has the same or similar circuitry inside as the guy used in the YouTube video that PaddyB posted. I think you can find these things at a corner store, but very cheap on Amazon (eg. https://www.amazon.com/Anker-PowerCore-L...B005X1Y7I2)

Sooo, how about this:
- Power that I was using for the PI goes into the charge port on the power pack
- Power out to the PI from the power pack to the PI
- Some sort of sensor (it would need to be through a voltage divider) from main power input to a GPIO to sense loss of main power. This lead going down would tell the PI to initiate a shutdown script. You could also wire that same GPIO to a pushbutton or switch for a shutdown. In my case I use a 12v-5v buck converter, so I'd sense the 12V, but it doesn't really matter.

I guess the only thing I would be concerned about would be current capacity of my little power pack. What do you guys think?
Reply


Messages In This Thread
5v UPS - by PaddyB - 2017-11-12, 08:46 PM
RE: 5v UPS - by shipahoy - 2017-11-13, 08:55 AM
RE: 5v UPS - by PaddyB - 2017-11-13, 10:44 AM
RE: 5v UPS - by shark24 - 2017-11-13, 02:06 PM
RE: 5v UPS - by abarrow - 2017-11-14, 03:31 PM
RE: 5v UPS - by shipahoy - 2017-11-13, 08:35 PM
RE: 5v UPS - by shark24 - 2017-11-13, 09:16 PM
RE: 5v UPS - by abarrow - 2017-11-13, 10:17 PM
RE: 5v UPS - by shark24 - 2017-11-13, 11:03 PM
RE: 5v UPS - by JD1 - 2017-11-13, 11:16 PM
RE: 5v UPS - by shark24 - 2017-11-13, 11:33 PM
RE: 5v UPS - by abarrow - 2017-11-14, 12:31 AM
RE: 5v UPS - by shark24 - 2017-11-14, 03:40 PM
5v UPS - by tocan - 2017-11-14, 05:37 PM
RE: 5v UPS - by shark24 - 2017-11-15, 09:40 AM
RE: 5v UPS - by tocan - 2017-11-16, 02:19 AM
RE: 5v UPS - by abarrow - 2017-11-18, 03:09 PM
RE: 5v UPS - by shark24 - 2017-11-18, 08:19 PM
RE: 5v UPS - by Sailoog - 2017-11-19, 01:30 PM
RE: 5v UPS - by shipahoy - 2017-11-19, 03:43 PM
RE: 5v UPS - by JD1 - 2017-11-19, 04:36 PM
RE: 5v UPS - by shipahoy - 2017-11-19, 07:52 PM
RE: 5v UPS - by tocan - 2017-11-19, 11:13 PM
RE: 5v UPS - by shipahoy - 2017-11-20, 03:46 PM
RE: 5v UPS - by shark24 - 2017-11-20, 04:23 PM
RE: 5v UPS - by shipahoy - 2017-11-20, 04:39 PM
RE: 5v UPS - by tocan - 2017-11-20, 08:31 PM
RE: 5v UPS - by marko_st - 2018-01-28, 06:27 AM
RE: 5v UPS - by SkipperEarly - 2018-02-02, 05:45 AM
VNC on iPad. - by marko_st - 2018-02-02, 04:58 PM
RE: 5v UPS - by Sailoog - 2018-02-05, 09:21 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)