Contents
What is ADC in PIC?
Analog to Digital Converter (ADC) is a device that converts an analog quantity (continuous voltage) to discrete digital values. This is very useful when we want to do some processing on physical quantities, which are normally analog in nature. Most of the PIC Microcontrollers have built in ADC Module.
What is ADC raw value?
According to the University of Chicago, after a quick google search, “Raw value: The digital number output by the ADC; the units in which raw values are measured are called ADU (analog-to-digital units) or DN (data numbers). “
How do you count ADC?
The counting ADC technique basically uses a sampling pulse to take a sample of the analog signal, set an R/S flip-flop, and simultaneously start a controlled ramp voltage. The ramp voltage is compared with the input, and when they are equal, a pulse is generated which resets the R/S flip-flop.
How big is an ADC in a PIC microcontroller?
ADC in PIC Microcontroller (PIC18F4550) The ADC in PIC18F4550 is a successive approximation ADC with a resolution of 10 bits. The resolution indicates how much the reference voltage can be divided. For a 10 bit resolution ADC, it is possible to divide up to 1024 (2^10) voltages.
Where is the ADC value stored in a PIC?
ADCON0bits.GO_DONE=1 starts the ADC conversion process. While (ADCON0bits.GO_DONE==1); waits until the ADC process is done. Then finally, once done, the value of the ADC process is stored in the ADRESL and ADRESH registers. The 2 registers added up gives the equivalent analog reading.
How much reference voltage can be divided in a 10 bit ADC?
The resolution indicates how much the reference voltage can be divided. For a 10 bit resolution ADC, it is possible to divide up to 1024 (2^10) voltages. So for a 5V reference voltage, the minimum voltage will be 5/1024 = 4.8mV. This means 4.8mV in the analog pin will be detected as 1 and 9.6mV will be 2 (10 in binary).
What is the resolution of an ADC in Pic 18f4550?
For example, an ADC with 10-bit resolution as one in PIC 18F4550 can have 2^10 (1024) intervals for the range of analog input signal. The ADC in PIC18F4550 is a successive approximation ADC with a resolution of 10 bits. The resolution indicates how much the reference voltage can be divided.