University of Macau Department of Electromechanical Engineering CPTG301 Microprocessors Syllabus 2 nd Semester 2011/2012 Part A Course Outline

Similar documents
Computer Science. Embedded systems today. Microcontroller MCR

A Practical Approach to Embedded Systems Engineering Workforce Development

Computer Architecture CSC

Syllabus - ESET 369 Embedded Systems Software, Fall 2016

Course Specifications

Pre-AP Geometry Course Syllabus Page 1

SAM - Sensors, Actuators and Microcontrollers in Mobile Robots

Embedded System Design

GACE Computer Science Assessment Test at a Glance

Rover Races Grades: 3-5 Prep Time: ~45 Minutes Lesson Time: ~105 minutes

Designing a Computer to Play Nim: A Mini-Capstone Project in Digital Design I

IMPROVED MANUFACTURING PROGRAM ALIGNMENT W/ PBOS

LEGO MINDSTORMS Education EV3 Coding Activities

EEAS 101 BASIC WIRING AND CIRCUIT DESIGN. Electrical Principles and Practices Text 3 nd Edition, Glen Mazur & Peter Zurlis

Guidelines for Project I Delivery and Assessment Department of Industrial and Mechanical Engineering Lebanese American University

Microcontroller VU

FUZZY EXPERT. Dr. Kasim M. Al-Aubidy. Philadelphia University. Computer Eng. Dept February 2002 University of Damascus-Syria

State University of New York at Buffalo INTRODUCTION TO STATISTICS PSC 408 Fall 2015 M,W,F 1-1:50 NSC 210

Guidelines for Writing an Internship Report

Mathematics subject curriculum

Office Hours: Mon & Fri 10:00-12:00. Course Description

ENEE 302h: Digital Electronics, Fall 2005 Prof. Bruce Jacob

CS 100: Principles of Computing

AC : FACILITATING VERTICALLY INTEGRATED DESIGN TEAMS

PELLISSIPPI STATE TECHNICAL COMMUNITY COLLEGE MASTER SYLLABUS APPLIED MECHANICS MET 2025

Appendix L: Online Testing Highlights and Script

Class Meeting Time and Place: Section 3: MTWF10:00-10:50 TILT 221

ADMN-1311: MicroSoft Word I ( Online Fall 2017 )

CENTRAL MAINE COMMUNITY COLLEGE Introduction to Computer Applications BCA ; FALL 2011

Robot manipulations and development of spatial imagery

Required Materials: The Elements of Design, Third Edition; Poppy Evans & Mark A. Thomas; ISBN GB+ flash/jump drive

Infrared Paper Dryer Control Scheme

Computer Organization I (Tietokoneen toiminta)

ECE-492 SENIOR ADVANCED DESIGN PROJECT

On Human Computer Interaction, HCI. Dr. Saif al Zahir Electrical and Computer Engineering Department UBC

GENERAL CHEMISTRY I, CHEM 1100 SPRING 2014

AGS THE GREAT REVIEW GAME FOR PRE-ALGEBRA (CD) CORRELATED TO CALIFORNIA CONTENT STANDARDS

Syllabus Foundations of Finance Summer 2014 FINC-UB

SOFTWARE EVALUATION TOOL

Computer Science 141: Computing Hardware Course Information Fall 2012

EECS 571 PRINCIPLES OF REAL-TIME COMPUTING Fall 10. Instructor: Kang G. Shin, 4605 CSE, ;

Table of Contents. Course Delivery Method. Instructor Information. Phone: Office hours: Table of Contents. Course Description

Firms and Markets Saturdays Summer I 2014

CS 1103 Computer Science I Honors. Fall Instructor Muller. Syllabus

Cleveland State University Introduction to University Life Course Syllabus Fall ASC 101 Section:

HCI 440: Introduction to User-Centered Design Winter Instructor Ugochi Acholonu, Ph.D. College of Computing & Digital Media, DePaul University

Form no. (12) Course Specification

ADHD Classroom Accommodations for Specific Behaviour

English Language Arts Summative Assessment

Text: envisionmath by Scott Foresman Addison Wesley. Course Description

Topic 3: Roman Religion

PHO 1110 Basic Photography for Photographers. Instructor Information: Materials:

Planning a Webcast. Steps You Need to Master When

Examining the Structure of a Multidisciplinary Engineering Capstone Design Program

Spring 2015 IET4451 Systems Simulation Course Syllabus for Traditional, Hybrid, and Online Classes

Oregon Institute of Technology Computer Systems Engineering Technology Department Embedded Systems Engineering Technology Program Assessment

Control Tutorials for MATLAB and Simulink

CEFR Overall Illustrative English Proficiency Scales

CENTRAL MICHIGAN UNIVERSITY COLLEGE OF EDUCATION AND HUMAN SERVICES Department of Teacher Education and Professional Development

Foothill College Summer 2016

Physics 270: Experimental Physics

Session Six: Software Evaluation Rubric Collaborators: Susan Ferdon and Steve Poast

Spring 2015 Natural Science I: Quarks to Cosmos CORE-UA 209. SYLLABUS and COURSE INFORMATION.

Introduction. Chem 110: Chemical Principles 1 Sections 40-52

Phys4051: Methods of Experimental Physics I

CIS 121 INTRODUCTION TO COMPUTER INFORMATION SYSTEMS - SYLLABUS

City University of Hong Kong Course Syllabus. offered by Department of Architecture and Civil Engineering with effect from Semester A 2017/18

BA 130 Introduction to International Business

AC : HANDS ON PROGRAMMABLE LOGIC CONTROLLER (PLC) LABORATORY FOR AN INDUSTRIAL CONTROLS COURSE

What the National Curriculum requires in reading at Y5 and Y6

Strategic Management (MBA 800-AE) Fall 2010

Learning Microsoft Publisher , (Weixel et al)

South Carolina English Language Arts

ITSC 2321 Integrated Software Applications II COURSE SYLLABUS

LABORATORY : A PROJECT-BASED LEARNING EXAMPLE ON POWER ELECTRONICS

Welcome to ACT Brain Boot Camp

TEACHING AND EXAMINATION REGULATIONS (TER) (see Article 7.13 of the Higher Education and Research Act) MASTER S PROGRAMME EMBEDDED SYSTEMS

Syllabus ENGR 190 Introductory Calculus (QR)

Facing our Fears: Reading and Writing about Characters in Literary Text

CENTRAL MICHIGAN UNIVERSITY COLLEGE OF EDUCATION AND HUMAN SERVICES


CPMT 1303 Introduction to Computer Technology COURSE SYLLABUS

Using a PLC+Flowchart Programming to Engage STEM Interest

An Introduction to Simio for Beginners

Math 121 Fundamentals of Mathematics I

M55205-Mastering Microsoft Project 2016

MADERA SCIENCE FAIR 2013 Grades 4 th 6 th Project due date: Tuesday, April 9, 8:15 am Parent Night: Tuesday, April 16, 6:00 8:00 pm

MGMT 5303 Corporate and Business Strategy Spring 2016

How to Judge the Quality of an Objective Classroom Test

Demography and Population Geography with GISc GEH 320/GEP 620 (H81) / PHE 718 / EES80500 Syllabus

Grade 11 Language Arts (2 Semester Course) CURRICULUM. Course Description ENGLISH 11 (2 Semester Course) Duration: 2 Semesters Prerequisite: None

Course Syllabus MFG Modern Manufacturing Techniques I Spring 2017

SYLLABUS- ACCOUNTING 5250: Advanced Auditing (SPRING 2017)

KENTUCKY FRAMEWORK FOR TEACHING

CLASS EXPECTATIONS Respect yourself, the teacher & others 2. Put forth your best effort at all times Be prepared for class each day

Group A Lecture 1. Future suite of learning resources. How will these be created?

MinE 382 Mine Power Systems Fall Semester, 2014

E C C. American Heart Association. Basic Life Support Instructor Course. Updated Written Exams. February 2016

Class Numbers: & Personal Financial Management. Sections: RVCC & RVDC. Summer 2008 FIN Fully Online

Fourth Grade. Reporting Student Progress. Libertyville School District 70. Fourth Grade

Transcription:

University of Macau Department of Electromechanical Engineering CPTG301 Microprocessors Syllabus 2 nd Semester 2011/2012 Part A Course Outline Compulsory course in Electromechanical Engineering Course description: Students will learn the principle and how to program a microprocessor. ARCHITECTURE; REGISTERS - General purpose register, special purpose register; TIMING - Machine Cycle; INSTRUCTION - Format, Opcode, Operand, Addressing Method, Instruction Set; PROGRAMMING - Programming in Assembly Language; INTERRUPT - Interrupt Controller, Interrupt Subroutine; I/O - Timer/Counter Prerequisite: MECH450 Electronics & Instrumentation Textbook: M. A. Mazidi, J. Mazidi, R. McKinlay, The 8051 microcontroller and embedded systems, 2 nd Edition, Prentice Hall, 2006. References: I. Scott MacKenzie, Raphael C.-W. Phan, The 8051 microcontroller, 4 th Edition, Prentice Hall, 2007. Proteus - user manual Keil - user manual Specification sheet of various IC components Course objectives: 1. Introduce microprocessor system architecture (including memory and I/O), microprocessor programming model and data structures. [c, g] 2. Learn to estimate CPU execution time, memory access time, timing delays and interrupt priority. [a] 3. Work in a team to design and conduct experiments on arithmetic operations, external memory access, and LCD interfacing, through Proteus and Keil simulator [a, b, d, l] 4. Gain knowledge on assembly language programming to practical applications [g] 5. Understand 8051 applications to engineering such as counter and timer, stepper motor interfacing, ADC, DAC, sensor interfacing, interrupts [c] Topics covered: 1. Introduction Microprocessors; Binary-Decimal Conversion; Binary Arithmetic; Negative Binary; Signed Binary Numbers; 1 s Complement Form; 2 s Complement Form; Signed Binary Arithmetic; Binary-Hexadecimal Conversion. 2. Computer Structure Computer Components; Computer Architecture; Internal Organization of Computers; Buses; Code, Data, Program; Microprocessor & Microcontroller; Criteria for Choosing a Microcontroller; Overview of the 8051 Family; Basics of Memory Devices; MCS-51 Memory Organization; Special Function Registers (SFR), Program Status Word (PSW). 3. 8051 Assembly Language Programming Registers; Structure of Assembly Language; Assembling; Move, Jump, Loop, and Call Instructions. 4. Arithmetic & Logic Operations Compare, Addition, Subtraction, Multiplication, and Division Instructions; Overflow Flag and Rotating Bit; Logic Operations; RAM and Stack in the 8051; Push and Pop Operations. 5. I/O port Programming Ports; Important Pins; Power-On Reset; Sending and Receiving Data via Port 0; Address & Data Modes of Port 0; Accessing Ports 1 and 2; Special Role of Port 3.

6. Single-Bit Instructions & Programming SETB, CLR, CPL, JB, JNB, JBC Instructions; CY-Related Instructions. 7. 8051 Addressing Modes Immediate Mode; Direct Addressing Mode; Register Indirect Addressing Mode; Indexed Addressing Mode. 8. Binary Coded Decimal (BCD) Unpacked BCD; Packed BCD; Arithmetic Programming of BCD; Packed BCD- ASCII Conversion. 9. Interfacing to External Memory Memory Address Decoding; Address Decoders; Address Multiplexing; On- Chip & Off-Chip Code ROM; Data Memory Space; External ROM for Data; Connection to External Data RAM; Program and Data in an External ROM. 10. Counter/Timer Programming in Assembly Timer 0 & 1 Registers; TMOD Register; Using XTAL Clock; M0/M1/M2 Modes; Timer Programming; Counter Programming. 11. LED & LCD Interfacing Interfacing LED; Interfacing 7-Segment Display; LCD Operation; LCD Pin Descriptions; LCD Commands; LCD Address; Wait, Send Command, and Text Display Subroutines; Initialization of the LCD; Displaying of Character Sequence; Changing Position of Text; Displaying Numbers; LCD Character Generator RAM; Custom Character; Animation on LCD. 12. Stepper Motor Interfacing Stepper Motor and its Advantages and Disadvantages; Working Principle of Stepper Motor; Connection to the 8051; Full Step and Half Step and their Programming; Motor Speed; Holding Torque; Step Angle. Digital-to-Analog Converter (DAC). 13. Interrupt Programming in Assembly Polling vs. Interrupts; Advantages of Interrupts; Interrupt Service Routine (ISR); Steps in Executing an Interrupt; Interrupt Vector Table; Programming Timer Interrupts; External Interrupts; Level-Triggered & Edge-Triggered Interrupts; Setting Interrupt Priority; Interrupt inside an Interrupt; Triggering the Interrupt by Software. Class schedule and credits: Timetabled work in hours per week Lecture Tutorial Practice No of teaching weeks Total hours Total credits No / Duration of exam papers 2 0 2 14 56 3 1 / 3hrs Topic Outline: Week No. No. of hours Topics 1 2 Introduction Microprocessors; Binary-Decimal Conversion; Binary Arithmetic; Negative Binary; Signed Binary Numbers; 1 s Complement Form; 2 s Complement Form; Signed Binary Arithmetic; Binary-Hexadecimal Conversion. 1, 2 4 Computer Structure Computer Components; Computer Architecture; Internal Organization of Computers; Buses; Code, Data, Program; Microprocessor & Microcontroller; Criteria for Choosing a Microcontroller; Overview of the 8051 Family; Basics of Memory Devices; MCS-51 Memory Organization; Special Function Registers (SFR), Program Status Word (PSW). 2, 3, 4 8 8051 Assembly Language Programming Registers; Structure of Assembly Language; Assembling; Move, Jump, Loop, and Call Instructions. Laboratory Experiment Assembly Programming Part 1 4, 5, 6 8 Arithmetic & Logic Operations Compare, Addition, Subtraction, Multiplication, and Division Instructions; Overflow Flag and Rotating Bit; Logic Operations; RAM and Stack in the 8051; Push and Pop Operations. Laboratory Experiment Assembly Programming Part 2 6, 7 4 I/O port Programming Ports; Important Pins; Power-On Reset; Sending and Receiving Data via Port 0;

Address & Data Mode of Port 0; Accessing Ports 1 and 2; Special Role of Port 3. 7 2 Single-Bit Instructions & Programming SETB, CLR, CPL, JB, JNB, JBC Instructions; CY-Related Instructions. 8 2 8051 Addressing Modes Immediate Mode; Direct Addressing Mode; Register Indirect Addressing Mode; Indexed Addressing Mode. 8 2 Binary Coded Decimal (BCD) Unpacked BCD; Packed BCD; Arithmetic Programming of BCD; Packed BCD- ASCII Conversion. 9 4 Interfacing to External Memory Memory Address Decoding; Address Decoders; Address Multiplexing; On-Chip & Off-Chip Code ROM; Data Memory Space; External ROM for Data; Connection to External Data RAM; Program and Data in an External ROM. Laboratory Experiment External Data Memory 10 4 Counter/Timer Programming in Assembly Timer 0 & 1 Registers; TMOD Register; Using XTAL Clock; M0/M1/M2 Modes; Timer Programming; Counter Programming. 11, 12 6 LED & LCD Interfacing Interfacing LED; Interfacing 7-Segment Display; LCD Operation; LCD Pin Descriptions; LCD Commands; LCD Address; Wait, Send Command, and Text Display Subroutines; Initialization of the LCD; Displaying of Character Sequence; Changing Position of Text; Displaying Numbers; LCD Character Generator RAM; Custom Character; Animation on LCD. Laboratory Experiment LCD LM032L Display 12, 13 4 Stepper Motor Interfacing Stepper Motor and its Advantages and Disadvantages; Working Principle of Stepper Motor; Connection to the 8051; Full Step and Half Step and their Programming; Motor Speed; Holding Torque; Step Angle. Digital-to-Analog Converter (DAC). 13, 14 6 Interrupt Programming in Assembly Polling vs. Interrupts; Advantages of Interrupts; Interrupt Service Routine (ISR); Steps in Executing an Interrupt; Interrupt Vector Table; Programming Timer Interrupts; External Interrupts; Level-Triggered & Edge-Triggered Interrupts; Setting Interrupt Priority; Interrupt inside an Interrupt; Triggering the Interrupt by Software. Contribution of course to meet the professional component: This course prepares students to work professionally in the area of Electronics. Relationship to EME programme objectives and outcomes: This course primarily contributes to Electromechanical Engineering Programme outcomes that develop student abilities to: (a) an ability to apply knowledge of mathematics, science, and engineering; (b) an ability to design and conduct experiments, as well as to analyze and interpret data; (d) an ability to function on multidisciplinary teams. (l) an ability to use the computer/it tools relevant to the discipline along with an understanding of their processes and limitations. The course secondarily contributes to Electromechanical Engineering programme outcomes that develop student abilities to:

(c) an ability to design a system, component, or process to meet desired needs within realistic constraints such as economic, environmental, social, political, ethical, health and safety, manufacturability, and sustainability; (g) an ability to communicate effectively. Course content: Maths Basic Sciences Engineering Science Engineering Design and Synthesis Complementary Studies Computer Studies Total 100% 30 0 10 20 0 40 100 Persons who prepared this description: Mr. Seng Kin Lao

Part B General Course Information and Policies 2 nd Semester 2011/2012 Instructor: Mr. Seng Kin Lao Office: N327C Office Hour: By appointment Phone: (853) 8397-4379 Email: skeltonl@umac.mo Time/Venue: TBA Assessment: Final assessment will be determined on the basis of: Homework: 15% Experiments: 20% Mid-term I: 25% Final Exam (Comprehensive): 40% Grading System: The credit is earned by the achievement of a grade from A to D ; F carries zero credit. Grades are awarded according to the following system: Letter Grades Grade Points Percentage A 4.0 (Excellent) 93-100 A- 3.7 (Very good) 88-92 B+ 3.3 83-87 B 3.0 (Good) 78-82 B- 2.7 73-77 C+ 2.3 68-72 C 2.0 (Average) 63-67 C- 1.7 58-62 D+ 1.3 53-57 D 1.0 (Pass) 50-52 F 0 (Fail) Below 50 Comment: The objectives of the lectures are to explain and to supplement the text material. Students are responsible for the assigned material whether or not it is covered in the lecture. Students who wish to succeed in this course should read the assignments prior to the lecture and should work all homework and lab assignments. You are encouraged to look at other sources (other texts, etc.) to complement the lectures and text. Homework Policy: The completion and correction of homework is a powerful learning experience; therefore: There will be approximately 5 homework assignments. Homework is due one week after assignment unless otherwise noted, no late homework is accepted. Possible revision of homework grades may be discussed with the grader within one week from the return of the marked homework The homework grade will be based on the average of the assignment grades. Lab Assignment/Mid-term Exam: One mid-term exam will be held during the semester. There will be 4 lab experiments, including assembly language programming for arithmetic operations (addition, subtraction, multiplication, and division), accessing external data memory, and LCD interfacing. Lab reports are due two weeks after experiments. No late report is accepted.

Note: Recitation session is important part of this course and attendance is strongly recommended. Check UMmoodle (webcourse.umac.mo) for announcement, homework, experiments and lectures. Report any mistake on your grades within one week after posting. No make-up exam is give except for CLEAR medical proof. No exam is given if you are 15 minutes late in the midterm exam and 30 minutes late in the final exam. Even if you are late in the exam, you must turn in at the due time. Cheating is absolutely prohibited by the university.

Appendix - Rubric for Programme Outcomes Rubric for (a) 5 (Excellent) 3 (Average) 1 (Poor) Understand the theoretic background Use a correct model and formulation correctly Compute the problem correctly Students understand theoretic background and the limitations of the respective applications. Students choose a model correctly and properly apply correct techniques Students use correct techniques, analyze the problems, and compute them correctly Students have some confusion on some background or do not understand theoretic background completely Students choose a wrong model sometime, use a wrong formula, or a different technique Students sometime solve problem mistakenly using wrong techniques Students do not understand the background or do not study at all Students use a wrong model and wrong formula, or do not know how to model Students do not know how to solve problems or use wrong techniques completely Rubric for (b) 5 (Excellent) 3 (Average) 1 (Poor) Student successfully completes Student successfully completes Student either does not the experiment, records the data, the experiment, records the complete the experiment Conduct analyzes the experiment's main data, and analyzes the successfully, or completes it experiments topics, and explains the experiment's main topics. successfully but does not experiment concisely and well. record the correct data. Design experiments Student understands what needs to be tested and designs an appropriate experiment that takes into account the limitations of the equipment and measurement accuracy. Student understands what needs to be tested and designs an appropriate experiment, but may not fully understand the limitations of the measurements. Student does not understand what needs to be tested and/or does not design an appropriate experiment. Rubric for (c) 5 (Excellent) 3 (Average) 1 (Poor) Design capability and design constraints Student understands very clearly what needs to be designed and the realistic design constraints such as economic, environmental, social, political, ethical, health and safety, manufacturability, and sustainability. Student understands what needs to be designed and the design constraints, but may not fully understand the limitations of the design constraints Process to meet desired needs Student understands very clearly the process of the design Student understands what the needs of the process design, but may not fully understand the limitations of the design constraints Student does not understand what needs to be designed and the design constraints. Student does not understand the process.

Rubric for (d) 5 (Excellent) 3 (Average) 1 (Poor) Performance on teams is excellent with clear evidence of equal distribution of tasks and Ability to effort as well as frequent work in meetings of the team members. teams Multidisciplinary teams Team consists of members from two or more different engineering/science/business fields (this could contain some members not actually enrolled in the course but interacting as part of a competition, collaboration, etc.) Performance on teams is acceptable with one or more members carrying a larger amount of the effort as well as infrequent meetings of the members or one or more members being absent from several meetings. Team consists of members from two or more concentrations within the Department of Electromechanical Engineering Performance on teams is poor to unacceptable with one or two members clearly carrying the majority of the effort as well as inadequate team meeting or one or more members missing the majority of the meetings. Team consists of members from the same concentration within the Department of Electromechanical Engineering Rubric for (g) 5 (Excellent) 3 (Average) 1 (Poor) Professional Impact Student's/Team's/Group's document(s)/presentation(s) is/are considered to be of professional quality Student's/Team's/Group's document(s)/presentation(s) is/are considered acceptable for college level work for college level work Written Component Oral Component Document is nearly error free with sophisticated use of vocabulary, formatted properly, with well developed concise sentences and paragraphs Presentation is consistent, uniform, clear, direct, complete and captivating with very clear fonts and graphics with an excellent layout that clearly presents the technical content Document contains some errors with a somewhat colloquial vocabulary, minor formatting issues, with some organizational issues that do not interfere with communication Presentation is somewhat inconsistent between speakers, occasionally difficult to hear, with an acceptable layout containing acceptable fonts and graphics that adequately presents the technical content Student's/Team's/Group's document(s)/presentation(s) is/are considered unacceptable Document contains many errors, very colloquial vocabulary, with severe organizational issues that interfere with communication. Document would be considered unacceptable. Presentation is very inconsistent between speakers, difficult to hear with a poor layout containing illegible fonts and graphics that poorly presents the technical content. Would be considered unacceptable Rubric for (l) 5 (Excellent) 3 (Average) 1 (Poor) Use modern computer and software tools in engineering practice Student uses the computer and software to correctly analyze engineering problems and/or create engineering designs, and understands the limitations of the software. Student uses the computer and software to correctly analyze engineering problems and/or create engineering designs. Student does not use the computer and software to correctly create engineering designs and/or does not correctly interpret the results.