King Fahd University of Petroleum & Minerals
College of Computer Sciences & Engineering

 Department of Computer Engineering




Instructor:   Mr. Masud-ul-Hasan, Sec. 02, Laboratory 52


Catalog Description

The purpose of this course is to integrate the students' knowledge in hardware and software from lecture and laboratory courses to design, implement, debug and document a major digital system. The twin learning experiences of making hardware versus software decisions, and participating in structured design are preferably integrated into the same project.

Required Text Book:

TTL Data Book & The 8051 Microcontroller, second edition, I. Scott Mackenzie, and handouts covering important topics in the area of digital system design, taken from technical literature and data books, in addition to major chapters of the Intel 8051 data book.

Grade Distribution:

Project: 50% (final report + final oral presentation: 10%, project evaluation: 40%)

Two major intermediate reports + performance: 20%

Homework/Quizzes + Attendance: 5%

PCB: 15% (Layout: 5%, PCB fabrication: 10%)

Final exam: 10%


The course outline emphasizes major concepts of embedded applications (Real life applications which have intelligence embedded in them) using intelligent controllers or microcontrollers and their parallel and serial interface with host PCs or workstations for the purpose of Data logging and analysis. Microcontrollers have been in the area for quite a long time, so the course concentrates first on giving the student a complete coverage of microcontroller hardware and software aspects. The students will utilize in this process a couple of microcontrollers simulators and development systems to be able to develop their application. They will also have access to a software development package like visual basic and C compilers. Concepts of interfacing microcontrollers with PCs and dummy terminals using RS232 and RS 485 will be covered theoretically and practically. Examples on how to use high level programming languages such as C, Qbasic and visual basic for serial communication, data logging and control will be given. The students are supposed to design and build a prototype of a real PC based application using the above mentioned tools. Students will use the native assembly language of microcontroller they are using to write efficient programs, which they will burn, on EPROMS using an available EPROM programmer. The students will also be exposed to the experience of using TTL and CMOS components in their design, and interfacing of major components such as sensors, LCDs, LEDs, and Keypads to an application. Students are supposed to use logic analyzers, multimeters, and oscilloscopes for troubleshooting their system. The students should develop a good skill in how to build a user friendly environment for the PC using one of the efficient high level languages such as C or Pascal, but emphasis will be given now for object oriented languages. After the student completes the prototype successfully, he will transfer his design to a PCB using available CAD tools and PCB lab facilities.

The end product will be professionally documented in the form of a report. Students will work in groups of 3. There will be a group leader to each group responsible for distributing the tasks among members of the group. The leadership will be cyclic every month. The leader is responsible to report to instructor progress of work weekly basis.

The general policy of teaching in this project oriented course is to motivate the students and teach them to acquire excellence in designing and implementing advanced projects and training them to cope with dynamic requirements of the project and how to get data from company catalogs and how to be able to make the best software and hardware decisions which they might face when they are exposed to real life experience in their career. Excellent projects will be nominated for scientific awards.