EE324INTRODUCTION TO EMBEDDED MICROCONTROLLERSFALL 2001

Course Syllabus

Department of Electrical Engineering

The Pennsylvania State University

EE324 Introduction to Embedded Microcontrollers

Spring 2001

Instructors:Mark BregarKyusun Choi

Office:211 ARL Bldg

Phone:865-1722

e-mail:

office hours:TBATBA

Objectives:

The student will learn:

  • the basic structure of the microcontroller and its importance as an integral part of modern electronic systems.
  • the fundamentals of microcontroller programming, debugging, and simulating.
  • how to interface the microcontroller to peripheral devices such as digital inputs/outputs, analog transducers, and power switching devices.
  • how to incorporate the microcontroller into a complete control system.

Prerequisites:

This course covers a broad range of topics including, but not limited to, digital circuits, analog circuits, circuit design, programming, computer architecture, signal processing, control systems, electromechanical systems, and power. The student need not be proficient in all these areas but should have a good foundation in many of them.

CMPEN 271Introduction to digital systems

EE 368 / EE 363 / EE 310Electronic devices and circuits

( Students can not receive credit for both EE 324 and CMPEN 312. )

Text:

Microcomputer Engineering, 2nd Edition, Gene H. Miller, Prentice Hall, 1999.

Grading Policy:

Exam #115 %

Exam #215 %

Final exam20 %

Pre-lab assignments(homework)10 %

Lab reports25 %

Lab performance / evaluation15 %

Exams:

There will be two evening exams given during the semester. The final exam will be comprehensive. All exams are open book (text book only), closed notes.

Labs:

The laboratory grades for this course are broken into three parts: pre-lab assignments, lab reports, and a performance evaluation. Lab groups will consist of three (possibly two) individuals assigned by the instructor. The pairings will be based on the Background and Familiarity forms filled out by each person. Each group will receive a red kit. This kit contains a serial cable, adapter, and various components for use in lab. This kit must be returned in its entirety at the end of the semester. In addition, an HC11 evaluation board must be purchased by each group. The current cost for the board is $99.00. This must be paid by the first lab meeting. Checks can be made out to Pennsylvania State University.

Pre-lab Assignments:

These assignments are basically homework assignments that are intended to prepare the students / groups for the laboratory experiments. There will be one pre-lab assignment for each lab period. Each assignment is to be completed and turned in by the lab group to the Homework Room by 5 o’clock on the day it is due (refer to the Laboratory Schedule). The assignments will be graded and returned to the groups at the start of the next lab period. The specific requirements for each pre-lab will be described in the associated lab handout.

Lab Reports:

There will be six graded labs during the semester. Each lab will consists of two lab periods (weeks). There will be one report per group per lab. These will be due one week after the second lab period. Lab reports are to be turned into the Homework Room by 5 o’clock on the day it is due (refer to the Laboratory Schedule). The specific requirements for the lab reports will be discussed later.

Lab Performance / Evaluation:

The remaining portion of the lab grades will be based on the individual’s performance. Each group member will have the opportunity to evaluate his or her partner. In addition, the lab instructor will also evaluate the performance of each individual. These evaluations will be based on the persons attendance, participation, and group cooperation.

Topical Course Outline

Week #

1Fundamentals ( chapter 1 )

1.1Introduction1

1.2Numbering systems, Digital systems1

2Programming ( chapters 2-5 )

2.1Microcontroller structure2

2.2Instructions, Addressing modes3-4

2.3Program development5

2.4Advanced programming6

*******Exam #1*******

*******Tuesday10/28:15 - 10:15 p.m.*******

3Interfacing ( chapters 5-7 )

3.1Hardware and I/O7

3.2Interrupts8

3.3Timers9

3.4Serial I/O10

3.5Analog-to-digital converters11-12

*******Exam #2*******

*******Monday 11/68:15 - 10:15 p.m.*******

3.6I/O devices13

4Systems ( chapter 8-9 )

4.1Drivers, Control systems14

4.2Review15

*******Final Exam*******

Laboratory Schedule

Week / Monday
LAB (sec 4,5,6) / TUESDAY
CLASS / WEDNESDAY / THURSDAY
CLAss / Friday
LAB (sec 1,2,3)
Week #1 / 8/20
No lab / 8/21 / 8/22 / 8/23 / 8/24
No lab
Week #2 / 8/27
NoLab / 8/28 / 8/29 / 8/30 / 8/31
NoLab
Week #3 / 9/3
Demo/Lab0 / 9/4 / 9/5
Pre-lab 1A due / 9/6 / 9/7
Demo/Lab0
Week #4 / 9/10
Lab 1A / 9/11 / 9/12
Pre-lab 1B due / 9/13 / 9/14
Lab 1A
Week #5 / 9/17
Lab 1B / 9/18 / 9/19
Pre-lab 2A due / 9/20 / 9/21
Lab 1B
Week #6 / 9/24
Lab 2A
Report 1 due / 9/25 / 9/26
Pre-lab 2B due / 9/27 / 9/28
Lab 2A
Report 1 due
Week #7 / 10/1
Lab 2B / 10/2
EXAM #1 / 10/3
Pre-lab 3A due / 10/4 / 10/5
Lab 2B
Week / 10/8
FALL BREAK / 10/9
FALL BREAK / 10/10
Pre-lab 3B due
Lab 3A (4,5,6)
Report 2 due / 10/11 / 10/12
Lab 3A
Report 2 due
Week #8 / 10/15
Lab 3B / 10/16 / 10/17
Pre-lab 4 due / 10/18 / 10/19
Lab 3B
Week #9 / 10/22
Lab 4
Report 3 due / 10/23 / 10/24
Pre-lab 5A due / 10/25 / 10/26
Lab 4
Report 3 due
Week #10 / 10/29
Lab 5A
Report 4 due / 10/30 / 10/31
Pre-lab 5b due / 11/1 / 11/2
Lab 5A
Report 4 due
Week #11 / 11/5
Lab 5B / 11/6
EXAM #2 / 11/7
Pre-lab 6A due / 11/8 / 11/9
Lab 5B
Week #12 / 11/12
Lab 6A
Report 5 due / 11/13 / 11/14
Pre-lab 6b due / 11/15 / 11/16
Lab 6A
Report 5 due
Week #13 / 11/19 / 11/20 / 11/21 / 11/22
Thanksgiving / 11/23
Thanksgiving
Week #14 / 11/26
Lab 6B / 11/27 / 11/28 / 11/29 / 11/30
Lab 6B
Week #15 / 12/3 / 12/4 / 12/5
Report 6 due / 12/6 / 12/7

Background and Familiarity Form

Name:______Section: ______

Semester Standing: ______

Background

Previous EE Lab Courses

EE______Grade _____ EE______Grade _____

EE______Grade _____ EE______Grade _____

Previous and Concurrent EE Courses (circle concurrent courses)

EE______EE______EE______EE______EE______

EE______EE______EE______EE______EE______

EE______EE______EE______EE______EE______

Familiarity

Using the following scale, rate your familiarity with / experience in the following areas:

NoneA fewHalfMostAll

Hardware Equipment12345

multi-meters, oscilloscopes, function generators, logic analyzers

Hardware Components12345

logic chips, LEDs, LCD displays, motors

Hardware Interfacing12345

TTL, CMOS, analog, RS-232

Software Usage12345

PC computers, DOS, Windows, Editors

Software Programming12345

Basic / C / Pascal / Fortran, assembly language, compilers, assemblers

BadGood

How would you rate your programming ability?12345

Have you ever worked with a microprocessor or a microcontroller?Y / N

If yes, which one?

List any persons with whom you would like to be grouped. (no guarantees)

1