1 Objective
The objective of this demo is to show how the integrated resistors in the operational amplifiers can be used to implement dynamic gain control. For simplicity in the demonstration, only the gain of 1 (Low Gain) and the gain of 2 (High Gain) are used. When the input signal is below 2V, the microcontroller uses the low-gain OPAMP configuration to maximize the signal resolution and match the discrete OP AMP. Above 2V, the microcontroller switches to the high-gain setting to increase the dynamic range available to the system.