Solar Powered Raspberry Pi Camera
kaspars.net
kaspars.net
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.
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.
I'll buy one and try it out. I see it only supports GPRS though, are there other cheap devices that support faster connections like EDGE/3+G? If one wants to send things like images from a camera, a faster connection would be more reliable.
For larger volumes, most providers will either allow you to pool a number of SIM cards' usage into a single account, especially if you restrict them to only connect to a private network. We have this at my workplace on most SIM cards in laptops.
There are also companies that supply SIMs to merchants and IoT folk on behalf of network providers. I'd also look into that. In most cases you end up with each SIM having its own data plan. I did some freelance work for one of these companies last year, if you have enough volume, you can negotiate pooling of data.
If I'm working on a hobby project that involves uploading data, and something gets into an unexpected state, it's easy to imagine it transferring tens of GB in a matter of hours. In that event, I'd rather have it restricted to dialup speed (which is still enough to transfer 20GB/month) than get hit with hundreds of dollars in bandwidth charges overnight.
A lot of companies offer this service these days. For example(random googling first result): https://hologram.io/pricing/
is offering M2M sims for $1 per SIM per month + 40 cents per mb.
These guys can beat their prices. and are YC alum.
They are YC alum.
The USB modems are nice because you get full control over the modem with the AT commands. I've used the Huawei E173 modem which can be easily unlocked and works great out of the box.
I'm hoping for the day where we can print solar panels as cheaply as we print paper.
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.
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.
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.
It would be nice to log the power consumption and the battery voltage but I didn't do it for this project.
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.
(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?
I did actually try the hardware watchdog on the pi for a little bit, I might have to have another look at that again.
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.
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
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
There are a few IP camera projects and github repos out there, but nothing anywhere near as polished as MotionEyeOS, yet.
User is somewhere in EU, and data plans can be cheaper than fixed-line connections if you use under 100gb/month.
Sometimes faster too.
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.
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.
Andreas Spies has a great video on comparing some modern IC's for this -> https://www.youtube.com/watch?v=KaiQDS9jObY
It does make mounting easier and wind load less of an issue.
Still, very cool project.
;)
even with the solar, it's cheaper than a nice IP camera from Axis.
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
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.