I'm planning a setup with an rpi3b+ and the pijuice hat (battery) and pijuice solar module. It is key to my project that I can access the following data digitally i.e. in the pi:
- current power consumption of the pi
- current power output from the solar panel
- battery charge in %
The pijuice hat connects directly to the pi's 40-pin gpio header and is already supplying me with the battery charge in percent. The panel is plugged into the power management board (hat).
What components do I need to measure the consumption of the pi and the output from the panel?