7 ms·
Solar Powered Raspberry Pi Camera
- nanomonkey 7y ago100W solar panel seems like overkill. I'm curious what the minimal size panel one would need for 24 hour usage. Assuming 5 hours of usable sun, it would seem like a 20 W panel would be sufficient.
- prashnts 7y ago~30-40 W would be my guess, given both Camera, and WiFi are active. (PiZero-W is rated 1.2A max)
- magicalhippo 7y agoFWIW, idle draw on my Pi4 4GB is 0.6A with one HDMI display connected and one wireless keyboard USB transceiver.
- winter_blue 7y agoIt might be easier for the reader, if we all used watts (W) when referring to power usage. Amperes (A) are useless without knowing the voltage (V). In the case of the Pi, since it runs on 5 V USB power, it was easy to calculate the wattage. But for devices of unknown voltage, amperes tell you nothing about power consumption. (For reference: a Pi at 1.2 A is using 6 W, and a Pi at 0.6 A is using 3 W.)
- magicalhippo 7y agoGood point. This was indeed at 5V.
- hutzlibu 7y agoBatterie advertisement sometimes uses that to mislead..
- newnewpdro 7y agoIt's not like overkill in the solar panel department is harmful, especially if you're getting cheap chinesium stuff off ebay. Nothing helps functioning in low-light situations, like overcast and cloudy days, better than excess panel area. I have a minimally-sized panel I use for powering a laptop and it's rather annoying to have it underpowered in the slightest deviation from ideal circumstances. That same panel for charging smaller devices over USB like phones and tablets is an absolute dream thanks to the overkill, even overcast and cloudy days it never quits charging.
- Scoundreller 7y agoWhat circuit do you use to power the laptop?
- newnewpdro 7y agoIt's an Allpowers 80W portable panel, which includes power circuits for two USB ports and an 18VDC output. My laptop accepts the 18VDC input directly. It works fine when the sun is high and sky is clear, as long as I'm not doing anything particularly CPU/GPU heavy.
- sigstoat 7y agoyou don't get a cookie for installing less panel. you just get headaches on low-sun days. and your battery won't last as long, as it has to discharge deeper and more often.
- hutzlibu 7y ago"$8 Raspberry Pi that supports the camera module. $29 Raspberry Pi Camera module. $18 any 12V battery capable of delivering 1.5W x 24h = 36Wh, such as this 7Ah Pb battery (80Wh). $8 dummy security camera. $132 100Wp solar panel. $10 12V charge controller. $15 cabling and connectors. Total: $220" Since the solarpanel is more than half of the budget, I would think, you can actually buy a cookie for ordering a cheaper one. I think it depends where you live and if the setup should also run in the winter.
- guerby 7y ago100 Wp is $60-$80 if you look around
- konstruktors 7y ago100Wp is probably a bit of an overkill but it does help during the winter season when there are multiple days with almost no sun. Also, there is plenty of shading from the nearby trees so I wanted to be on the safe side. It would be nice to log the power consumption and the battery voltage but I didn't do it for this project.
- winter_blue 7y agoThe solar panel at $132, accounted for 60% of the total cost (of $220). For a 100W panel, $132 is actually a good price, since it comes out to $1.32 per watt. Regardless, as nanomonkey mentioned, a lower-panel panel (perhaps a 50W one) would likely have sufficed. But even a 50W panel, at $1.32 per watt, would have cost $66. I'm hoping for the day where we can print solar panels as cheaply as we print paper.
- philipkglass 7y agoPanels are ~30 cents per watt, wholesale. But that's for the larger panels generating 250+ watts that are commonly used for solar farms and distributed generation. 50 and 100 watt panels are manufactured in much smaller quantities and will cost more.
- Scoundreller 7y agoAnd this was a thin RV panel. Easier to mount on a pole than the “I care about $/watt, not weight” panels.
- nevi-me 7y agoReading this has reminded me of something I wanted to explore in the past. Most of my applications/requirements for a Pi include GSM, but I've found GSM modules to be very expensive, often being more expensive than the Pi itself. The author mentions a mobile USB modem, and it's just dawned on me that older 3G/HSDPA dongles are often very cheap. Does anyone have experience using them, especially what power implications they bring? They do bring a bit of bulkiness on the Pi, and are easy to steal, but then if one can access the modem, the whole Pi might be at risk too.
- option_greek 7y agoGSM isn't that costly: https://www.aliexpress.com/item/32827342779.html https://www.aliexpress.com/item/32827342779.html
- nevi-me 7y agoThanks for the link. I haven't explored AliExpress as we have a cap on how many items we can buy before we're deemed to be "importers" for customs purposes. I'll take the plunge and apply to be an "importer", so I can start buying from there.
- Jenda_ 7y agoSIM800L costs $2. It supports GSM (AT commands - dialing, SMSs etc.) and GPRS (both PPP and a direct TCP connection to a hostname and port). Regarding USB dongles, I've been running Huawei E3131 with RPi. I needed to put +5V directly onto the pin header, but maybe now with the USB-C RPi4 the power should be stable out-of-the-box. I have heard rumors that the modem freezes after a while, but I've never ran it for longer than a few days. I'd recommend either investigating whether you can hard-reset the modem with software (cycling the USB power) or even putting a watchdog that will cut power to the entire RPi. Regarding power consumption, SIM800L is fine in idle, a few mA. However, USB dongles AFAIK do not support power save and they will eat ~100 mA all the time, which might be a significant portion of your power budget.
- nevi-me 7y ago
- anfractuosity 7y agoNice, wouldn't mind trying something like that myself. I'm not sure if we get enough sun though ;) I put a PiZeroW in our garden as a wildlife camera in an IP68 case with a waterproof USB connector for power, but alas sometimes it possibly overheats or becomes unresponsive and requires switching it off/on again. (It hit around 90C once, I have since added a little heat sink, but not sure how much that helps in a closed case). I also found I had to slightly overvolt the PiZero in the config to get the camera to function correctly. I've been trying to see if there's any interesting serial output when it becomes unresponsive by adding an ESP32 to it. But I haven't quite got the hang of programming that yet.
- Scoundreller 7y agoImmerse it in mineral oil? (Not the camera of course!) Or some kind of external watchdog timer circuit that resets the power if it doesn’t get any input for 5 minutes?
- anfractuosity 7y agoI hadn't thought of using mineral oil before. I did actually try the hardware watchdog on the pi for a little bit, I might have to have another look at that again.
- dznodes 7y agoThis is a great start but $220 seems expensive for this type of project. Isn't there a less expensive setup possible?
- blackflame7000 7y agoA lot of the cost comes from the solar panel. I wonder if it might be possible to use a smaller panel with a battery storage device.
- Scoundreller 7y agoAnd they seemed to use a more expensive thin and flexible panel. It does make mounting easier and wind load less of an issue.
- ryanmarsh 7y agoThat’s an expensive way to build a crappy IP cam
- penagwin 7y agoI'd love a link to a commercial solar powered, weatherproofed, cellular IP Cam with an embedded computer that costs less then 200$ ;)
- hutzlibu 7y agoAnd where you know(almost for sure), it has no backdoors ...
- sigstoat 7y agothe camera portion of this is comparable in price to the cheapest IP camera you can get out of china, and probably works better. even with the solar, it's cheaper than a nice IP camera from Axis.
- cr0sh 7y agoGiven what is shown, minus the solar panel part, you can create such an IP camera using a RasPi Zero W, one of the small 5 MP camera modules for the Pi, and a copy of MotionEyeOS - and do it all for under $50.00 USD. I have such a camera monitoring a part of my house. That price figure is also using Amazon prices - I'm certain you could do it even cheaper through other sources. Another option (which I posted in another comment to this) is this neat little module that I've been thinking of playing with sometime: https://www.aliexpress.com/item/32964004777.html https://www.aliexpress.com/item/32964004777.html Even via Amazon, you can get a pair of these for around $30.00 USD. Add some cheap enclosures, and a bit of codework (there's a few projects and github repos, but nothing polished) - and those would be some cheap, but nice, IP cameras. No idea how well these (or even my RasPi system - my camera is indoors looking outside thru a window) would fair in the elements over a long period.
- mtw 7y agoI see a house, why not use the Pi's Wifi instead of a modem?
- Scoundreller 7y agoSays it’s their countryside house, so may not have wifi at home. User is somewhere in EU, and data plans can be cheaper than fixed-line connections if you use under 100gb/month. Sometimes faster too.
- konstruktors 7y agoIt does use the built-in WiFi to connect to a WiFi network created by the mobile modem I placed at the neighbours house which has a permanent power supply. I considered using a mobile USB modem attached directly to the Pi but that requires extra effort keeping it connected with something like a cron task that pings 8.8.8.8 and restarts the connection if there is no response.
- mtw 7y agook, that makes sense. I thought it connects to a 3G/LTE network for internet connection. There are a few Raspberry HAT that offers this -- although that would be extremely costly for a live video feed
- amelius 7y agoI don't understand the RPi camera. It is lower quality than a webcam of the same price, and it has an awkward connector, so you can't really use it more than a few inches away from the RPi. Why not use a simple USB camera instead?
- epmaybe 7y agoThe csi interface doesn't take up as many CPU cycles, so if frame rate and performance is important, or even power consumption, it's better.
- Fnoord 7y agoI guess one purpose of a mobile camera you can implement like that could be perimeter pen testing / red teaming. What did the author use their camera for? Does the Raspberry Pi Camera have an IR? How is the quality? Why didn't the author bother to hide the Pi and the camera better in the case? The pricing is dishonest. It first says "$8 Raspberry Pi that supports the camera module." and then later on it mentions Raspberry Pi 3. AFAIK that does not cost $8, and furthermore its missing on the other necessary components such as a microSD card. I'm using Xiaomi Dafang Hacks [1] right now, as I found that a cheap solution. Approx 25 EUR for the Dafang camera. Its a MIPS machine. [1] https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks
- cr0sh 7y agoThere are many different kinds of cameras for the RasPi - some have IR illumination and/or filters removed, others don't. Some allow interchangeable lens, others are "fixed". Quality can vary depending on the camera. I have a RasPi Zero W camera at my home (monitoring my front door and patio) that runs MotionEyeOS: https://github.com/ccrisan/motioneyeos https://github.com/ccrisan/motioneyeos The camera is a tiny thing but 5 MP and color; quality has been very good in my opinion. Better than anything I could have bought at that price point (and certainly less intrusive - so many IP cameras require "cloud services" or something like that to work). Total cost for everything I used was well under $50.00 USD. A cheaper option, which I am considering playing around with - but not as easy to set up - is this nice little module based around the ESP32: https://www.aliexpress.com/item/32964004777.html https://www.aliexpress.com/item/32964004777.html There are a few IP camera projects and github repos out there, but nothing anywhere near as polished as MotionEyeOS, yet.
- kingosticks 7y agoI don't see any reason you couldn't use a Pi Zero but you would need the wireless flavour for what's described. I'd guess that's slightly more than $9.
- algaeontoast 7y agoLithium ion is so cheap these days I'm stunned this project resorted to using inefficient and out-dated lead acid batteries.
- pi-rat 7y agoEven if you can manage to find li-ion cheaper, you would need to build a pack of 6+ 18650 cells for comparative capacity. A single Pb is much simpler. Bam, $18, done, a single unit, 80Wh ready to go, super simple to charge too. It's not like the size or weight matters to him, and it seems his panel is big enough to avoid deep cycling it too often.
- konstruktors 7y agoExactly. And I haven't found cheap charge controllers that support the voltage range of Li-ion packs (like 12.6V for a 3S pack or 16.8V for a 4S pack).
- algaeontoast 7y agoThere are actually quite a few well-developed IC's specifically intended for this application. They act both as buck converters for the output device, BMS for the lithium cell / cells, and a charge controller for the cells. Andreas Spies has a great video on comparing some modern IC's for this -> https://www.youtube.com/watch?v=KaiQDS9jObY https://www.youtube.com/watch?v=KaiQDS9jObY
- ldoughty 7y agoI would absolutely love a kit to do solar + battery for a pi.. this has been one of my dream projects but I know too little about electricity to figure out all the components I need to do solar power, store in a battery, and power a device like a Pi.
- gravelc 7y agoJust bought exactly that last week. https://uk.pi-supply.com/products/pijuice-solar https://uk.pi-supply.com/products/pijuice-solar
- abdullahkhalids 7y agoYou can start from here https://www.adafruit.com/product/2465 https://www.adafruit.com/product/2465
- wcchandler 7y agoWow. This just answered a big question I’ve been having. I’m starting a farm this year on my parents property. I’d like to remotely monitor it in the most scalable way. With resiliency being key. This is going to do great!
- megaremote 7y agoWow surprised at the 100W solar panel. Is that overkill? Still, very cool project.
- terminalhealth 7y agoFwiw, afaik, cameras are relatively poor measures preventing burglary. By far the most important factor is reinforced windows and doors.