Analog to digital converters
ADC Channel
ADC Resolution
ADC Interrupt
ADC Introduction
What is Analog to digital converters(ADC)?
Analog to digital converters (ADC ) used to convert analog signal (continuously variable signal) to discrete(digital) signal.
Example: your using one temperature sensor(linear) it is giving analog output 0V to 10V this voltage is directly proportional to temperature(0º to 100º C). If your using the microcontroller to process the sensor data you have to use Analog to digital converters(ADC) because using micro-controller you can't process the analog data (analog voltage or current) because all microcontrollers are digital.
Most of the micro-controller are having inbuilt Analog to digital converters (ADC) example you take Atmega2560 it is having 8/16-channel, 10-bit ADC.
What is 10bit ADC?or n bit ADC?
10 bits resolution means it convert analog data to 10bit digital data.
Example your measuring temperature 0 to 100ºC sensor is giving output from 0V to 10V
Your resolution is 10bit = 2^10 samples = 1024 samples.
Your smallest measuring voltage is = 10volt / 1024 = 0.0097 volts.
Your smallest measuring temperature = 100ºC / 1024 = 0.09 ºC.
What are the parameters we have to set in micro-controller to use Analog to digital converters ADC ?
ADC Reff voltage
ADC channel
ADC resolution
ADC Interrupt
Comments