Home

 

ENGG*4640/ENGG*3640: Microcomputer Interfacing

School of Engineering, University of Guelph

Offered: Fall 2004 

 

Instructor:

Radu Muresan
University of Guelph,
School of Engineering
A.A Thornbrough Building, Room 219
Guelph, ON, N1G 2W1
Phone: (519)824-4120 Ext. 56730
Email: rmuresan@uoguelph.ca

 

LECTURE TIME

Days of Week: Monday, Wednesday, Friday; Time: 8:30 am to 9:20 am

Building: MCLN; Room: 102

Start Date: 13 Sept, 2004

 

Instructor's Office Hours: Mondays: 10:00 am to 12:00

 

TAs:

ENGG3640: Darshana Patel.  Office Hours: Tuesdays: 4:30 pm to 5:30 pm

Email: darshana@uoguelph.ca

 

ENGG4640: Jason Harris, Antony W. Savich. Office Hours (Jason Harris): Tuesday; Wednesday: 6:30 pm to 7:00 pm (In Lab)

Emai: jasonh@uoguelph.ca

 

LAB COORDINATOR: Sean Smith

Email: sdsmith@uoguelph.ca

 

*************************************************

QUIZ #1: Fist week of October (Quiz#1-Solutions)

Quiz #1 will target Chapters 1 and 2 of the Spasov's book plus the LECTURE NOTES until Monday September the 27th. (The best to prepare for the quiz is to go over the lecture notes)

 

MIDTERM: October 25 (Monday), 2004 (Midterm Solutions). Time: 6:00 pm to 7:00 pm; Room: 1307

MIDTERM will target Chapters 2, 8, and 9 of Spasov's book plus the lecture notes until October 20th.

Assignments: Exercises of Ch. 2, 8 and 9 of Spasov's book. NOTE: Solutions to the assignments are on reserve in the library.

The MIDTERM will be problem type exam.

How to prepare for the midterm?

Please go over the required material and make sure that you understand all the examples that have been presented in the class. Also, go over the examples that are in the book and try to solve some of the exercise problems.

 

NOTE: No Midterm and Quiz 2 make ups, unless you have medical reasons (need doctor certificate).

 

QUIZ #2:  (Quiz 2: Solutions) Third week of November (The micro class scheduled quiz #2 for Friday Nov 19)

NOTE: Quiz 1 make-up is only for the students that missed Quiz 1 due to special reasons and have previously talked to me.

The material for Quiz #2 covers the following:

1. Stack, Subroutines, Interrupts (Chapter 3 of Spasov + lecture Notes)

2. Introduction to Servo-Motors (Lecture Notes)

3. Timing Generation and Measurements (Chapter 11 of Spasov + Lecture Notes)

 

FINAL EXAM. Date: 09-Dec-04; Time: 8:30 am; Room: ROZH 103

If you want to see the solutions to the final exam please come to my office during my office hours.

The exam will require that you know the basic Ohm law and the formulas presented in the Op-amp lecture. Some formulas will be given within the problems. Also, the required control register for the interface will be provided. However, make yourself familiar with the functionality of the interfaces we presented. Go over the lecture notes and the Spasov book. The Exam will have a separate set for the Instruction set and some circuit specification. Make yourself familiar with this Appendix. The problems will have a hardware and a software component. Understand the hardware structures presented.

The exam will be mainly problem solving type exam, but will have some theoretical questions that will cover the abstract parts of the course.

****************************************************

 

Main References

Peter Spasov, "Microcontroller Technology," The Fifth Edition, Prentice Hall, 2004.

Motorola, "M68HC11 Reference Manual," Prentice Hall, 1989.

Harold Stone, "Microcomputer Interfacing," Addison-Wesley, 1982.

Link to: ENGG*4640: Microcomputer Interfacing - Web Page Maintained by Dr. Shawki Areibi

 

Other References

J. W. Valvano, "Embedded Microcomputer Systems," Brooks/Cole, 2000.

M. Kheir, "The M68HC11 Microcontroller, Applications in Control Instrumentation and Communication," Prentice Hall, 1997.

R. J. Tocci et al. "Microprocessor and Microcomputers, Hardware and Software," Fourth Edition, Prentice Hall, 1997.

 

Lecture Notes

An Introduction to MC68HC12

Course Outline;

Week 1: Microcontroller Concepts; Lecture Notes (4 slides/page)

Week 2: Programming; Lecture Notes (4 slides/page)

Week 3: Interfacing Concepts (This slides are the power point slides for Chapter 8 of Spasov book)

Week 3 - 4: Parallel I/O [Spasov + Dr. Areibi's Notes]. 

           Lecture Notes (Part 1):  I/O concepts. Lecture Notes (Part 2)

Week 4-5: Interfacing Methods. Lecture Notes: Set1; Set2; Strobed I/O; (Chapter 8, 9 Spasov + Lecture Notes)

Assignments: Ch 2, 8 and 9 Exercises of Spasov's book. Note: The Solution Manual is on reserve in the library.

 

The following material is not required for the MIDTERM.

Week 6-7: Stack, Subroutines, Interrupts: Lecture Notes (Chapter 3 Spasov + Lecture Notes)

Week 7-8: Introduction to Servo Motor (Lecture Notes)

                  Timing Generation and measurements (Chapter 11 Spasov + Lecture Notes)

Week 9-11: Data Acquisition Systems Digital-to-Analog; Analog-to-Digital; (Chapter 12 + Lecture Notes)

See Chapter 13 for some examples and applications.

DAC-Assignments; ADC-Assignments: Chapter 12 Exercises from Spasov

Week 11-12: Serial Interfacing. Lecture Notes (Chapter 10 Spasov ).

Serial communication Assignments: Chapter 10 Exercises from Spasov.

 

ASSIGNMENTS

 

Extra: Cross Assembly and Program Development

 

MARKING SCHEME:

Quiz #1:    5%

Quiz #2:    5%

Labs:        40%

The best of the following:

1. Midterm: 10%; Final Exam: 40% or,

2. Final Exam: 50%

 

ENGG3640 Laboratory

 

Lab0: Introduction. Equipment

Lab1: Introduction to MC68HC11 Controllers

Lab2: Parallel Port Programming

Lab3: Keypad and LCD Interfacing

Lab4: ServoMotor Control/Hex Keypad

Lab5: High-Tech Etch-a-Sketch

Lab6: (Optional) Serial Communication

 

ENGG4640 Laboratory

 

Lab0: Introduction. Equipment

Lab1: Introduction to MC68HC12 Controllers

Lab2: Parallel Port Programming

Lab3: Keypad and LCD Interfacing

Lab4: ServoMotor Control/Hex Keypad

Lab5: High-Tech Etch-a-Sketch

Lab6: Serial Communication