The Crowbits-CurrentPower Sensor can detect the magnitude of the current in the circuit. By detecting the magnitude of the current, you can learn about the power consumption of the circuit, the power of other meta-electronic devices and so on.
In the main loop of the circuit under test, a power resistor is connected in series. The upper end of the resistor is connected to the VIN+ of the module, and the lower end of the resistor is connected to the VIN- of the module. A differential input detection is made and sent to INA219BIDCNT for difference calculation. When the measured current flows through the circuit, since the power resistor is connected in the circuit, then the power at both ends of the resistor will produce a pressure drop. According to U = I * R, P = U * I = I * I * R, the current at present in the circuit can be calculated, the module then amplifies the current value and converts it into the corresponding data for output by IIC.
In a complete electrical circuit in the access into the power management module, the current value detected by the IC output.