The maximum voltage that can be applied to the VIN+ and VIN- pins is ±26V, but it's recommended to keep it within ±20V for optimal performance and to prevent damage to the device.
The gain of the INA220 is programmable and can be calculated using the formula: Gain = 28.57 / (Rgain x Rsense), where Rgain is the gain resistor and Rsense is the sense resistor.
The Rgain resistor sets the gain of the INA220 and determines the full-scale output voltage range. A smaller Rgain value increases the gain and reduces the full-scale output voltage range, while a larger Rgain value decreases the gain and increases the full-scale output voltage range.
The Rsense resistor value depends on the maximum expected current and the desired accuracy. A smaller Rsense value increases the sensitivity but reduces the maximum current range, while a larger Rsense value decreases the sensitivity but increases the maximum current range.
The capacitor on the VCC pin is a decoupling capacitor that filters out noise and ripple on the power supply line, ensuring stable operation of the INA220.