[Answered] Understanding ADC attenuation
Posted: Thu Jan 26, 2017 5:44 pm
Studying the Analog to Digital conversion drivers, I find an API called "adc1_config_channel_atten" which takes as a parameter one of the following:
Are we actually saying here that by using higher attenuations, we can apply higher input voltages? I had always assumed that applying more than 3.3V as input to a pin would "fry" the device. Are special precautions needed here? For example, if one is working with a 10V potential input, if one "mis-wired" on their breadboard ... do we damage something? If I make a programming error and specify no attenuation but apply 10V on the ADC input pin, will that damage something?
All thoughts on this area of ADC very welcome.
- ADC_ATTEN_0db - 1/1
- ADC_ATTEN_2_5db - 1/1.34
- ADC_ATTEN_6db - 1/2
- ADC_ATTEN_11db - 1/3.6
- ADC_ATTEN_2_5db - 1/1.34 - 0-4.4V
- ADC_ATTEN_6db - 1/2 - 0-6.6V
- ADC_ATTEN_11db - 1/3.6 - 0-11.8V
Are we actually saying here that by using higher attenuations, we can apply higher input voltages? I had always assumed that applying more than 3.3V as input to a pin would "fry" the device. Are special precautions needed here? For example, if one is working with a 10V potential input, if one "mis-wired" on their breadboard ... do we damage something? If I make a programming error and specify no attenuation but apply 10V on the ADC input pin, will that damage something?
All thoughts on this area of ADC very welcome.