Electrical and Computer Engineering


230. Microcomputers. Register transfer notation.  Microcomputer structure.  Multi-byte addition and subtraction.  The 8051 microcontroller and its instruction set.  Flags and registers.  Software timing.  I/O ports and interfacing issues.  Special function registers.  Hardware timing and polling.  Serial communications.  Interrupts.  Students create assembly language programs, and then assemble, simulate, and download them to an 8051 single-board computer for verification of the theory.  Spring. (Cr. 3)

Prerequisite: EECE-229

Goals:     To understand how a microprocessor can be put together from digital                  subsystems.

To learn assembly language programming of a commercial microcontroller family.

To learn how to apply microprocessors to various control tasks.

Text:       The 8051 Microcontroller: Architecture, Programming, &                               Applications (2nd ed.) Kenneth J. Ayala, West Publishing Co., 1997

Topics:   Register transfer notation.

                Microcomputer structure.

                Computer arithmetic.

                The 8051 microcontroller and its instruction set.

                Flags and registers.

                Software timing. 

                I/O ports and interfacing issues. 

                Special function registers. 

                Hardware timing and polling. 

                Serial communications. 

                Interrupts.

Projects:

Three open-ended programming projects are assigned, with written reports required.  These count for 20% of the student's final grade.  Students are encouraged to collaborate responsibly, and to credit others when appropriate for assistance received.  Students also verify the correctness of their fellow students' projects, thus reinforcing their self-images as professionals.

Computer Usage: 

Students use their own PCs to edit, assemble, and simulate 8051 programs, and also to communicate serially with the single board computer, using supplied software.

ABET category content as estimated by the faculty member who prepared this course description:

Engineering Design: 1 credit (33%).  Engineering Science: 2 credits (67%)

Prepared by: Dr. Robert Borrmann