Subject Name: Microcontroller & Interfacing (Biomedical)
Time: 02:30 PM TO 05:00 PM
--- Content provided by FirstRanker.com ---
Instructions:
- Attempt all questions.
- Make suitable assumptions wherever necessary.
- Figures to the right indicate full marks.
Q.1
--- Content provided by FirstRanker.com ---
- (a) List the features of 8051. (03 Marks)
- (b) Define the following terms (04 Marks)
- Stack Pointer
- Polling
- (c) Draw and explain the architecture of 8051 microcontroller in detail. (07 Marks)
--- Content provided by FirstRanker.com ---
Q.2
- (a) What is the significance of EA pin? (03 Marks)
- (b) Draw the Data memory and Program memory organization in 8051. (04 Marks)
- (c) Explain the following terms of C language in detail. (07 Marks)
- Local Variable
- Global Variable
- Arithmetic Operator
- Logical Operator
--- Content provided by FirstRanker.com ---
OR
- (c) With neat schematic show how will you interface 32K RAM & 64K ROM with 8051 Microcontroller. (07 Marks)
--- Content provided by FirstRanker.com ---
Q.3
- (a)
- Why all pins of a port are loaded with value “FF” before using it? (03 Marks)
- Justify why the crystal oscillator frequency in 8051 is chosen as 11.0592Mhz (04 Marks)
- (b) Draw and explain the format of TMOD register of 8051. (04 Marks)
- (c) Explain the Timer operation of 8051 using appropriate diagram. (07 Marks)
--- Content provided by FirstRanker.com ---
OR
- (a) What are the types of serial communication? (03 Marks)
- (b) List the Interrupt sources in 8051. What is the default priority (High to Low) of the interrupts in 8051? (04 Marks)
- (c) With the diagram explain how 8051 interfaced to external memory. (07 Marks)
--- Content provided by FirstRanker.com ---
Q.4
- (a) Explain the PUSH & POP Operation with the help of example. (03 Marks)
- (b) Create a square wave of 50% duty cycle the P2.1 bit. Timer 0 is used to generate the time delay. (04 Marks)
- (c) Explain the Branch instruction with the help of examples. (07 Marks)
OR
--- Content provided by FirstRanker.com ---
- (a) Justify why C Language is widely used for Embedded Programming? Enlist the various data types used in C. (03 Marks)
- (b) Write a C program to toggle the bits of P1 ports continuously with a 250ms delay. (04 Marks)
- (c) Write a C Program to indicate the “Microcontroller” on LCD. Also draw the schematic diagram. (07 Marks)
Q.5
- (a) Define the following loops with the help of example. (03 Marks)
- If else
- While
- For
--- Content provided by FirstRanker.com ---
- (b) Write an ALP to multiply the data in RAM location 20H by the data in RAM location 10H. Put the result in RAM location 19H(MSB) and 1AH(LSB). (04 Marks)
- (c) Assume that XTAL = 11.0592 MHz, write a program to generate a square wave of 2 kHz frequency on pin P2.5. (Timer 1, Mode 0) (07 Marks)
--- Content provided by FirstRanker.com ---
OR
Q.5
- (a) Calculate the delay. (03 Marks)
CLR P22
MOV TMOD, #01--- Content provided by FirstRanker.com ---
HERE: MOV TLO, #3EH
MOV THO, #B8H
SETB P2.2
SETB TRO
AGAIN: JINB TF0, AGAIN--- Content provided by FirstRanker.com ---
CLR TRO
CLR TFO
CLR P22
SIMP HERE - (b) Write a C Program to interface relay with 8051. (04 Marks)
- (c) Write a C Program to Interfacing DC Motor with 8051 using L293D. Also shows the schematic diagram of interfacing. (07 Marks)
--- Content provided by FirstRanker.com ---
GUJARAT TECHNOLOGICAL UNIVERSITY
BE - SEMESTER-V (NEW) EXAMINATION - SUMMER 2019
Subject Code: 2150306 Date: 03/06/2019
--- Content provided by FirstRanker.com ---
Total Marks: 70
This download link is referred from the post: GTU BE 2019 Summer Question Papers || Gujarat Technological University
--- Content provided by FirstRanker.com ---