I want to measure the current of 12V lead acid battery for charger application. So mostly, I need bidirectional current sensing. The current measurement can be done using shunt resistor or using hall effect sensors. I see the shunt current sensors comes with I2C or SPI analog output. But the ACS712 can be directly hooked up to the analog pin of MCU.
Do I need to use any op amps here to maintain the current gain? Or just use ACS712 sensor hooked up directly to the battery terminals and sensor output terminals to the MCU?