I am designing a circuit to scale an input voltage to the range of an analog to digital converter pin on a microcontroller, and also provide electrical protection for the pin.
I put together the following circuit which consists of a resistor voltage divider, a Zener diode, and a rail to rail op amp (single ended, powered by the microcontroller's digital supply voltage: 3.3V).
Will this circuit function as intended to both divide the voltage and provide over-voltage protection? I expect an input voltage range of 0V-6V but want to be prepared for voltages outside this range.
The idea was to divide the voltage in half before hitting the op-amp input, and to include a Zener diode for additional protection against both high voltage and negative voltage in a single component. I then realized that the voltage in this circuit might not be divided, but instead be shunted through the Zener immediately, leading to clipping of the input voltage rather than voltage division.
Which behavior will I get in this scenario, clipping or voltage division, and why? If I get clipping, what modifications would you recommend to get my intended behavior?