A possible solution is to use a INA226 Current sensing I2C module.
They are pretty cheap and give high side current measurement.
Library for an INA226.
A possible solution is to use a INA226 Current sensing I2C module.
They are pretty cheap and give high side current measurement.
Library for an INA226.