Each of the ina219 modules speak i2c to the rpi and the sda scl pins daisy chained with continuous jumpers back to the respective i2c pins on the rpi p3 and p5 to form an i2c bus.
Ina219 raspberry pi solar panel.
Lm324 op amp non inverting amplifier to measure current from solar panel on arduino.
This uses a 12v battery which is well within the safe limit.
Unlike an analog sensor that provides a proportional value the digital ina219 returns actual numbers for the voltage current and power in volts amps and watts.
I 2 c makes wiring the ina219 adapter to the raspberry pi very easy.
With the appropriate software built into the raspberry pi to protect itself and some medium large solar panels your raspberry pi project can live on indefinitely.
The vcc pin is connected to a 3 3 v pin on the pi.
It uses i2c communication however there are two known problems with these modules.
Building a solar powered pi is a surprisingly easy task.
Powering your pi using solar power will allow you to build green pi projects powered by the sun.
The more popular raspberry pi 4 s supply is recommended to be at 5v 2 2 5a current.
This is a peak 4w solar panel and the raspberry pi generally uses about 1 4w without any add ons so it should be possible to run indefinitely with direct sunlight.
Balencing the charging current between solar panel and electric battery charger.
Solar panel high current into solar charger controller.
Connecting the solar panel to the pi zero.
Most solar panels in the market today are 9v.
The ina219 provides digital reporting using the i 2 c communication protocol.
Another issue is related to voltage measurement.
This guide will show you how to power your raspberry pi using solar panels.
Ina219 for solar panel power calculation.
Measuring current of a solar panel confused.
Two have solder junctions to set the i2c address resulting in the three being accessible on the bus at 0x40 0x41 and 0x44.
These lack filtering and exposes the ic to transients and noise which often breaks it.
Touching the exposed metal on this is definitely ok.
They re cheap and you can buy them anywhere.
Ina219 is a popular ic to use with arduino and raspberry pi to measure current voltage and power.
And with the right solar panel and battery your project can also run continuously forever.