Semester : SEMESTER 5
Subject : Microprocessors & Microcontrollers
Year : 2019
Term : DECEMBER
Scheme : 2015 Full Time
Course Code : EC 305
Page:2
b)
0)
a)
b)
0)
1192079 Pages:2
Explain difference in counter and timer operation
Draw a block diagram to interface stepper motor with 8051 with a step angle of
2 degree. Also write an assembly language program to rotate a motor 64 degree in
clock wise direction. Use 4 step sequence
What is an interrupt? List the interrupt sources of 8051
Draw the schematic to connect an LED to the 21.0 and develop an assembly
language program to blink the LED continuously
Write an 8051-assembly language program to generate two square waves one of 5
KHz frequency at P1.3, and another of frequency 25 KHz at pin P2.3. Assume
XTAL=22 MHz
RE
Page 2 of 2
(5)
(10)
(5)
(5)
(10)