E-Assignment: German-Malaysian Institute
E-Assignment: German-Malaysian Institute
D I P L O M A P R O G R A M M E
E-ASSIGNMENT
Academic Period : January 2021
Total 100
Total Marks
PO 1
Total PO 3
Signature
MPC 0822 MICROCONTROLLER
GENERAL INSTRUCTIONS:
1. You are required to do e-assignment project for your final assessment.
2. Please follow the example given for formats of your e-assignment project report.
3. Plagiarism and total copying is considered cheating and will be treated as violation
of examination and strict action will be taken if the student is found guilty.
4. Read the questions carefully before answering.
QUESTION:
1. R&D company develops an Embedded Control System either using microprocessor
or microcontroller. As a technical specialist, you are assigned to investigate, study and
write a formal report on the following given. Figure 1 shown a simple integration of
SAB 80C515 microcontroller that connected with four push button, one 7-segment
display and one buzzer.
Figure 1
Table 1
3. A simple integration of microcontroller design from Figure 1 has to poll four input
zones. If any zone input, P3.0 to P3.3 goes to 1 (logic 1) then the zone number is
displayed at 7-segment display and the buzzer is activated by writing a 1 (logic high)
to P1.7. If more than one zone is activated, display F (F for Full). Write an SAB 80C515
assembly program to implement the required functionality for this system.
4. Write an SAB 80C515 assembly language program, which will cause a timed program
delay of n seconds, where n can have a value between 1 and 255. The program design
is to be based on the use of nested subroutines, which will include a one-millisecond
delay subroutine and a one-second delay subroutine. The program is to be based on
software timing loops and it will not employ hardware timers. Show all timing
calculations and assumptions. Assume that the basic instruction cycle time for the
SAB 80C515 is one microsecond.
5. Write an SAB 80C515 assembly language program to display counter number 0-9
continuously at 7-segment display in counting manner with delay one-second.
6. You can use Keil µVision 5 or others simulator software to develop assembly-
programming firmware and simulate your program.
3
MPC 0822 MICROCONTROLLER
7. Your Final E-Assignment Project Report must have the following sections:
1. Introduction – Describe the task in depth with appropriate circuit diagram. The
description should include:
• Details of the system.
• Function/role of each system components (block).
3. System Simulation – Test the functionality of the system against the design
specification using Keil µVision 5 or others simulator software. This section
should include:
• Get the result every conditions that are tested.
• Analyze the result for every conditions.
• All findings must be supported with images, photos and etc.
4
ASSIGNMENT RUBRICS
TOTAL /100