SEARCH
TOOLBOX
LANGUAGES
modified on 17 June 2010 at 15:34 ••• 39,780 views

Eagle ADC Example

From Manuals

Revision as of 15:34, 17 June 2010 by Support (Talk | contribs)
Jump to: navigation, search

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: [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.