Eagle ADC Example
From Manuals
| Line 3: | Line 3: | ||
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: | 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: | ||
| - | [ | + | [[Image:Eagle_ADC.png|center|]] |
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. | 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. | ||
[[Image:Eagle_ADC1.gif|center|]] | [[Image:Eagle_ADC1.gif|center|]] | ||
Revision as of 15:35, 17 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.


