New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Measure current and voltage coming from micro USB #758
Comments
There is no direct measurement of the power at the micro-USB (or J5) input. Note: the GetBatteryCurrent and GetIoCurrent outputs are based on estimates. There is no direct measurement. |
Thanks, Ton! Could one assume that if the battery is charging(current going into battery) that the IOcurrent is remaining current from PV panels and if the panels dont supply enough power the battery will deliver the rest ? I.e. the napkin math could be something like this: P_solar=P_batteryCharge + P_IO - P_batteryDischarge + (P_losses) Sorry if this seems messy or if Im completely off, just trying to understand how the PIJ works :) |
Battery cannot charge and discharge at the same time. P_solar=P_battery+P_IO+P_losses P_battery positive when charging, negative when discharging. |
Thanks again, that was what I was looking for 😄 |
Hi, Ton(or anyone else with experience with the PiJuice) I understand that the Get commands are just estimates and should not be trusted to much, but I ran a test were the PI4 was only supplied with power from the standard battery. I then plotted the voltage and current for both battery and IO. Shouldnt the power output from the battery be higher than whats going thorugh the IO pins? picture for reference: |
Hello,
I am working on a project with the Pijuice connected to a solar panel through the micro USB.
One of the features that I would like is the capability to measure the power output from the solar panels(the power coming into the micro USB port). Is this possible in some way with the Pijuice?
I am aware of the .GetIoCurrent and .GetBatteryCurrent python commands, but I dont completely understand how the circuitry work. For example if there is sun outside and the solar panel is delivering power to the Pijuice(whilst RPI is running), will the power from the micro USB go to the battery or will it be used by the PI directly? In other words does the battery charge and discharge at the same time?
Thanks for all input on this topic :)
The text was updated successfully, but these errors were encountered: