SEARCH
TOOLBOX
LANGUAGES
modified on 20 June 2010 at 01:02 ••• 13,374 views

Eagle ADC Example

From Manuals

Jump to: navigation, search

Analog to Digital Converter (ADC)

Compatibility Eagle 50, 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.