Professional Documents
Culture Documents
Be Winter 2022
Be Winter 2022
Be Winter 2022
___________
Q.2 (a) Explain the function of pin number 29, 30 & 31 of 8051 microcontroller. 03
(b) Explain RAM memory space allocation in 8051. 04
(c) Describe 8051 assembler directives. Explain assembling and running an 07
8051 program using flow chart.
OR
(c) Write an assembly program to transfer block of 10 data bytes starting 07
from internal memory location (40h) to external memory location
(1500h).
Q.4 (a) Explain Interrupt Enable register with function of each bit. 03
(b) Explain steps to recognize key pressed in 4x4 matrix keyboard using 04
flow chart.
(c) Write assembly program to generate square wave of 1 KHz frequency 07
on pin P1.0 using timer. Assume crystal frequency as 12 MHz. Show
delay calculation.
OR
Q.4 (a) Explain TMOD register with function of each bit. 03
(b) Explain interfacing of ADC with 8051 microcontroller. 04
(c) Write assembly program to transfer “GTU” serially at 9600 baud 07
continuously with 8-bit data and 1-stop bit.
1
(c) Interface stepper motor and one switch with microcontroller 8051. 07
Develop an 8051 program to rotate it in clockwise if switch is pressed
else rotate it in anticlockwise direction.
OR
Q.5 (a) Describe DC motor interfacing with 8051 briefly. 03
(b) Write a C program to send out value 95h serially one bit at a time via 04
P2.2. The MSB should go out first.
(c) Explain LCD with each pin functions. Develop an 8051 program to 07
display “MCI” continuously on LCD.
*************