0% found this document useful (0 votes)
89 views5 pages

E-Assignment: German-Malaysian Institute

This document provides instructions for an e-assignment project involving the development of an assembly language program for an SAB 80C515 microcontroller. The program must interface with a 7-segment display, four push buttons, and a buzzer. Students are asked to write an assembly program that can display numbers from 0-9 on the 7-segment display, detect button presses on the four push buttons and display the corresponding number or "F" if multiple buttons are pressed, and sound the buzzer. The report for the project must include sections on introduction, program development, system simulation, and conclusion/discussion. Students will be evaluated based on these sections and adherence to a 10-page limit.

Uploaded by

M Zacky
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views5 pages

E-Assignment: German-Malaysian Institute

This document provides instructions for an e-assignment project involving the development of an assembly language program for an SAB 80C515 microcontroller. The program must interface with a 7-segment display, four push buttons, and a buzzer. Students are asked to write an assembly program that can display numbers from 0-9 on the 7-segment display, detect button presses on the four push buttons and display the corresponding number or "F" if multiple buttons are pressed, and sound the buzzer. The report for the project must include sections on introduction, program development, system simulation, and conclusion/discussion. Students will be evaluated based on these sections and adherence to a 10-page limit.

Uploaded by

M Zacky
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

GMI 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

Code MPC 0822 Course Name MICROCONTROLLER

Title E-Assignment Examiner Mohd Faizal Ismail / Khairul Anuar


Juhari
Name Program/ SEM4 EIT / SEM4 FBA / SEM6 MEC /
Group _____

Reminder: GMI considers plagiarism and/or copying as a serious breach of academic


conduct. Students who are caught doing so will face severe penalty.
Level Full
No Assessment Criteria CLO PO Score Marks Comment
of Diff Marks
1 Introduction 1 1 C2 5
2 Develop Program 2 3 C4 45
3 System Simulation 2 3 C4 40
4 Conclusion / Discussion 1 1 C2 5
5 Appendices 1 1 C2 5

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

2. A single digit 7-segment display device, as shown in Figure 1, is to be interface to Port


1 of an SAB 80C515 microcontroller. The SAB 80C515 will produce the correct 7 bit
codes for the desired display outputs. Write an SAB 80C515 assembly language
program that can output any number (0-9) to the display. As part of your program,
show a true table that defines the bit patterns for each number. A Table 1 can be
devised to show the truth table for decoding the 7-segment display, as follows:
2
MPC 0822 MICROCONTROLLER

Table 1

P1 I/O’s P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 P1.1 P1.0


Number Buzzer g f e d c b a
0
1
2
3
4
5
6
7
8
9

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).

2. Develop Program – Develop the firmware program in assembly language and


subroutines for various functions such as delay, push button, 7-segment display,
buzzer and etc. Test the subroutines individually. Then integrate them and
produce a complete program. This section should include:
• Description of system design steps.
• Program creativity by implementing program subroutines.
• Appropriate diagram to illustrate the system design.

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. Conclusion / Discussion – This section should include:


• A statement presenting the outcome of the project.
• What could be done better?

5. Appendices – This section should include:


• Specification sheet (only the part that is used for the project).
• Any additional pictures or graphs - use caption and explanations.
• The complete ASM source code.

You will be evaluated based on introduction to topic (5%), development of firmware


design (45%), analyzed the system simulation (40%), conclusion/discussion (5%) and
appendices (5%). Total report should not exceed 10 pages (excluding front cover and
appendices).

4
ASSIGNMENT RUBRICS

MARKS (M) WEIGHTED


MARKS
CRITERIA MARKS
ALLOCATED 1 2 3 4 5 OBTAINED
Introduction
Minimal
Some Able to Able to
Not able to ability to
5% ability to present a present an M/5 x 5% =
present a present a
present a generally excellent
basic basic
basic good introductio
introduction introducti
introduction introduction n to the
to the given on to the
to the given to the given given
topic given
topic topic topic
topic
Develop Good
Program explanatio
Good
Missing Badly n of M/5 x 45%
explanation
45% several written methods =
of methods
important procedure Badly with
with
explanation difficult to written citation.
citation.
s of follow method Procedure
Procedure
methodolog method confusing is well
is well
y. Most confusing and lacking written,
written but
steps are and some organised
contain
missing or lacking details. well,
some
are many logical
confusing
confusing. details. and easy
sentence
to be
followed
System The The
The The
Simulation simulation The simulation
simulation simulation
and simulation and
and and
analysis and analysis
analysis analysis
40% was analysis was M/5 x 40%
was not at was
minimally was concise =
all generally
relevant relevant to and very
relevant to relevant to
to the the given relevant to
the the
given topic the given
given topic given topic
topic topic
Conclusion / Correct
Little Relevant Insightful
Discussion and very
relevant conclusion and
5% No relevant M/5 x 5% =
of of some of thorough
conclusion conclusion
conclusio the issues conclusion
of project but not
n for in the of the
thoroughly
project project project
explained
Appendices
5% Some M/5 x 5% =
Not needed
belong Few
and not Acceptable All needed
and some unneeded
related
not

TOTAL /100

You might also like