This kind of research is nice to see. Too bad your setup needs a less-powerful system (Arduino) and a more powerful system (RRD host) to operate the charging.
What about using the RasPi's GPIO pins instead of the Arduino? And why wouldn't an SD card be able to manage that many writes? What about a ram drive?
Evidence shows the solar panels are important: He doubled the number of solar panels in November after the initial panels weren't enough to power the RPi in the winter. http://pi.qcontinuum.com/failure2.html (The graph also shows the voltage dip below 10V in Nov, probably representing that failure, though it's hard to see the details in the "last year" graph.)
Maybe they could be pointed towards the sun more efficiently, or been a more expensive & efficient model - but the story says why he chose his porch and cheap solar panels.
I implemented option 4 on a linux based router a couple years ago:
4) Write to a disposable USB stick. Assuming recovery from lost data is simpler and faster than a complete wipe/install/customize by using disposable sd cards. I my situation the CF root would last forever because of basically no writes, and when the USB flash drive melts down I'd lose some logs and /tmp and some /var/cache/ stuff, oh well no big deal compared to a complete reinstall and reconfigure.
Excellent project, but the shading on the solar panels from the railings is more than likely severely reducing the output of the panels at lower sun angles. Even shading a single cell on a series connected panel effectively reduces the output of ALL cells. Also having peak power tracking would increase panel utilization.
I really like the power monitoring using the Arduino though.
45W sounds like overkill for an RPi - I live in Scotland (55.95N) and I have a 50W panel charging a 110Ah battery in my garden shed. The battery is used to power a 1kW Invertek 250V inverter (150A fuses are impressive BTW) which I use to run a lawnmower, power tools, soldering station and lights (not all at once!).
The lawnmower is the biggest drain (900W) and is really pushing the envelope - but in the summer I can cut 55 sq. metres of lawn once a week without any charge problems. In the winter the grass doesn't grow :) but I can run the other tools just fine. I was very surprised at just how well this system worked, but then I did splash out on a high end 50W Kyocera panel when I designed this. My only alternative would have been to bury an SWA cable across common ground and somehow run it to my consumer unit in a 1st floor flat, so I was prepared to spend £300 (as it was then) on the panel. They're a lot cheaper now.
In total about £600 (this was 2 years ago); £250 for the panel, £120 for the battery, £150 for the inverter (Ebay, 2nd hand) and the rest on sundries like cable & connectors (also Ebay in most cases). I used http://www.midsummerenergy.co.uk/ for a lot of the bits.
Note you can now get a 135W panel for £190, which is some indication of the falling cost over the last 24 months - the 50W Kyocera panel is now £80!
Other bits were a Morningstar SunSaver solar regulator SS10 and a Nasa Clipper BM1 Battery Monitor (unnecessary extravagence - don't bother!). I also added a couple of 12V fluorescent lights powered from the SS10 so I didn't need the inverter running just for light.
It's a pretty simple set up, the hardest part is making up the high current battery cables - the clamps, fuse holder and connector to the inverter are pretty substantial to handle 100A.
I mounted the panel on the roof of the Apex shed with simple aluminium brackets. The wiring is pretty simple (more complicated by the battery monitor which has a 100A shunt resistor in the negative lead to monitor the load current).
If you need more power you have 2 options. You can add more batteries in parallel and increase the size of the cables to take the higher current, or you can go to a 24 volt system which means you can use the same cable. 24 volt components are maybe harder to find though. My system is really intended for short periods of peak power (say 30 minutes a week running the mower). It was harder to find cheap inverters to handle more than 1kW at the time too.
- Model A uses a way less (about 33%) electricity, because it does not have a lan controller. So it will be useless as a server, but for my application this is the choice.
- The RPi does work with 3.3 Volts, but then the USB does not work. Yet again, for me good enough.
- Undervolting (the core and ram) and downclocking do not make much sense. It does save nearly nothing and make the board absurd slow.
- The biggest powersink seems to be the GPU, but AFAIK it can't sleep.
- The most inefficient component are the voltage regulators. Replacing them with dc-dc converters was discussed, i have no experimental results. The easies way is to convert the input to 3.3V without replaying and board components.
- Displays use very much power. But they can be turned of if not needed.
It seems the solar panel can be significantly smaller, but not for a webserver.
I've been wanting to hack on a few projects that involve small amounts of electrical knowledge, but am not sure where to get the bare minimum information to avoid killing myself or others. What is the best way to get practical background knowledge about this type of electrical project?
26 comments
[ 2.6 ms ] story [ 20.2 ms ] threadWhat about using the RasPi's GPIO pins instead of the Arduino? And why wouldn't an SD card be able to manage that many writes? What about a ram drive?
http://pi.qcontinuum.com/cgi-bin/rrd/rrdgraph.volts
Maybe they could be pointed towards the sun more efficiently, or been a more expensive & efficient model - but the story says why he chose his porch and cheap solar panels.
Also, if you're worried about an application which does a lot of SD writes, you could:
(1) Try it, see if the SD card holds up. If it does, great. If it doesn't, well, SD cards are cheap, and you did make a backup, right?
(2) Write to a RAM disk
(3) Write to a network drive
It's literally the first hit in Google. He probably doesn't explain it because it's a fairly well-known tool.
4) Write to a disposable USB stick. Assuming recovery from lost data is simpler and faster than a complete wipe/install/customize by using disposable sd cards. I my situation the CF root would last forever because of basically no writes, and when the USB flash drive melts down I'd lose some logs and /tmp and some /var/cache/ stuff, oh well no big deal compared to a complete reinstall and reconfigure.
The lawnmower is the biggest drain (900W) and is really pushing the envelope - but in the summer I can cut 55 sq. metres of lawn once a week without any charge problems. In the winter the grass doesn't grow :) but I can run the other tools just fine. I was very surprised at just how well this system worked, but then I did splash out on a high end 50W Kyocera panel when I designed this. My only alternative would have been to bury an SWA cable across common ground and somehow run it to my consumer unit in a 1st floor flat, so I was prepared to spend £300 (as it was then) on the panel. They're a lot cheaper now.
Note you can now get a 135W panel for £190, which is some indication of the falling cost over the last 24 months - the 50W Kyocera panel is now £80!
Other bits were a Morningstar SunSaver solar regulator SS10 and a Nasa Clipper BM1 Battery Monitor (unnecessary extravagence - don't bother!). I also added a couple of 12V fluorescent lights powered from the SS10 so I didn't need the inverter running just for light.
It's a pretty simple set up, the hardest part is making up the high current battery cables - the clamps, fuse holder and connector to the inverter are pretty substantial to handle 100A.
I mounted the panel on the roof of the Apex shed with simple aluminium brackets. The wiring is pretty simple (more complicated by the battery monitor which has a 100A shunt resistor in the negative lead to monitor the load current).
I uploaded a pictorial wiring diagram at http://i.imgur.com/UX4Y29o.jpg?1 for you.
The concusion of my research:
- Model A uses a way less (about 33%) electricity, because it does not have a lan controller. So it will be useless as a server, but for my application this is the choice.
- The RPi does work with 3.3 Volts, but then the USB does not work. Yet again, for me good enough.
- Undervolting (the core and ram) and downclocking do not make much sense. It does save nearly nothing and make the board absurd slow.
- The biggest powersink seems to be the GPU, but AFAIK it can't sleep.
- The most inefficient component are the voltage regulators. Replacing them with dc-dc converters was discussed, i have no experimental results. The easies way is to convert the input to 3.3V without replaying and board components.
- Displays use very much power. But they can be turned of if not needed.
It seems the solar panel can be significantly smaller, but not for a webserver.
http://pi.qcontinuum.com/cgi-bin/rrd/rrdgraph.pi.main
http://pi.qcontinuum.com/rrd/pi-traffic-day.png
http://pi.qcontinuum.com/rrd/pi-traffic-week.png
> I decided set up the panels on the deck facing west.
There seems to be some disparity between his goals and the stability of the environment in which he's placed the equipment.