Hi Roel -
Thanks for the tips. To wire up the ina219 I followed the excellent
tutorial you linked me to, and more or less did it exactly like the first
image on this post. (The image without the digital display. The "load" in
the diagram is my charge controller, which powers the pi via its USB port. )
I had some trouble figuring out how to transfer voltage and current data
from the python code that reads the ina219 to the shell script that calls
it. I ended up calling the function with the requested type of data as an
argument (i.e. voltage, current, etc.)
Probably not the most efficient, but it works. When I have time to figure
out how to log the voltage / current data, I should get a better sense of
how much the pi (and charge controller) is using.
On Mon, 17 Jun 2019 at 23:07, Roel Roscam Abbing <roel(a)roelroscamabbing.nl>
thanks for sharing that! I would be interested in having some more
details on your ina219 set up. Would you mind sharing some connection
diagarams and photos?
As you are still looking into data optimization I can recommend also
having a look at this implementation by Gauthier Roussilhe:
On 6/17/19 6:02 PM, Amos Blanton wrote:
> I thought I'd share my solar powered website as it stands, along with
> the offer of any help I can give should anyone run into problems I might
> be able to help with.
> * It uses an ina219 to measure the state of the battery (Thanks Roel!)
> * I'm experimenting with changing the background image depending on the
> weather. I'm intrigued by the idea of physically situated servers tied
> to their place in space.
> I have yet to tackle the data optimization or server customization and
> caching, and logging the power usage to look at trends / see if I can
> cope with a Danish winter (unlikely at this point). And I am proxying to
> my site on nearlyfreespeech.net
> pi is down. I'm rather attached to uptime at the moment as I am looking
> for new opportunities in the realm of playful learning and
> Thanks for to you all for making this list / club, and for your
> contributions to solar.lowtechmagazine.com
and associated documentation - which
> I found to be really inspiring.
> HBSC mailing list -- hbsc(a)we.lurk.org
> To unsubscribe send an email to hbsc-leave(a)we.lurk.org
HBSC mailing list -- hbsc(a)we.lurk.org
To unsubscribe send an email to hbsc-leave(a)we.lurk.org