Design a circuit
Assume:
• You have a sensor that outputs voltages between 5V – 12.5V range. You would like to measure the input from Arduino ADC.
• You have decided to convert the voltages to a range that suits Arduino ADC.
• Your output should stay within 0V – 5V and use the full range.
• Use the summing amplifier followed by an inverter.