科目名稱:微處理機(Microprocessors)

教師:呂有勝

教學目標:

  介紹微處理機及其週邊電路,培養設計微控制器應用系統之能力。

教學活動及評量方式:

  教學活動:課堂講授與作業

  課程大綱:1. Concept of Digital System
       2. Microcomputer Architecture
       3. MCS-51 Hardware Structure
        ˙I/O Ports ˙Memories (Interfacing with ROMs and RAMs)
        Experiment: ˙Driving LEDs
               ˙Seven-Segment Display
               ˙Pulse Counting from a Switch (software debouncing)
               ˙I/O Extension Using 8255 PPI - Control of Stepping Motor
               ˙Interface to a Keypad (Using the Polling Method)
       4. Instructions and Addressing Mode
       5. Interval Timer and Counter
        Experiment: ˙Counting Pulses from a Switch
               ˙Playing Music with a Timer (Using the Polling Method)
       6. Serial Port Operation
        Experiment: ˙Loop-Back Test
               ˙Communication between 8051 and 8051 (or PC)
       7. Interrupt
        Experiment: ˙Interface to a Keypad (Using Interrupt)
               ˙Playing Music with a Timer (Using Interrupt)
               ˙Serial Port Operation (with Interrupt)
               ˙Interface to an A/D Converter
       8. The Basics of 8051 C Programming
        Experiment: ˙Control LEDs to Blink
               ˙Counting with Directions Controlled by a Push Buttom
               ˙Read Values from Keypad and Seven-Segment Display
       9. The 8051 C Programming Examples
        Experiment: ˙Programming Interval Timer and Counter
               ˙Programming Serial Port Operation
               ˙Interrupt Service Routine (ISR)
               ˙LCD Control
               ˙Control of a Stepping Motor
       10.Peripheral Buses
        ▼ I2C Interface ▼ SPI Interface
        Experiment: ˙Accessing I2C Serial EEPROM
               ˙Reading Digital Temperature Sensor


  評量方式:1. Midterm Report (20%)
       2. Final Exam.(20%)
       3. Homework (50%)
       4. Attendance (10%)


教科書及參考書:

  教科書:J. W. Stewart and K. X. Miao, The 8051 Microcontroller 2/E, 全華代理

  參考書:1. Mackenzie, The 8051 Microcontroller 3/E, 高立圖書代理
      2. T. W. Schultz, C and The 8051, Prentice Hall (ISBN 0-13-754839-7)
      3. M. A. Mazidi and J. G. Mazidi, The 8051 Microcontroller and Embedded Systems,Prentice Hall (全華代理)
      4. M. J. Pont, Embedded C, Addison-Wesley (ISBN 0-201-79523-X)
      5. 劉銘中等, MCS-51單晶片原理與I/O應用, 儒林出版 1998
      6. 鄧錦城, 8051 C 語言寶典, 益眾資訊有限公司 1995
      7. 陳益良等, MCS_51入門與實習, 高立圖書
      8. J. W. Stewart and K. X. Miao, The 8051 Microcontroller 2/E,全華代理


Office:EM 317

Laboratory:EM 330