Trying to read battery voltage from ADS1115 to Raspberry Pi
Posted: Thu Apr 27, 2017 3:15 pm
Hello guys,
I have a solar powered Raspberry Pi setup and I am attempting to read the battery voltage from the battery to the Raspberry Pi. I am told that I should be able to accomplish this with an ADC. Unfortunately I have very little understanding of electronics and wiring so I am hoping to get a few pointers.
The main question I have is exactly where in my setup the ADC will fit. At the moment I have the following:
- 3.7V battery connected via 2-pin JST-PH to the USB / DC charger.
- USB / DC solar charger connected via 2-pin JST-PH to PowerBoost 500.
- PowerBoost 500 is powering the Pi via USB cable.
So I am unsure of exactly where the ADC should fit into this setup. Would the ADC need to be wired to the battery, the Pi, and the charger? Would the ADC be between the battery and the charger, and then grounded to the Pi? Or is there perhaps an output from either the solar charger or the PowerBoost that I could connect to the ADC to get the battery input?
I didn't find the right solution from the internet.
References:
- http://www.societyofrobots.com/robotfor ... ic=18556.0
- Mobile explainer video Examples.
I have a solar powered Raspberry Pi setup and I am attempting to read the battery voltage from the battery to the Raspberry Pi. I am told that I should be able to accomplish this with an ADC. Unfortunately I have very little understanding of electronics and wiring so I am hoping to get a few pointers.
The main question I have is exactly where in my setup the ADC will fit. At the moment I have the following:
- 3.7V battery connected via 2-pin JST-PH to the USB / DC charger.
- USB / DC solar charger connected via 2-pin JST-PH to PowerBoost 500.
- PowerBoost 500 is powering the Pi via USB cable.
So I am unsure of exactly where the ADC should fit into this setup. Would the ADC need to be wired to the battery, the Pi, and the charger? Would the ADC be between the battery and the charger, and then grounded to the Pi? Or is there perhaps an output from either the solar charger or the PowerBoost that I could connect to the ADC to get the battery input?
I didn't find the right solution from the internet.
References:
- http://www.societyofrobots.com/robotfor ... ic=18556.0
- Mobile explainer video Examples.