GUJARAT TECHNOLOGICAL UNIVERSITY
BE- SEMESTER-V (NEW) EXAMINATION - WINTER 2020
--- Content provided by FirstRanker.com ---
Subject Code:2151707 Date:22/01/2021Subject 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.
--- Content provided by FirstRanker.com ---
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
--- Content provided by FirstRanker.com ---
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.
--- Content provided by FirstRanker.com ---
Q.2 (a) Do the comparison between lower level language and higher 03
level language.
(b) Discuss the operation of LCALL & SIMP instruction of 8051. 04
(c) Draw and explain timing diagram of MVI A, 55h instruction for 07
microprocessor 8085.
--- Content provided by FirstRanker.com ---
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
--- Content provided by FirstRanker.com ---
(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.
--- Content provided by FirstRanker.com ---
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.
--- Content provided by FirstRanker.com ---
Q.6 (a) Listout 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.
--- Content provided by FirstRanker.com ---
Q.7 (a) Design an ALP to configure 8255 as input port and display its 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.
--- Content provided by FirstRanker.com ---
(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
--- Content provided by FirstRanker.com ---
(c) Draw interfacing circuit of DC motor with microcontroller 8051. 07
How can we control its speed and direction using PWM?
--- Content provided by FirstRanker.com ---
This download link is referred from the post: GTU B.Tech 2020 Winter Question Papers || Gujarat Technological University