Hey all,
I needed to read a 5V signal with a 3.3V MCU. I used an inverting op-amp with a VCC bias to map 0 to 5V to 3.3V to 0, respectively. The circuit works great (picture attached). Someone asked me why not just use a voltage divider, and I didn't have a good answer to that. A voltage divider with a zener voltage clamp would protect the input and accomplish the same thing. In this application, are there advantages to using the op-amp circuit that i'm not seeing?