Eagle ADC Example
From Manuals
| Line 1: | Line 1: | ||
| - | |||
=Analog to Digital Converter (ADC)= | =Analog to Digital Converter (ADC)= | ||
==Compatibility [http://www.micromint.com/index.php/SBC/eagle-50.html Eagle50], [http://www.micromint.com/index.php/SBC/eagle-50.html 50E], [http://www.micromint.com/index.php/SBC/eagle-100.html 100]== | ==Compatibility [http://www.micromint.com/index.php/SBC/eagle-50.html Eagle50], [http://www.micromint.com/index.php/SBC/eagle-50.html 50E], [http://www.micromint.com/index.php/SBC/eagle-100.html 100]== | ||
Revision as of 00:59, 20 June 2010
Analog to Digital Converter (ADC)
Compatibility Eagle50, 50E, 100
The TI LM3S microcontrollers used in the Eagle controller line support eight single ended or four differential 10-bit analog inputs with a sampling rate up to 500 kilo-samples/sec (kSPS). These signals are available in the following headers:
This example shows you how to read voltages from the 8 ADC channels. The screen output is shown below. Note that the voltages are shown in both integer and floating point formats. In integer format the 10-bit values go between 0 and 1023 (0x03FF) for the range 0.00V to 3.00V resulting in an accuracy of +/- 1.465 mV. Note that voltages over 3V should not be applied to the ADC inputs as they could damage the microcontroller. Op-amps or other alternatives should be used to implement scaling and isolation.


