Skip to main content
replaced http://electronics.stackexchange.com/ with https://electronics.stackexchange.com/
Source Link

Most microcontroller ADCs have a pin for the positive ADC reference voltage, and some will also have one for the negative reference. Those that don't will use ground as the lower reference. Then the ADC's reading is \$\dfrac{V_{IN} - V_{REF-}}{V_{REF+} - V_{REF-}} \times Maximum\ reading\$. If Maximum Reading is 1023, then \$V_{IN} = V_{REF-}\$ will give you 0, and \$V_{IN} = V_{REF+}\$ will result in a 1023 reading.

As for the unexpected values you see, check this answerthis answer.

Most microcontroller ADCs have a pin for the positive ADC reference voltage, and some will also have one for the negative reference. Those that don't will use ground as the lower reference. Then the ADC's reading is \$\dfrac{V_{IN} - V_{REF-}}{V_{REF+} - V_{REF-}} \times Maximum\ reading\$. If Maximum Reading is 1023, then \$V_{IN} = V_{REF-}\$ will give you 0, and \$V_{IN} = V_{REF+}\$ will result in a 1023 reading.

As for the unexpected values you see, check this answer.

Most microcontroller ADCs have a pin for the positive ADC reference voltage, and some will also have one for the negative reference. Those that don't will use ground as the lower reference. Then the ADC's reading is \$\dfrac{V_{IN} - V_{REF-}}{V_{REF+} - V_{REF-}} \times Maximum\ reading\$. If Maximum Reading is 1023, then \$V_{IN} = V_{REF-}\$ will give you 0, and \$V_{IN} = V_{REF+}\$ will result in a 1023 reading.

As for the unexpected values you see, check this answer.

TeX \dfrac instead of \frac for better readability
Source Link
stevenvh
  • 146.6k
  • 21
  • 460
  • 669

Most microcontroller ADCs have a pin for the positive ADC reference voltage, and some will also have one for the negative reference. Those that don't will use ground as the lower reference. Then the ADC's reading is \$\frac{V_{IN} - V_{REF-}}{V_{REF+} - V_{REF-}} \times Maximum\ reading\$\$\dfrac{V_{IN} - V_{REF-}}{V_{REF+} - V_{REF-}} \times Maximum\ reading\$. If Maximum Reading is 1023, then \$V_{IN} = V_{REF-}\$ will give you 0, and \$V_{IN} = V_{REF+}\$ will result in a 1023 reading.

As for the unexpected values you see, check this answer.

Most microcontroller ADCs have a pin for the positive ADC reference voltage, and some will also have one for the negative reference. Those that don't will use ground as the lower reference. Then the ADC's reading is \$\frac{V_{IN} - V_{REF-}}{V_{REF+} - V_{REF-}} \times Maximum\ reading\$. If Maximum Reading is 1023, then \$V_{IN} = V_{REF-}\$ will give you 0, and \$V_{IN} = V_{REF+}\$ will result in a 1023 reading.

As for the unexpected values you see, check this answer.

Most microcontroller ADCs have a pin for the positive ADC reference voltage, and some will also have one for the negative reference. Those that don't will use ground as the lower reference. Then the ADC's reading is \$\dfrac{V_{IN} - V_{REF-}}{V_{REF+} - V_{REF-}} \times Maximum\ reading\$. If Maximum Reading is 1023, then \$V_{IN} = V_{REF-}\$ will give you 0, and \$V_{IN} = V_{REF+}\$ will result in a 1023 reading.

As for the unexpected values you see, check this answer.

added 292 characters in body
Source Link
stevenvh
  • 146.6k
  • 21
  • 460
  • 669

Most microcontroller ADCs have a pin for the positive ADC reference voltage, and some will also have one for the negative reference. Those that don't will use ground as the lower reference. Then the ADC's reading is \$\frac{V_{IN} - V_{REF-}}{V_{REF+} - V_{REF-}} \times Maximum\ reading\$. If Maximum Reading is 1023, then \$V_{IN} = V_{REF-}\$ will give you 0, and \$V_{IN} = V_{REF+}\$ will result in a 1023 reading.

As for the unexpected values you see, check this answer.

Most microcontroller ADCs have a pin for the positive ADC reference voltage, and some will also have one for the negative reference. Those that don't will use ground as the lower reference. Then the ADC's reading is \$\frac{V_{IN} - V_{REF-}}{V_{REF+} - V_{REF-}} \times Maximum\ reading\$

Most microcontroller ADCs have a pin for the positive ADC reference voltage, and some will also have one for the negative reference. Those that don't will use ground as the lower reference. Then the ADC's reading is \$\frac{V_{IN} - V_{REF-}}{V_{REF+} - V_{REF-}} \times Maximum\ reading\$. If Maximum Reading is 1023, then \$V_{IN} = V_{REF-}\$ will give you 0, and \$V_{IN} = V_{REF+}\$ will result in a 1023 reading.

As for the unexpected values you see, check this answer.

Source Link
stevenvh
  • 146.6k
  • 21
  • 460
  • 669
Loading