COURSE TITLE: DAYS AND TIMES: SOUTHWESTERN MICHIGAN COLLEGE DIVISION OF ADVANCED TECHNOLOGIES Dowagiac, Michigan COURSE SYLLABUS Winter Semester/Session 2012 Microprocessors Mondays and Wednesdays 5:00-7:00PM COURSE NO.: ELEC212 SECTION NO.: 2593 CREDITS/CONTACTS: Credit Hours: 4 Lecture hours/weekly: 4 Laboratory hours/weekly: 0 Weekly Contact Hours: 4 FINAL EXAM INFORMATION: INSTRUCTOR: PREREQUISITE: COURSE DESCRIPTION: COURSE OUTCOMES: Refer to the Final Exam Schedule posted on SMC Wired for time and location of final exam. Mike McGowan Office: room 117 NAC Phone Number: 269-687-4812 Email: mmcgowan01@swmich.edu OFFICE HOURS: Monday/Wednesday 3:20-4:40pm Tuesday/Thursday 9:30-10:50am Minimum grade of C in ELEC 131, MATH 105 and ISYS 110, or IC3 certified; and READ 100 or satisfactory test score, concurrent enrollment allowed. This course provides foundational understanding of computers and industrial controls. Topics include basic operation, memory considerations, connecting peripherals, using an assembler, using a ROM programmer, programming onchip timers, counters, serial and parallel I/O, and programming interrupts. Upon successful completion of this course the student will be enabled to: ELEC212.1: You will be able to define selected terminology related to computers. References: MMM Ch 0 Section 0.9 Explain the difference between a bit, a nibble, a byte, and a word. Give the precise mathematical definitions of the terms kilobyte, megabyte, gigabyte, and terabyte. Explain the difference between RAM and ROM and describe their use. Describe the purpose of the major components of a computer system List three types of buses found in computers and describe the purpose of each. Describe the role of the CPU in computer systems List the major components of the CPU and describe the purpose of each ELEC212.2: You will be able to distinguish the differences among selected members of the 8051 family of microcontrollers. References: MMM Ch 1 Compare and contrast microprocessors and microcontrollers Describe the advantages of microcontrollers for some applications. Explain the concept of embedded systems Discuss criteria for considering a microcontroller for an application
Explain the variations of speed, packaging, memory and cost Compare and contrast the various members of the 8051 family. Compare the 8051 microcontrollers offered by various manufacturers ELEC212.3: You will be able to program using 8051 assembly language. References: MMM Ch 2 List the registers of the 8051 Manipulate data using the registers and MOV instructions. Code simple 8051 assembly language instructions Assemble and run an 8051 program Describe the sequence of events that occur upon 8051 power-up. Explain the memory map of the 8051 Describe 8051 data types Explain the PSW register. Discuss RAM memory space. Explain the use of the stack Manipulate the register banks of the 8051 ELEC212.4:You will program the 8051 using program control instructions. References: MMM Ch3 Code with loops Code with conditional jumps Explain each conditional jump instruction. Compare long jumps and short jumps Code with subroutines State the relationship between machine cycle and crystal frequency. Code a time delay subroutine. TEXTBOOK: REQUIRED: The 8051 Microcontroller and Embedded Systems by Muhammad Ali Mazidi and Janice Gillispei Mazadi etc Second edition. Pearson/ Prentice hall ISBN 0-13-119402-x ADDITIONAL: (TI-36 or equivalent)required Electronics Parts Kit (voucher) Trainer 01MDE8051 using DS89420/430 microcontroller (loaned to student) RESOURCES: METHOD OF INSTRUCTION: EVALUATION METHOD: Instructional activities may consist of a combination of the following types: Reading books and information sheets. Taking notes in lecture. Solving practice problems. Observing instructor demonstrations. Memorizing information. Performing illustrative laboratory procedures. Writing technical reports. Completing skills practice exercises. Performing computer simulations (computer skills are not prerequisite). Taking field trips as time allows. Homework/Lab Projects (approximately 10) 40% Weekly Tests 40% Final Exam 20% 100%
GRADING SCALE: The following grading scale will be in effect for this course: 94% - 100% = A 90% - 90% = A- 87% - 89% = B+ 84% - 86% = B 80% - 83% = B- 77% - 79% = C+ 74% - 76% = C 70% - 73% = C- 67% - 69% = D+ 64% - 66% = D 60% - 63% = D- 0% - 59% = B+F ATTENDANCE POLICY: TESTING POLICY: NOTICE: CLASSROOM BEHAVIOR: OTHER COURSE EXPECTATIONS: Attendance will be recorded but it is not a component of the course grade. Attendance will be reported to the ISD as applicable. Be prepared to be tested on all competencies and learning objectives. A single make-up test may be arranged once during the course. A grade of zero will be recorded for any test not taken. Other quizzes may be administered at the instructor s discretion and without prior announcement. A single make-up quiz is allowed. Representative student work will be used as a part of SMC s on-going curriculum assessment program. Students are expected to assist in maintaining a classroom environment that is conducive to learning. In order to assure that all students have the opportunity to gain from time spent in class; students are prohibited from engaging in any form of distraction. Inappropriate behavior in the classroom shall result, minimally, in a request to leave class. Professionalism is expected at all times. Practical jokes and intentional disregard for the safety of personal and equipment cannot be tolerated. Each student must be familiar with the operation of SMCWired and, in particular, SMCWired email. Students must check SMCWired email daily. If you need assistance see your instructor promptly. Each student is expected to be familiar with the information contained in the most recent revision of the Student Handbook. From the main web page (not SMCWired) Academics>Student Services>Related Links Student Handbook. EMERGENCY EXIT The fastest way out is illustrated by the floor plan drawing displayed in the lab. In the event of emergency evacuation we meet by the lamppost at the extreme east end of the parking lot. The reason for meeting is to make sure no one is left inside the building. MATERIAL SAFETY DATA SHEETS The Material Safety Data Sheets provide safety information about any of the substances we use in the lab. MSDS s are located in Room 117 on the wall next to the walk-in closet. You are encouraged to read them before you use any chemical substance. Solder containing lead is a chemical hazard but
even lead free solder is a mild chemical hazard. WEATHER CLOSING When foul weather is expected, building closing is announced on every radio and television station in the area and on the SMC web page. If closing is announced while you are in class you will be informed by messenger or by your instructor. No one is compelled to stay in class as foul weather conditions develop. The weather where you live might be quite different from the weather at SMC. Your decision to stay in class or to leave early must depend on your personal circumstances. ACCEPTABLE USE OF PERSONAL COMMUNICATION TECHNOLOGY: HONESTY POLICY: All phones, ipods, Blackberries, Palm Pilots, pagers, laptops and other technological devices including devices capable of taking photographs must be turned off or placed on vibrate mode and may not be brought out during class. If you are expecting or receiving an urgent call, you are required to leave the classroom before answering. Violation of this policy will result in your removal from the classroom for the class period. Multiple violations of this policy will be referred to the appropriate dean for disciplinary action. Further details or ramifications of violations may be found elsewhere in this syllabus. The instructor has the right to modify this policy to meet the needs of the course. Cheating or plagiarizing will absolutely not be tolerated at Southwestern Michigan College. Any student found cheating or plagiarizing material in any manner may be assigned a failing semester/session grade in this course. A second such incident while at SMC could result in suspension or expulsion from the institution. A student found in violation of this section of the syllabus will not be allowed to drop this course. Additional detail regarding cheating and/or plagiarism may be found elsewhere in this syllabus. For more detailed information consult the SMC Code of Student Conduct. NOTICE: Information in this syllabus was, to the best knowledge of the instructor, considered correct and complete when distributed for use at the beginning of the semester. The instructor, however, reserves the right, acting within the policies and procedures of Southwestern Michigan College, to make changes in course content or instructional techniques. COURSE OUTLINE and ASSIGNMENTS Week Experiments Lecture Read Test 1 & 2 Intro to Assembler and Simulator Introduction to Computing Numbering and Coding Digital Review Inside the 8051 Intro to 8051 programming Assembling and running prgm. The PC and ROM space. Data Types and directives Flag bits and the PSW register Register banks and stack Ch 0, 1 and 2 3 & 4 Example 3-22 Example 4-1 Example 4-6 5 & 6 Example 5-5 c Example 5-27 Loops, Jumps, Calls Delays I/O programming I/O bit programming # and Rn address mode Math and Logic instructions Ch 3,4 Ch 5, 6
Checksum Program Binary to ASCII Prgm. 7 & 8 Programming in 8051 C Data Types I/O programming Logic Operations Data conversion programs Accessing Code space in C Data serialization in C Hardware Pin descriptions The MDE8051 Trainer The Intel hex file 9 & 10 Example 9-11 Example 9-14 Example 9-19 (no LCD) 11 & 12 Example 10-5 Redo with RI/TI interrupt Timer Programming Counter Programming Programming Timers in C Serial Communication Connecting to RS232 Programming Serial Port Assembly C Language Interrupts Programming Timer Interrupts External Interrupts C programming Interrupts 13 External Memory Memory address decoding Final Examination Ch 7,8 Ch 9 Ch 10,11 Ch 14 TBA