DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
ASSIGNMENT II
ACADEMIC YEAR: 2025-2026 YEAR/ SEM/CLASS: II /03/CSE
SUBJECT CODE&NAME: 24EC501- Microprocessors, Microcontrollers and Interfacing
Techniques
S. Assignment Questions K CO
No. Level
1 Design and implement a program using Keil IDE for the 8051 K3 CO3
microcontroller that utilizes Timer 0 in mode 1 (16-bit timer mode) to
generate an interrupt every 1 millisecond. Explain how the timer and
interrupt are configured and write an interrupt service routine to toggle an
LED connected to Port 1.0.
2 Develop a program to control an automatic lighting system using the 8051 K3 CO3
microcontroller where a counter increments each time a motion sensor
triggers an interrupt. When the counter reaches a predefined value, the
lights should turn on for a specified duration using Timer 1. Describe the
timer, counter, and interrupt setup in your program.
3 Explain the interfacing process of a 7-segment display with the 8051 K3 CO4
microcontroller. Write a program in Keil IDE to display numbers 0 to 9
sequentially on the 7-segment display with a one-second delay between
each digit.
4 Describe the interfacing of an ADC0808/0809 with the 8051 K3 CO4
microcontroller for temperature sensing applications. Write a program to
read the analog temperature sensor value, convert it to digital, and display
the temperature on an LCD.
5 Discuss the working principle and interfacing of a stepper motor with the K3 CO4
8051 microcontroller. Develop a program to rotate the stepper motor in
clockwise and anticlockwise directions with defined step delays.
6 Compare the serial communication protocols USART, RS232, I2C, and K3 CO4
SPI. For a smart home system, select the most appropriate protocol for
sensor data communication and justify your choice based on factors like
speed, complexity, and distance.
7 Write and simulate an assembly language program for the 8085 K3 CO5
microprocessor to blink an LED connected to a specific port with a delay
of approximately one second using timer-based delay generation. Explain
the delay calculation.
8 Design and program an 8051 microcontroller system to interface a 4x4 K3 CO5
matrix keypad and LCD. The system should display the pressed key value
on the LCD in real-time. Provide the detailed interfacing and code
explanation.
9 Develop a program for serial communication between the 8051 K3 CO5
microcontroller and a PC using UART. Explain the setup for baud rate
generation, data transmission, and data reception with an example of
sending sensor data to the PC.
10 Create a microcontroller-based automation project that controls a DC K3 CO5
motor speed based on analog sensor input using ADC. Describe the
interfacing of the ADC with the microcontroller, write the control
algorithm, and explain how motor speed is varied according to sensor
values.
ASSIGNMENT RUBRICS
Sl.
Criteria Marks Awarded Marks
No
1. Understanding of Concepts 5
2. Accuracy and Interpretation 5
3. Structure, Neatness & Visual Elements 3
4. Innovation and Independent Thinking 3
5. Timely Submission 4
Total 20
NAME :
[Link] :
SUBMISSION DATE :
Signature of the Staff
PROJECT II
ACADEMIC YEAR: 2025-2026 YEAR/ SEM/CLASS: II /03/CSE
SUBJECT CODE&NAME : 24EC501- Microprocessors, Microcontrollers and Interfacing
Techniques
S. Questions K CO
No. Level
1 Design and implement a binary counter using LEDs connected to Port 1 of K3 CO3
the 8051 microcontroller that counts from 0 to 255 repeatedly. Explain
how the output represents binary numbers.
2 Develop a simple calculator system using six-digit seven-segment displays K4 CO4
interfaced with an 8051 microcontroller and a hexadecimal keypad.
Program the microcontroller to perform addition, subtraction,
multiplication, and division operations.
3 Write an embedded C program to display your full name on a 16x2 LCD K3 CO4
screen using the 8051 microcontroller. Explain the LCD initialization and
data display process.
4 Design a digital thermometer using an LM35 temperature sensor and an K3 CO4
ADC (e.g., ADC0808) interfaced with the 8051. Write a program to read
the sensor value, convert it to temperature, and display the result on an
LCD.
5 Develop an ARM-based project to transmit the message "Hello World" K4 CO4
using internal UART. Explain the UART initialization and transmission
process.
6 Create a system using an external interrupt on the 8051 microcontroller to K4 CO4
toggle an LED on and off whenever a switch is pressed. Describe the
interrupt configuration and handling routine.
7 Build an interrupt-driven program to detect a button press on the 8051 and K3 CO4
toggle an LED connected to it. Explain the advantages of using interrupts
for this application.
8 Interface a stepper motor with the 8051 microcontroller and develop a K3 CO4
program to rotate it clockwise and anticlockwise with user-controlled
speed adjustment.
9 Design a system to transmit sensor data from the 8051 microcontroller to a K3 CO4
PC via UART communication. Write code to display the sensor data in
real-time on a serial monitor.
10 Compose an assembly language program for the 8086 microprocessor to K3 CO4
check whether a given 16-bit number stored in memory is odd or even.
Explain the logic and branching instructions used.
11 Demonstrate I2C communication between two microcontrollers (8051 as K3 CO4
master and Arduino as slave). Write programs to transfer data from the
master to slave and vice versa.
12 Create an SPI communication project between two 8051 microcontrollers K3 CO4
to exchange temperature data read from a sensor interfaced with one
microcontroller.
13 Build a security lock system using a keypad and 16x2 LCD interfaced K4 CO4
with the 8051. The system should validate password input and display
access granted or denied messages.
Write an embedded C program to read the status of a push-button switch K3 CO4
14 on an 8051 microcontroller and turn on or off an LED accordingly.
Include debounce logic in your program.
15 Design and implement a speed-monitoring system using IR sensors and K3 CO5
display the detected speed on an LCD connected to the 8051
microcontroller.
16 Develop a program for the 8051 microcontroller to generate accurate K3 CO5
timer-based delays for precise LED blinking sequences, explaining the
timer configuration in detail.
17 Interface and control a DC motor using an H-bridge with the 8051 K3 CO5
microcontroller. Write a program to vary motor speed based on an analog
input sensor.
18 Create a project to display scrolling text on a 16x2 LCD with the 8051 K3 C05
microcontroller. Write the embedded C code for the scrolling display
effect.
19 Design a keypad-controlled menu system on an LCD using the 8051 K3 CO5
microcontroller, allowing users to select different sensor readings or motor
control modes.
20 Develop an embedded system that uses ADC data to control the brightness K3 CO5
of an LED using PWM generated by the 8051 microcontroller. Explain the
ADC conversion and PWM generation processes.
PROJECT RUBRICS
Sl. Awarded
Criteria Marks
No Marks
1. Problem Understanding 5
2. Application of Concepts 5
3. Innovation / Creativity 4
Use of Tools / Modeling Accuracy/Feasibility / Real- 4
4.
World Relevance
Presentation / Communication /Conclusion & 2
5.
Recommendations
Total 20
NAME :
[Link] :
SUBMISSION DATE :
Signature of the Staff