Lab Manual Microcontroller and Interfacing 3151707 GECGn
Lab Manual Microcontroller and Interfacing 3151707 GECGn
B.E. Semester5
(INSTRUMENATION & CONTROL)
Certificate
Place: __________
Date: __________
Preface
The main objective of laboratory, practical, and field work is to enhance the required skills and
create the ability among students to solve real-time problems by developing relevant
competencies in the psychomotor domain. With this in mind, Gujarat Technological University
(GTU) has designed a competency-focused, outcome-based curriculum for engineering degree
programs, with sufficient weightage given to practical work. This emphasizes the importance of
skill enhancement among students, utilizing every second of allotted practical time to achieve
relevant outcomes through performing experiments, rather than just studying theoretical
concepts.
This manual also provides guidelines to faculty members to facilitate studentcentric lab
activities through each experiment by arranging and managing necessary resources in order that
the students follow the procedures with required safety and necessary precautions to achieve the
outcomes. It also gives an idea that how students will be assessed by providing rubrics.
Although utmost care has been taken in preparing this lab manual, there is always room for
improvement. We welcome constructive suggestions to enhance the manual and correct any
errors that may be present.
Microcontroller and Interfacing(3151707)
CO2 Able to write, debug and analyze the code in assembly as well as Embedded C language.
CO3 Able to apply digital logic design and programming principles to interface and access external
memories and Input-Output devices like keyboard, Seven segment LED and LCD displays,
ADC, DAC etc. with micro controller.
CO4 Able to calculate instruction execution time, delay, baud rate, and write assembly and C Code,
identify the timer mode, serial communication mode and interrupt priorities
CO5 Able to work as an individual and as a team-member to design, formulate and implement
timer, counter and interrupt programming based applications using microcontroller.
Sr. CO CO CO CO CO
Objective(s) of Experiment
No. 1 2 3 4 5
The following industry relevant competency are expected to be developed in the student by
undertaking the practical work of this laboratory.
1. Ability to design and implement microcontroller-based control systems.
2. Proficiency in interfacing microcontrollers with various sensors and actuators.
3. Knowledge of programming languages and software tools used in microcontroller-based
systems.
4. Skill in troubleshooting and maintaining microcontroller-based systems.
5. Understanding of various communication protocols used in microcontroller-based
systems.
Index
(Progressive Assessment Sheet)
Sign. of
Sr. Page Date of Date of Assessment
Objective(s) of Experiment Teacher with Remarks
No. No. performance submission Marks
date
Total
INTRODUCTION
Earlier to Microcontrollers, Microprocessors were greatly used for each and every
purpose. Microprocessors were containing ALU, general purpose register, stack pointer, program
counter, clock counter and so many other features which today‟s Microcontroller also possesses.
But the difference between them exists with respect to the number of instructions, access times,
size, reliability, PCB size, and so on. The microprocessor contains a large instruction set called as
CISC processor whereas Microcontroller contains less number of instructions and is called as
RISC processor. The access time is less in the case of microcontrollers compared to
microprocessors and the PCB size reduces in the case of microcontrollers.
There are many versions of microcontrollers 8051, 80528751, AT8951 from Atmel
Corporation, and many more. In this manual, we will study the 8051 architecture, its features,
programming, and interfacing.
MCS 8051 is an 8-bit single-chip microcontroller with many built-in functionsand is the core for
all MCS-51 devices.
The main features of the 8051 core are:
Operates with single Power Supply +5V.
8-bit CPU optimized for control applications.
16-bit program counter (PC) and 16-bit data pointer (DPTR).
8-bit program status word (PSW).
8-bit stack pointer (SP).
4K Bytes of On-Chip Program Memory (Internal ROM or EPROM).
128 bytes of On-Chip Data Memory (Internal RAM):
Four Register Banks, each containing 8 registers (R0 to R7) [Total 32 reg]
16-bytes of bit addressable memory.
80 bytes of general-purpose data memory (Scratch Pad Area).
Special Function Registers (SFR) to configure/operate microcontroller.
32 bit bi-directional I/O Lines (4 ports P0 to P3).
Two 16-bit timers/counters (T0 and T1).
Full duplex UART (Universal Asynchronous Receiver/Transmitter).
On-Chip oscillator and clock circuitry
Executing assembly language programs in Keil Microvision Software:
Follow the following steps to execute assembly language programs in Keil Microvision software:
Step 1: Open Keil Microvision software then click on the project then click on the new
Microvision project.
Step 2: Save your file with .asm extension for example (addition of numbers.asm) and save it.
Step 5: Now click on the + sign shown before source group 1, then double click on the file that
comes after clicking on +sign. Then write assembly language code in the plane text area that
appears.
Step 6: Click on build and rebuild to check errors then click on debug and start debug session.
Step 7: Then click on run you can run directly or you can run step by step by clicking every time
on the step or pressing F11 and then check the output here the output is visible in blue color.
By following the above-mentioned steps, you can execute any type of assembly language
statements or instructions and assembler directives in Keil Microvision software.
Familiarization with the EdSim51 simulator :
EdSim51 is a free, web-based, educational software package that is used to simulate and analyze
8051-based microcontroller systems. It is designed to provide students with a hands-on learning
experience and is a useful tool for instructors teaching microcontroller-based courses.
Students can use EdSim51 to design, code, and simulate programs on a virtual 8051
microcontroller, allowing them to test and debug their programs in a safe and controlled
environment. Additionally, EdSim51 provides a variety of built-in peripherals, such as LCDs,
keypad input, and serial communication, allowing students to design and test complete systems.
One of the key benefits of EdSim51 is that it is accessible and user-friendly. It can be accessed
from any computer with an internet connection, and it does not require any additional software or
hardware. This makes it an ideal tool for remote learning and for students who do not have access
to physical microcontroller systems.
The top left box is the microcontroller panel which gives the student access to all of the 8051's
registers, data memory, and code memory. The upper middle part is the integrated development
environment (IDE) or the assembly code panel where the user either loads anassembly program or
writes the code directly. The top right box displays the list of the 32 port pins, the current value of
the port pin, and what each is connected to.
Overall, EdSim51 is a valuable resource for students learning about microcontrollers and
embedded systems, providing them with a powerful tool for experimentation, learning, and
project development.
Experiment No: 1
To study and perform data transfer programming.
Date:
Competency and Practical Skills: Ability to perform arithmetic operations on 8-bit and 16-bit
numbers using microcontrollers and proficiency in using programming languages and software
tools required for microcontroller-based systems.
Relevant CO: CO1, CO2
Objectives:Gain proficiency in programming and performing arithmetic operations on
microcontrollers.
Equipment/Instruments/Software: Keil Microvision software or EdSim51. However, other
software or microcontroller development boards or educational boards may also be used.
Sample Programs:
1. Write an assembly language program to transfer N = ___ bytes of datafrom location A:
_______h to location B: _______h.
Let N = 05h, A: 30h and B: 40h
Procedure:
1. Open Keil uVision software and create a new project.
2. Select the target device and configure the project settings.
3. Write the program code in C or assembly language using the Keil IDE.
4. Build the program and check for errors or warnings.
Conclusion:
Quiz:
1. Enumerate the objectives or goals of the microcontroller trainer kit.
2. List the available software for the microcontroller practical.
3. Describe the dissimilarities between internal memory and external memory in the 8051
microcontroller.
4. Specify the essential precautions when handling the microcontroller trainer kit and other
hardware in the practical.
5. Explain the function of Keil software in microcontroller programming.
Suggested Reference:Ch-2 & 6, The 8051 Microcontroller and Embedded Systems Using
Assembly and C,2nd editionby Muhammad Ali Mazidi.
Rubrics 1 2 3 4 5 Total
Marks
Rubrics:
1. Group work while performing experiment on computer.
2. Understand the concept while performing coding.
3. Understanding of arithmetic operations.
4. Debugging and testing skills.
5. Quiz answers and submission in time.
Experiment No: 2
To study and perform arithmetic instruction programming.
Date:
Competencyand Practical Skills: Analyzing data transfer and arithmetic operations on external
memory.
Relevant CO: CO1, CO2
Objectives: Gain a better understanding of data transfer and arithmetic operations on external
memory, and investigate methods for optimizing their performance.
Equipment/Instruments/Software: Keil Microvision software or EdSim51. However, other
software or microcontroller development boards or educational boards may also be used.
Sample Programs:
1. Write an assembly language program to perform the addition of two 16-bit numbers.
Procedure:
1. Open Keil uVision software and create a new project.
2. Select the target device and configure the project settings.
3. Write the program code in C or assembly language using the Keil IDE.
4. Build the program and check for errors or warnings.
Conclusion:
Quiz:
1. Describe the purpose of studying data transfer and arithmetic operations on external memory.
2. Define external memory.
3. Identifying some common challenges associated with data transfer on external memory, and
taking action to address them.
4. List real-world applications can benefit from applying the outcomes of this practical exercise.
Suggested Reference: Ch-2, 3 & 6, The 8051 Microcontroller and Embedded Systems Using
Assembly and C,2nd edition by Muhammad Ali Mazidi.
Rubrics 1 2 3 4 5 Total
Marks
Rubrics:
1. Group work while performing experiment on computer.
2. Understand the concept while performing coding.
3. Understanding of data transfer instructions and arithmetic operations.
4. Debugging and testing skills.
5. Quiz answers and submission in time.
Experiment No: 3
To study and perform boolean & logical instructions programming.
Date:
Competency and Practical Skills: Develop competencies and skills such as programming,
problem-solving, debugging, familiarity with 8051 architecture.
Relevant CO: CO1, CO3
Objectives: To understand how to manipulate binary data and perform logical operations on it
using the various instructions available in the 8051 microcontroller.
Equipment/Instruments/Software: Keil Microvision software or EdSim51. However, other
software or microcontroller development boards or educational boards may also be used.
Sample Programs:
1. Write an ALP to compare two eight bit numbers NUM1 and NUM2 stored in external
memory locations 8000h and 8001h respectively. Reflect your result as: If NUM1<NUM2,
SET LSB of data RAM location 2FH (bit address 78H). If NUM1>NUM2, SET MSB of
location 2FH (bit address 7FH). If NUM1 = NUM2, then Clear both LSB & MSB of bit
addressablememory location 2FH.
Procedure:
1. Open Keil uVision software and create a new project.
2. Select the target device and configure the project settings.
3. Write the program code in C or assembly language using the Keil IDE.
4. Build the program and check for errors or warnings.
Conclusion:
Quiz:
1. Explain the purpose of the ANL instruction in 8051 programming.
2. Demonstrate how to perform a bitwise OR operation in 8051 microcontroller
programming using a specific instruction.
3. Illustrate how to clear a bit in a byte using the 8051 microcontroller.
4. Analyze the purpose of incorporating the XRL instruction in 8051 programming.
5. Compare and contrast the ORL and ANL instructions in 8051 programming.
6. Evaluate the effectiveness of the instruction used in 8051 programming to invert all the
bits within a byte.
Suggested Reference: Ch-2, 3, 4& 6, The 8051 Microcontroller and Embedded Systems Using
Assembly and C,2nd edition by Muhammad Ali Mazidi.
Rubrics 1 2 3 4 5 Total
Marks
Rubrics:
1. Group work while performing experiment on computer.
2. Understand the concept while performing coding.
3. Understanding of logical instructions and algorithms.
4. Debugging and testing skills.
5. Quiz answers and submission in time.
Experiment No: 4
To study and perform code conversion programming.
Date:
Competency and Practical Skills: Gain a deeper understanding of the 8051 architecture, the
instruction set, and how to write efficient code for it.
Relevant CO: CO1
Objectives: To learn the skills and techniques required to convert code written in one
programming language into code written in another programming language.
Equipment/Instruments/Software: Keil Microvision software or EdSim51. However, other
software or microcontroller development boards or educational boards may also be used.
Sample Program:
1. Write an assembly language program to convert a packed BCD number into ASCII number.
Procedure:
1. Open Keil uVision software and create a new project.
2. Select the target device and configure the project settings.
3. Write the program code in C or assembly language using the Keil IDE.
4. Build the program and check for errors or warnings.
Conclusion:
Quiz:
1. Define packed ASCII.
2. How many bits are used to represent a packed ASCII character?
3. How many packed ASCII characters can be stored in a byte?
4. How can a packed ASCII character be converted back to its ASCII representation?
5. What is the decimal value of the packed ASCII character 0x47?
6. Which of the following programming languages supports packed ASCII natively?
a) Python b) C c) Java d) All options
7. What is the disadvantage of using packed ASCII?
a) It is not compatible with non-ASCII characters
b) It is more complex to implement than regular ASCII
c) It can lead to loss of data if not implemented properly.
8. Which instruction is used to convert a binary number to a BCD number in 8051
microcontroller?
Suggested Reference: Ch-2, 3, 4 & 6, The 8051 Microcontroller and Embedded Systems Using
Assembly and C,2nd edition by Muhammad Ali Mazidi.
Rubrics 1 2 3 4 5 Total
Marks
Rubrics:
1. Group work while performing experiment on computer.
2. Understand the concept while performing coding.
3. Understanding of different number systems and its conversions.
4. Debugging and testing skills.
5. Quiz answers and submission in time.
Experiment No: 5
To study and perform timer programming.
Date:
Competency and Practical Skills: Develop skills in embedded systems programming, real-time
programming, and microcontroller-based design.
Relevant CO: CO4, CO5
Objectives: Tolearnuse of the built-in timers of the microcontroller for precise timing operations
and control functions
Equipment/Instruments/Software: Keil Microvision software or EdSim51. However, other
software or microcontroller development boards or educational boards may also be used.
Sample Program:
1. Write an ALP to generate a square wave of frequency 72Hz on pin P1.0
Assume XTAL=11.0592MHz. With TH=00, the delay generated is256 x 1.085 µs =
277.76µs. therefore, to generate a delay of (1 / 72) = 138.88ms, the countto be loaded is 250 x
2=500.That is
T = 2 (250 × 256 × 1.085 µs) = 138.88ms, and frequency = 72 Hz
Procedure:
1. Open Keil uVision software and create a new project.
2. Select the target device and configure the project settings.
3. Write the program code in C or assembly language using the Keil IDE.
4. Build the program and check for errors or warnings.
Conclusion:
Quiz:
1. Identify the microcontroller that is commonly used for timer programming.
2. Explain the benefits of using built-in timers in 8051 for timing operations.
3. List some functions that can be controlled using timer programming for 8051.
4. Discuss the significance of precise timing in microcontroller programming.
5. Provide examples of common applications of timer programming for 8051 microcontroller.
Suggested Reference: Ch-2, 3 &9, The 8051 Microcontroller and Embedded Systems Using
Assembly and C, 2nd edition by Muhammad Ali Mazidi.
Rubrics 1 2 3 4 5 Total
Marks
Rubrics:
1. Group work while performing experiment on computer.
2. Understand the concept while performing coding.
3. Understanding of timerin 8051.
4. Debugging and testing skills.
5. Quiz answers and submission in time.
Experiment No: 6
To study and perform serial communication programming.
Date:
Competency and Practical Skills: Gain understanding of serial communication protocols,
programming in assembly language, debugging, hardware interfacing, problem-solving, and
analytical skills.
Relevant CO: CO4, CO5
Objectives: To understand the basic principles of serial communication, configuring the 8051
microcontroller for serial communication, and writing programs to transmit and receive data using
the serial port.
Equipment/Instruments/Software: Keil Microvision software or EdSim51. However, other
software or microcontroller development boards or educational boards may also be used.
Sample Program:
1. Write a program for the 8051 to transfer the message „EARTH‟ serially at 9600 baud, 8 bit
data, 1 stop bit continuously.
Procedure:
1. Open Keil uVision software and create a new project.
2. Select the target device and configure the project settings.
3. Write the program code in C or assembly language using the Keil IDE.
4. Build the program and check for errors or warnings.
Conclusion:
Quiz:
1. State the full form of USART in Serial Communication Programming using 8051.
2. List the programming language used in Serial Communication Programming using 8051.
3. Define baud rate in Serial Communication Programming using 8051.
4. Justify the use of a crystal oscillator in Serial Communication Programming using 8051.
5. Compare UART and USART in Serial Communication Programming using 8051.
Suggested Reference: Ch-2, 3& 10,The 8051 Microcontroller and Embedded Systems Using
Assembly and C,2nd edition by Muhammad Ali Mazidi.
Rubrics 1 2 3 4 5 Total
Marks
Rubrics:
1. Group work while performing experiment on computer.
2. Understand the concept while performing coding.
3. Understanding of serial communication protocol.
4. Debugging and testing skills.
5. Quiz answers and submission in time.
Experiment No: 7
To study and perform temperature sensor interfacing using ADC.
Date:
Competency and Practical Skills: Gain practical skills in microcontroller programming,
sensor and ADC interfacing, troubleshooting, data analysis, circuit design, and technical
communication.
Relevant CO: CO3, CO5
Objectives: To gain hands-on experience in interfacing a temperature sensor with an ADC and
8051 microcontroller, learn the principles of analog to digital conversion, and develop skills in
troubleshooting, data analysis, and technical communication.
Equipment/Instruments/Software: Keil Microvision software or EdSim51. However, other
software or microcontroller development boards or educational boards may also be used.
Sample Program:
1. Write a C program for Digital Voltmeter using 8051 Microcontroller, Voltage Sensor and
ADC0804.
string("Engg."); display(temp1);
delay(2000); display('.');
cmd(0x01);
temp1=(((temp/100)%10)+48);
display(temp1);
}
else if((val>=10.0) &&
(val<100.0))
{
temp=val*100;
temp1=((temp/1000)+48);
display(temp1);
temp1=(((temp/100)%10)+48);
display(temp1);
display('.');
temp1=(((temp/10)%10)+48);
display(temp1);
}
else
{
display(' ');
string("0.0");
}
delay(1000);
}
while(1);
}
Exercises:
1. Write a C program to measure temperature using any given temperature sensor and display
temperature on serial port of computer.
Procedure:
1. Open Keil uVision software and create a new project.
2. Select the target device and configure the project settings.
3. Write the program code in C or assembly language using the Keil IDE.
4. Build the program and check for errors or warnings.
Conclusion:
Quiz:
1. Analyze the purpose of an ADC in temperature sensor interfacing.
2. Evaluate the factors that can affect the accuracy of temperature sensing using an ADC.
Suggested Reference: Ch-2, 3,4 & 13, The 8051 Microcontroller and Embedded Systems Using
Assembly and C,2ndedition by Muhammad Ali Mazidi.
Rubrics 1 2 3 4 5 Total
Marks
Rubrics:
1. Group work while performing experiment on computer.
2. Understand the concept while performing coding.
3. Understanding of ADC interfacing with microcontroller.
4. Debugging and testing skills.
5. Quiz answers and submission in time.
Experiment No: 8
To study and perform LCD interfacing.
Date:
Competency and Practical Skills: Gain practical skills in digital electronics,
microcontrollers, circuit design, troubleshooting, and hardware-software interfacing.
Relevant CO: CO2, CO3
Objectives: To understand the process of connecting and controlling an LCD display with a
microcontroller, and to gain practical experience in implementing the interfacing protocols using
assembly language programming and circuit design techniques.
Equipment/Instruments/Software: Keil Microvision software or EdSim51. However, other
software or microcontroller development boards or educational boards may also be used.
Note: Help for LCD interfacing program can be taken from sample program of experiment 7.
Exercises:
1. Display “IC Engineering” on LCD display interfaced with 8051.
Procedure:
1. Open Keil uVision software and create a new project.
2. Select the target device and configure the project settings.
3. Write the program code in C or assembly language using the Keil IDE.
4. Build the program and check for errors or warnings.
Conclusion:
Quiz:
1. Identify the basic components required for interfacing an LCD display with 8051 and explain
their connections.
2. Differentiate between the various modes of operation of an LCD display.
3. Classify the different types of LCD displays that can be interfaced with 8051.
4. Identify the common issues that can occur during LCD interfacing and list the diagnostic and
resolution steps.
Suggested Reference: Ch-2, 3,4 & 12, The 8051 Microcontroller and Embedded Systems Using
Assembly and C,2ndedition by Muhammad Ali Mazidi.
Rubrics 1 2 3 4 5 Total
Marks
Rubrics:
1. Group work while performing experiment on computer.
2. Understand the concept while performing coding.
3. Understanding of LCD interfacing with microcontroller.
4. Debugging and testing skills.
5. Quiz answers and submission in time.
Experiment No: 9
To study and perform interfacing matrix keypad and 7-segment display.
Date:
Competency and Practical Skills: Develop competencies in microcontrollers, programming,
circuit design, problem-solving, attention to detail, and time management.
Relevant CO: CO2, CO3
Objectives: To learn how to connect and control common input and output devices with a
microcontroller.
Equipment/Instruments/Software: Keil Microvision software or EdSim51. However, other
software or microcontroller development boards or educational boards may also be used.
Sample Program:
1. Program to display "0" on the seven-segment display in assembly language.
#include <reg51.h>
int main()
{
char
seg_code[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90};
int i;
while (1)
{
for (i = 0; i<= 9; i++) // loop to display 0-9
{
P2 = seg_code[i];
DELAY_ms(1000);
}
}
}
3. Interfacing Seven segment display to 8051.
Consider common cathode type seven segment display is connected on P1 of 8051.
END
Procedure:
1. Open Keil uVision software and create a new project.
2. Select the target device and configure the project settings.
3. Write the program code in C or assembly language using the Keil IDE.
4. Build the program and check for errors or warnings.
Conclusion:
Quiz:
1. Describe the differences between a seven-segment display and other types of displays.
2. Discuss the importance of properly debouncing the input signals from a matrix keypad.
3. Analyze the challenges that might arise when interfacing a matrix keypad and a seven-
segment display with a microcontroller, and suggest ways to overcome them.
4. Examine the advantages of using a matrix keypad over other input devices.
5. Define the perception of vision time for human beings.
6. Analyze the role of multiplexing in driving a large number of seven-segment displays with a
single microcontroller.
7. Evaluate the advantages and disadvantages of using a seven-segment display compared to
other types of displays.
8. Propose potential use cases for seven-segment displays in different industries and applications.
Suggested Reference: Ch-2, 3, 4 & 12, The 8051 Microcontroller and Embedded Systems Using
Assembly and C,2ndedition by Muhammad Ali Mazidi.
Rubrics 1 2 3 4 5 Total
Marks
Rubrics:
1. Group work while performing experiment on computer.
2. Understand the concept while performing coding.
3. Understanding of keyboard interfacing with microcontroller.
4. Debugging and testing skills.
5. Quiz answers and submission in time.
Experiment No: 10
To study and perform Interfacing of stepper motor.
Date:
Competency and Practical Skills: Develop skills in embedded systems, assembly
programming, electronics, motor control, problem-solving, attention to detail, and project
management.
Relevant CO: CO3, CO5
Objectives: Togain practical knowledge and skills in embedded systems, microcontrollers, motor
control, and electronics, and to learn how to program a microcontroller to control a stepper motor.
Equipment/Instruments/Software: Keil Microvision software or EdSim51. However, other
software or microcontroller development boards or educational boards may also be used.
Sample Program:
1. Stepper Motor Interfacing with 8051.
P1.0,P1.1, P1.2 and P1.3 pins are used for controlling the phases A1, A2, A3 and A4 ofthe
stepper motor respectively. ULN2003 is used for driving the individual phases of the stepper
motor. ULN2003 is a darlington transistor array used for driving high current loads such as relays
and motors. ULN2003 has 8 individual channels each with 1A capacity.
The program first clears P1.0 for activating phase 1 (A1) of the stepper motor. This
condition is maintained for 65mS and then P1.0 is set for deactivating phase 1 of the motor. Then
the same process is repeated for the port pins P1.1 to P1.3 and the entire cycle is repeated over
and over to make the motor rotate in the clockwise direction. Timer 0 of the microcontroller is
configured in Mode1 for producing the 65mS delay. 65mS is the width of each control pulse.
Exercises:
1. Drawconnection between a unipolar stepper motor and a microcontroller 8051, and develop an
assembly language program to rotate the motor continuously.
Procedure:
1. Open Keil uVision software and create a new project.
2. Select the target device and configure the project settings.
3. Write the program code in C or assembly language using the Keil IDE.
4. Build the program and check for errors or warnings.
Conclusion:
Quiz:
1. List the types of stepper motors that is commonly used for interfacing with a Microcontroller
8051.
2. State the purpose of the LOOP subroutine in the program.
3. Discuss the importance of properly debouncing the input signals from a matrix keypad.
4. Propose modifications that can be made to the program to make the motor rotate in the
opposite direction.
5. Discuss the consequences of having a delay that is too short between the steps of the motor.
6. Discuss any limitations or restrictions associated with using a unipolar stepper motor in
controlling rotational motion.
Suggested Reference: Ch-2, 3, 4 & 17, The 8051 Microcontroller and Embedded Systems Using
Assembly and C,2ndedition by Muhammad Ali Mazidi.
Rubrics 1 2 3 4 5 Total
Marks
Rubrics:
1. Group work while performing experiment on computer.
2. Understand the concept while performing coding.
3. Understanding of stepper motor interfacing with microcontroller.
4. Debugging and testing skills.
5. Quiz answers and submission in time.
Suggested Project / Case study
Suggested Project:
Traffic Light Controller: Design a traffic light controller system using an 8051
microcontroller that can manage the timing and sequencing of traffic signals.
Home Automation System: Develop a home automation system that can control home
appliances and devices using an 8051 microcontroller, such as lights, fans, air
conditioners, and security systems.
Digital Clock with Alarm: Build a digital clock with an alarm function that can be
controlled using an 8051 microcontroller.
Temperature Monitoring System: Develop a temperature monitoring system that can
measure and display the temperature of a room or environment using an 8051
microcontroller.
Security System: Design a security system that can detect and alert you of intruders or
unauthorized access using an 8051 microcontroller.
Water Level Controller: Develop a water level controller system that can automatically
control the water level in a tank or reservoir using an 8051 microcontroller.
Smart Energy Meter: Build a smart energy meter that can monitor and track the energy
consumption of a home or building using an 8051 microcontroller.
RFID Based Access Control System: Develop an access control system that uses RFID
technology to grant access to authorized users using an 8051 microcontroller.
Automatic Door Opener: Design an automatic door opener system that can automatically
open and close doors using an 8051 microcontroller.
Automated Car Parking System: Develop an automated car parking system that can guide
and park cars in a parking lot using an 8051 microcontroller.