Download GTU (Gujarat Technological University Ahmedabad) B.Tech/BE (Bachelor of Technology/ Bachelor of Engineering) 2020 Winter 5th Sem 2151707 Microcontroller And Interfacing (Ic) Previous Question Paper
Enrolment No.___________
GUJARAT TECHNOLOGICAL UNIVERSITY
BE- SEMESTER?V (NEW) EXAMINATION ? WINTER 2020
Subject Code:2151707 Date:22/01/2021
Subject Name:Microcontroller & Interfacing (IC)
Time:10:30 AM TO 12:30 PM Total Marks: 56
Instructions:
1. Attempt any FOUR questions out of EIGHT questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. ALP means Assembly Language Program.
MARKS
Q.1 (a) List differences between 8085 microprocessor and 8051
03
microcontroller.
(b) With help of neat diagram describe bus structure of 8085
04
microprocessor.
(c) Define addressing mode. Explain different addressing modes of
07
8051 microcontroller with appropriate examples.
Q.2 (a) Do the comparison between lower level language and higher
03
level language.
(b) Discuss the operation of LCALL & SJMP instruction of 8051.
04
(c) Draw and explain timing diagram of MVI A, 55h instruction for
07
microprocessor 8085.
Q.3 (a) Discuss about 8051 assembler directives.
03
(b) Write a short note on Port-3 of 8051 microcontroller.
04
(c) Develop an ALP to convert packed BCD number into two ASCII
07
numbers.
Q.4 (a) Describe each bit of 8051 microcontroller PSW (flag) register.
03
(b) Write an 8051 C program to toggle all bits of P2 continuously
04
with some delay.
(c) Interface a seven segment common cathode display with
07
microcontroller 8051. Write an ALP to display numbers from 0
to 9 at every second.
Q.5 (a) Describe each bits of IE (Interrupt Enable) register of 8051.
03
(b) Write down the algorithm to detect the pressed key of 4 X 4
04
matrix keyboard.
(c) Write an ALP to send the message "INDIA" to serial port at
07
9600 bps forever. Show the load count calculation.
Q.6 (a) List out 8051 interrupts with their ROM location.
03
(b) Interface DAC 0808 with 8051 microcontroller.
04
(c) Write an ALP to generate square wave of 2 kHz frequency on
07
P1.4 with XTAL = 12MHz. Show time delay calculation.
1
Q.7 (a) Write an ALP to get data from Port A and display its 1's
03
complement on Port B & C. Assume that address of control
register is 83H of IC-8255.
(b) Interface 8 Kbytes RAM with 8051 microcontroller. Draw
04
interfacing diagram and decode memory address range.
(c) Draw interfacing circuit of LCD with 8051 microcontroller.
07
Write an ALP to display "GTU" on LCD.
Q.8 (a) Develop an 8051 C program to get a data byte form P2. If it is
03
less than 80h, send it to P0; otherwise, send it to P1.
(b) Show the schematic of ADC0804 interfacing with 8051.
04
(c) Draw interfacing circuit of DC motor with microcontroller 8051.
07
How can we control its speed and direction using PWM?
*************
2
This post was last modified on 04 March 2021