Hello!
I am trying to distinguish between four different voltages on an input:
0 V
4 V
8 V
12 V
There is no need for precise measurement.
Eventually this information needs to be fed to a Microcontroller.
The easy solution would be to use an ADC, but I had issues with ESD where the ADC got damaged.
Obviously, I will need to fix that and add more protection circuitry, but I was also wondering if there is a way not using an ADC at all and just rely on passive components?
I can think of how to achieve this using two Schmitt triggers, but maybe there is another solution someone can point me towards?
Thanks!
I am trying to distinguish between four different voltages on an input:
0 V
4 V
8 V
12 V
There is no need for precise measurement.
Eventually this information needs to be fed to a Microcontroller.
The easy solution would be to use an ADC, but I had issues with ESD where the ADC got damaged.
Obviously, I will need to fix that and add more protection circuitry, but I was also wondering if there is a way not using an ADC at all and just rely on passive components?
I can think of how to achieve this using two Schmitt triggers, but maybe there is another solution someone can point me towards?
Thanks!