USER REDACTED
Banned
Standard voltage divider (10K and 20k+100k pot) in order to monitor voltage with MCU.
It is designed to work with 3.3V MCU and to monitir voltage from 0 to 9.9V (10K and 20K) up to 42.9V.
The problem is proper protection of the MCU ADC pin and supplying stable voltage in the same time.
For example, monitoring 12V with setting pot to 0 ohm (non-proper trim position) would provide 4V at ADC pin.
One obvious solution is to use 3.3V zener before input pin, however, current is very low at these configuration, thus using zener diode in this case, voltage drops from 4V to some 1.6V instead to 3.3V, which makes reading useless.
What would be proper way to protect MCU pin and in the same time get correct voltage from voltage divider in this case?
It is designed to work with 3.3V MCU and to monitir voltage from 0 to 9.9V (10K and 20K) up to 42.9V.
The problem is proper protection of the MCU ADC pin and supplying stable voltage in the same time.
For example, monitoring 12V with setting pot to 0 ohm (non-proper trim position) would provide 4V at ADC pin.
One obvious solution is to use 3.3V zener before input pin, however, current is very low at these configuration, thus using zener diode in this case, voltage drops from 4V to some 1.6V instead to 3.3V, which makes reading useless.
What would be proper way to protect MCU pin and in the same time get correct voltage from voltage divider in this case?