{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

aLec22_ADC - Introduction to Embedded Microcomputer Systems...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction to Embedded Microcomputer Systems Lecture 22.1 Jonathan W. Valvano Recap Output compare interrupts Metrowerks Codewarrior Overview Analog to Digital Convertor Transducer: mechanical, electrical Using output compare interrupts to establish sampling Range(volts) = Precision(alternatives) • Resolution(volts) Time (s) 0 4 8 12 16 20 24 28 32 0 1 2 3 4 5 6 7 8 9 10 Continuous analog signal Discrete digital signal Figure 11.1. An analog signal is represented in the digital domain as discrete samples. 10-bit Analog to digital Converter Analog input 0 V in +5 Digital output 0 ATD0DR0 1023 Digital Output is about 1024*V in /5 or Digital Output is about 1023*V in /5 Analog signal (volts) 0 32 64 96 128 160 192 224 256 0 1 2 3 4 5 zoomed in ADC Digital Outputs Analog Input DAC Digital Input Analog Output Analog signal (volts) 0 128 256 384 512 640 768 896 1024 0 1 2 3 4 5 zoomed in ADC Digital Outputs Analog Input DAC Digital Input Analog Output Figure 11.2. Input/output functions of a DAC and an ADC. 8-bit Analog to digital Converter Analog input 0 V in +5 Digital output 0 ATD0DR0 255 Digital Output is about 256*V in /5
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon