Microprocessor Week 2: CH2 Circuit and Operation
-
Upload
arkhom-jodtang -
Category
Engineering
-
view
155 -
download
3
Transcript of Microprocessor Week 2: CH2 Circuit and Operation
![Page 1: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/1.jpg)
Chapter 2: Circuit and System Operation
![Page 2: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/2.jpg)
MCS51 System Circuit
![Page 3: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/3.jpg)
• Pin configuration– Power– Ground– System Clock (18, 19 Crystal pin)
• Operation Sample Add A, R1• Machine Cycle is package of clock signal
– Reset– External Access (/EA)
• Port• Schematic• Machine Cycle
![Page 4: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/4.jpg)
Pin 40: Power SupplyHandout Chapter 2
![Page 5: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/5.jpg)
Pin 20: GroundHandout Chapter 2
![Page 6: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/6.jpg)
Pin 18, 19: CrystalHandout Chapter 2
![Page 7: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/7.jpg)
Pin 31: External AccessHandout Chapter 2
![Page 8: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/8.jpg)
Pin 9: ResetHandout Chapter 2
![Page 9: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/9.jpg)
Port
• 32 I/O Lines• Bidirectional Property• Bit-Addressable port Property• Pulled-up Resister pin (Port 1, 2 and 3)• Open collector pin
![Page 10: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/10.jpg)
Port 0
• Handout Chapter 2
![Page 11: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/11.jpg)
Port 1
• Handout Chapter 2
![Page 12: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/12.jpg)
Port 2
• Handout Chapter 2
![Page 13: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/13.jpg)
Port 3
• Handout Chapter 2
![Page 14: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/14.jpg)
Basic Output Device
• LED
https://en.wikipedia.org/wiki/Light-emitting_diode
![Page 15: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/15.jpg)
Basic Input Device
• Switch
http://www.digibay.in/158-momentary-tactile-dip-push-button-switch
![Page 16: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/16.jpg)
MCS51 System Circuit
![Page 17: Microprocessor Week 2: CH2 Circuit and Operation](https://reader033.fdocuments.us/reader033/viewer/2022051404/58eda3601a28ab15278b458b/html5/thumbnails/17.jpg)
Homework 1• Draw schematic of MCS51 System circuit with following specification.
– Reset Switch– Connect with 8 Display LEDs– Connect with 4 Push button switchesCheck list: Identify Component ID for every devices in the diagram (such as U1, SW1,
SW2, LED1, LED2) Identify all used Pin Number Identify all used Pin Name Specify Component's value Specify Voltage of Power Supply
Note: Submit Homework BEFORE the next class start.