I'm using an ACS712-5A hall effect current sensor that output a voltage roughly between 1.5V to 3.5V. I'm am measuring a main AC power line at 50Hz. I'm using and ESP32 which has a built-in ADC with a reference voltage of 3.3V. Hence, the signal will be alternating from 1.5V to 3.5V which will then be processed by the MCU accordingly. I understand that I can simply use a voltage divider to step down the voltage but that will lose some precision. I have two solutions which I'm not sure which is better.
Solution 1: Using a zener diode with a Zener voltage of 3.3V to clip the output voltage. I won't be operating the current sensor at full capacity all the time so it shouldn't be a big problem. Will this work? Do I have to add a resistor in series with the voltage output or anything else?