Download AKTU (Dr. A.P.J. Abdul Kalam Technical University (AKTU), formerly Uttar Pradesh Technical University (UPTU) B-Tech 6th Semester (Sixth Semester) 2014-2015 Microcontrollers Question Paper
IlllllJllllgllllljllll?lllllslllllllllIlll ' EEC014
(Following Paper 1]) and Roll No. to be ?lled in your Answer Book)
PAPER ID : 131654
Roll No.
B. Tech.
(SEM. VI) THEORY EXAMINATION, 2014-15
MICROCONTROLLERS
a
Time : 2 Hours] [Total Marks : 50
Note : All questions are compulsory.
1 Attempt any two parts : SX2=10
(a) What is the difference between Harvard
architecture and Von-Neuman computer
architecture ?
(b) Discuss 8051 programming model with a block
diagram?
(c) Name the addressing modes of the following
instructions :
(i) MOVC A,@A+DPTR
' (ii) MUL AB
(iii) MOV B, #O4H
(iv) SUBB A, 45H
(V) DAA
131654] 1 [ Contd...
2 Attempt any two parts :. 5X27=10
(a)
(b)
(C)
Explain the memory organization in 8051 controller.
What is stack? Explain with examples the PUSH
and POP instructions.
Write an assembly program in 8051 to add two
16 bit numbers stored in external memory. After
addition store the results in internal data memory.
3 Attempt any two parts : 5X2=10
(a)
0?)
Name the interrupts of 8051. How can they be
enabled and disabled? How priority can be
assigned?
Explain in detail about SBUF and SCON reg.
With a suitable block diagram explain the all timer
mode and discuss the programming of mode 1
timer.
4 Attempt any two parts : - 5X2=10
(a)
(b)
(0)
131654]
Assume that IP register has all Os. Explain what
happens if both INTO and INTI are activated
at the same time.
Wn'te a program to generate a triangular waveform
using DAC.
Write a program to control AC :
Port 1 is connected to the temperature sensor.
Microcontroller reads temperature sensor every
5 second. Port 3 pin 1 is connected to the air
conditioner. Turn on AC. if temperature is greater
than 22 degree Celsius. (Turn on AC. output port
1 and Turn off A.C. Output port 0). .
2 [ Contd...
L Attempt any two parts :_ 5X2-?10
2
(a) Explain the memory organization in 8051 controller.
(b) What is stack? Explain with examples the PUSH
and POP instructions.
(c) Write an assembly program in 8051 to add two
16 bit numbers stored in external memory. After
addition store the results in internal data memory.
3 Attempt any two parts : 5X2=10
(a) Name the interrupts of 8051. How can they be
enabled and disabled? How priority can be
assigned?
(b) Explain, in detail about SBUF and SCON reg.
(c) With a suitable block diagram explain the all timer
mode and discuss the programming of mode 1
timer.
4 Attempt any two parts : 5X2=10
(a) Assume that [P register has all Os. Explain what
happens if both INTO and INTI are activated
at the same time.
(b) Wn'te a program to generate a triangular waveform
using DAC.
(c) Write a program to control AC :
Port 1 is connected to the temperature sensor.
Microcontroller reads temperature sensor every
5 second. Port 3 pin 1 is connected to the air
conditioner. Turn on AC. if temperature is greater
than 22 degree Celsius. (Tum on AC. output port
1 and Turn off A.C? Output port 0).
131654] 2 [ Contd...
This post was last modified on 29 January 2020