MICROPROCESSORS A (17.383) Fall 2010 Lecture...
Transcript of MICROPROCESSORS A (17.383) Fall 2010 Lecture...
![Page 1: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/1.jpg)
1
MICROPROCESSORS A (17.383)
Fall 2010
Lecture Outline
Class # 06
October 19, 2010
Dohn Bowden
![Page 2: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/2.jpg)
2
Today’s Lecture
• Syllabus review
• Microcontroller Hardware and/or Interface
• Programming/Software
• Lab
• Homework
• Start Lab #3 - Seven Segment LEDs
![Page 3: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/3.jpg)
3
![Page 4: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/4.jpg)
4
Administrative
• Admin for tonight …
– Syllabus Highlights
• Lab report for Lab # 2 is due TONIGHT
– Pass back Exam #1
![Page 5: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/5.jpg)
5
Syllabus Review
23Analog to Digital Conversion 10/19/106
DemoFinal Exam/Course Project Brief and Demonstration 12/14/1014
5ProjectCourse Project 12/07/1013
Examination 211/30/1012
4ProjectMixed C & Assembly Programming/Course Project11/23/1011
5Timers and Pulse Width Modulation (PWM)11/16/1010
34 con’tComparators11/09/109
4LCD Interface and Assembly Language11/02/108
1Intro, Course & Lab Overview, Microcontroller Basics09/07/101
1 con’tPIC16F684 Overview and General Input/Output 09/14/102
2Switches 09/21/103
12 con’tSeven Segment LEDs 09/28/104
Examination 110/05/105
No Class – Monday Schedule10/12/10X
3 con’tAnalog to Digital Conversion con’t10/26/107
Lab Report DueLabTopicsDateWeek
![Page 6: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/6.jpg)
6
Pass back Exam #1 …
![Page 7: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/7.jpg)
7
![Page 8: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/8.jpg)
8
Analog To Digital Conversion Overview
![Page 9: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/9.jpg)
9
PIC16F684 Hardware
• Thus far we have been discussing the digital input/output features of the PIC16F684
• We will now turn our attention to the analog features
– Analog to Digital Conversion (ADC or A/D conversion)
– Comparators (to be discussed during a future lecture)
![Page 10: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/10.jpg)
10
Analog Signals
• Real world signals are analog
– For example … sensors
• We need to be able to take these signals and convert them to digital in order to be able to process them using the microcontroller
• The PIC16F684 is capable of performing the required conversion with it’s built in analog to digital converter
![Page 11: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/11.jpg)
11
Fundamentals
• Before we get into the specifics of the PIC16F684 A/D converter lets focus on the fundamentals of A/D conversions
• What is an analog signal?
– An analog signal is continuous in amplitude & time within certain limits, i.e., it changes smoothly without interruptions
– An example …
– a sinusoidal signal
![Page 12: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/12.jpg)
12
Fundamentals
• What is a digital signal?
– A digital signal is discrete in amplitude and time …
• i.e., it can only take certain specific values within certain limits at specific time intervals
• When numbers are assigned to these steps (usually binary numbers) the result is a digital signal
• An example … a square wave is a 1-Bit digital signal with its high level being a binary ‘1’ and its low level being a binary ‘0’
![Page 13: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/13.jpg)
13
Analog to Digital Converter
• What is an Analog-to-Digital converter?
– An Analog-to-Digital converter (ADC) is an electronic circuit that changes or converts a continuous analog signal into a digital signal without altering its critical content
![Page 14: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/14.jpg)
14
Analog to Digital Converter
• How does an Analog-to-Digital converter work?
– In the simplest terms … an Analog-to-Digital converter …
• Samples an analog waveform at uniform time intervals …
and …
• Assigns a digital value to each sample, which is called Quantization
![Page 15: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/15.jpg)
15
The ADC Process
• Therefore, an Analog-to-Digital Converter carries out two processes …
– Sampling
and …
– Quantization
![Page 16: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/16.jpg)
16
Sampling
• Sampling is …
– The reduction of a continuous signal to a discrete signal
– Specifically … Sampling is the process of analyzing the continuous analog signal with measurements taken at discrete and standard intervals
• An example … the conversion of a sound wave (a continuous-time signal) to a sequence of samples (a discrete-time signal)
![Page 17: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/17.jpg)
17
Hold
• In conjunction with sampling … the device needs to be able to “hold” the signal for a finite amount of time … why? …
– During the “hold” time … the ADC will perform its function of converting the signal from analog to digital
![Page 18: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/18.jpg)
18
Hold
• The “hold” is performed via a storage capacitor
• Up to the time the “hold” is commanded … the capacitor is tracking/sampling the signal
![Page 19: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/19.jpg)
19
The Conceptual Sample and Hold Amplifier schematic
![Page 20: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/20.jpg)
20
Practical basic Sample and Hold Amplifier schematics
VIN VOUT
![Page 21: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/21.jpg)
21
Input signal and SHA output signal
![Page 22: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/22.jpg)
22
Input signal and SHA output signal
![Page 23: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/23.jpg)
23
Quantization
• Quantization is …
– The procedure of constraining something from a continuous set of values (such as the real numbers) to a discrete set (such as the integers)
![Page 24: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/24.jpg)
24
Quantization
• The ADC represents an analog signal as a digital string of 1's and 0's with finite resolution
• The ADC outputs a finite number of digital values …
– equal to 2N
(where N is the number of bits of the ADC)
![Page 25: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/25.jpg)
25
Amplitude Quantization
• Amplitude Quantization:
– The maximum amplitude range of an analog signal must be divided into a fixed number of small, equal intervals
– Each interval is then associated with a fixed binary number
• The A/D Converter performs such a function
– Factors that must be specific for an A/D Converter:
• The maximum range of analog input voltage
• The output resolution (determined by the number of output bits)
![Page 26: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/26.jpg)
26
Resolution
• Resolution … Is a measure of the smallest change in analog input that can be discriminated by an A/D Converter
– The more binary digits of output that are available …
– The more resolution that is possible, and …
– The more precision we can encode the analog signal
• The resolution of an ‘N’ bit A/D converter with a voltage range of “0 – X” volts is …
X - 02N
![Page 27: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/27.jpg)
27
Example
• For a 4 bit converter
• Zero to fifteen volts input range
• We have
X - 0 = 15 = 15 = 0.9375 per volt2N 24 16
![Page 28: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/28.jpg)
28
Amplitude Quantization
![Page 29: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/29.jpg)
29
Types of ADCs
• ADCs can be grouped into many different categories …
• Architecture type
• Speed
• Resolution
• Power consumption
… to mention just a few
![Page 30: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/30.jpg)
30
ADC ARCHITECTURES
• There are quite a few ADC architectures in the market today
• The most popular types are
– Flash
– Pipelined
– Successive-approximation-register (SAR)
– Sigma-delta (Σ-Δ)
![Page 31: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/31.jpg)
31
The PIC16F684 Analog-to-Digital Converter
• Contains a Successive-approximation-register (SAR) type Analog to Digital converters
• 10-bit resolution
• 8 channels
![Page 32: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/32.jpg)
32
Successive-Approximation-Register or SAR ADC
• A successive-approximation-register or SAR ADC …
– Is more complex than some of the other ADC architectures
• But there are advantages to the complexity
– The SAR ADC works by using a single comparator to compare the input analog voltage to an internal reference voltage for each bit in the conversion
• Therefore … the input signal needs to be compared ten times for an 10-bit resolution converter
![Page 33: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/33.jpg)
33
Successive-Approximation-Register (con’t)
• As each comparison takes place …
• a binary value of the approximation is stored in a register
• As comparisons and approximations continues …
– The register shifts to the next most significant bit until the word is complete
• This architecture is not the fastest … but …
– It can provide an accurate approximation of the analog signal
![Page 34: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/34.jpg)
34
Successive Approximation ADC Algorithm
(32 + 8 + 4 + 1)?
![Page 35: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/35.jpg)
35
ADC Output
• LEDs (Digital) representation of Analog voltage …
MSB LSB9 8 7 6 5 4 3 2 1 0
2 D 5
(###h)*(Vmax/2N) = voltage 2D5h = 72510
(2D5h)*(5/210) = 3.54 volts
![Page 36: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/36.jpg)
36
ADC Output – Minus bits 0 and 1
• LEDs (Digital) representation of Analog voltage …
MSB LSB9 8 7 6 5 4 3 2 1 0
2 D 5 4 or 7
(###h)*(Vmax/2N) = voltage 2D4h = 72410 2D7h = 72710
(2D5h)*(5/210) = 3.54 volts
(2D4h)*(5/210) = 3.53 volts (2D7h)*(5/210) = 3.55 volts
![Page 37: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/37.jpg)
37
ADC Output – another method
• LEDs (Digital) representation of Analog voltage …
MSB LSB9 8 7 6 5 4 3 2 1 0
2 D 5
(0bxxx)*(Vmax/2N) = voltage (20)*1 = 1 (25)*0 = 0(21)*0 = 0 (26)*1 = 64
(72510)*(5/210) = 3.54 volts (22)*1 = 4 (27)*1 = 128(23)*0 = 0 (28)*0 = 0(24)*1 = 16 (29)*1 = 512
725
![Page 38: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/38.jpg)
38
Next Lecture
• We will go through the commands to setup and utilize the A/D module
• The next Lab will utilize this function
![Page 39: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/39.jpg)
39
![Page 40: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/40.jpg)
40
Programming
• Commands/instructions that we will encounter tonight
• C commands - No new commands tonight
• PIC16F684 control - No new commands tonight
![Page 41: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/41.jpg)
41
![Page 42: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/42.jpg)
42
Lab
• No new material to discuss
• Start Lab #3
• Breadboards will be handed out … THEY NEED TO BE RETURNED!!
• 7-Segment LEDs … NEED TO BE RETURNED!!
• Hard to find components … NEED TO BE RETURNED!!
![Page 43: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/43.jpg)
43
![Page 44: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/44.jpg)
44
Next Class Topics
• Configure the PIC16F684 ADC (read the data sheets)
• Finish Lab #3
![Page 45: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/45.jpg)
45
![Page 46: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/46.jpg)
46
Homework
1. Work on Lab #3
2. Lab #3 Report … due November 09, 2010
3. Read the sections on the PIC16F684 ADC module in both the …
PICmicro Mid-Range MCU Family Reference Manual
PIC16F684 Data Sheet
![Page 47: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/47.jpg)
47
![Page 48: MICROPROCESSORS A (17.383) Fall 2010 Lecture Outlinefaculty.uml.edu/dbowden/ClassPages/2010_Fall_CFT/17... · Lecture Outline Class # 06 October 19, 2010 Dohn Bowden. 2 Today’s](https://reader034.fdocuments.in/reader034/viewer/2022042312/5edb6e94ad6a402d6665a651/html5/thumbnails/48.jpg)
48
References
1. PIC16F684 Data Sheet 41202F