A: Yep, no reason why not but you’d need a combination of battery large enough to run for extended periods and a charging mechanism fast enough to recharge the battery during daylight hours.
The best type of battery for this sort of job would need what’s called ‘deep discharge recovery’, which means if the battery is completely drained, it can be brought back to life with a simple charging.
Doing the sums, the Raspberry Pi needs around 5VDC at about 600-700mA of current on its own, depending on the application. If you’re talking about remote outdoor work, you’re not likely going to be processing 1080p H.264 video so it shouldn’t demanding that much power. If you want to ensure the Pi could run for up to 20 hours on a single charge in a worst-case weather scenario, you’d need a battery with 20hrs x 600mA capacity or 12,000mAh (12-amp-hour).
The best type of battery for this work is what’s called an SLA or Sealed-Lead-Acid battery – possibly a 12V/12Ah type – and you can get these for around $55 from electronics retailers.
Now if you want to charge the thing back up again, you’d need a solar panel/charger setup designed to handle SLA batteries to do the job. You’d want something that could deliver around 2A of charge current, which would basically go close to fully charging a 12Ah SLA battery in somewhere around six hours of daylight. A 12V/40W solar panel and associated charger should give you at least two-amps of current and set you back around $150 depending on where you buy. A solar charge controller for a 40W solar panel shouldn’t cost you more than $30.
Of course, you’d need a weather-proof chassis for the Pi but we’ll leave that one to you.
Please note, we’ve not tried this so we can guarantee it’ll work perfectly but this is where we’d start from if wanting to create an outdoor 24/7 Raspberry Pi setup.
Try these similar stories:
- Q&A: How do I charge my iPad in my car?
- Q&A: Can you power a mini PC from solar cells?
- Power your Raspberry Pi with just two AA batteries
- Q&A: Can I power a Raspberry Pi from a Lithium-ion battery?
- Raspberry Pi portable power from $2 USB emergency charger
- Verbatim launches new USB power packs
- $6 USB battery pack could power a mini PC for up to 11 hours
- How much power does my mini PC use?
- Q&A: Can I use any keyboard with a Raspberry Pi
- Power your mini PC or TV stick from two AA batteries