Contents
What is the step size for an 12-bit ADC with a VREF of 5V?
So the resolution is 5V/1,024, or 4.88mV; a 12-bit ADC has a 1.22mV resolution for this same reference. ADCs come in various speeds, use different interfaces, and provide differing degrees of accuracy. The most common types of ADCs are flash, successive approximation, and sigma-delta.
How is ADC voltage measured?
ADC has a resolution of one part in 4,096, where 212 = 4,096. Thus, a 12-bit ADC with a maximum input of 10 VDC can resolve the measurement into 10 VDC/4096 = 0.00244 VDC = 2.44 mV. Similarly, for the same 0 to 10 VDC range, a 16-bit ADC resolution is 10/216 = 10/65,536 = 0.153 mV.
How does voltage reference affect ADC performance Part 1?
This equa- tion demonstrates that the ADC output code is directly proportional to the analog input voltage and inversely proportional to the voltage reference. Equation 1 also shows that the output code depends on the number of bits (the converter resolution).
How do you convert ADC to volts?
Analog to Digital Conversion The ADC reports a ratiometric value. This means that the ADC assumes 5V is 1023 and anything less than 5V will be a ratio between 5V and 1023. If your system is 3.3V, you simply change 5V out with 3.3V in the equation.
What is the internal oscillator of the dspic33e?
The dsPIC33E counts with an internal oscillator of 7.37MHz that can go as high as 70MHz. using an internal PLL. To use this oscillator you don’t need to add any extra hardware.
What kind of power supply does a dspic33e have?
These connections are basically connecting your power supply to the different Vdd (logic/digital supply) and AVdd (analogue supply) pins as well as the GND of the power source. Your power source could be 5V or 3.3V depending on your choice of MCU, normally for dsPIC33E’s 3.3V is the norm.
How many analog input pins are there in an ADC?
2:Depending on a particular device pinout, the ADC can have up to 49 analog input pins, designated AN0 through AN48, and four op amp outputs, designated OA1-OA3 and OA5. In addition, there are two analog input pins for external voltage reference connections (VREF+, VREF-).
Are there any code examples for the dsPIC33?
Code examples: we will look at some simple code that you can implement to perform some basic functions. Caution: All recommendations and code examples have been tested with the dsPIC33EP128GP502. If you are implementing a different device, please check its datasheet and product information as there might be some minor differences.