GTU Electronics and Communication Engineering (Semester 5)
Microcontroller And Interfacing
May 2015
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1 (a) Draw neat pin diagram of 8051.Explain how Port 0 assign as input and Output port with suitable example.
7 M
1 (b) Answer the following
1) Draw and describe 11.0592 MHz Clock.
2) Draw and describe Power-On RESET circuit.
3) Draw and describe interfacing of 8K × 8 Data chip with 8051.
4) Explain Read-Modify-Write feature of logical instruction.
5) Describe Bit v/s Byte addressing mode of 8051.
6) Convert 102D in to signed Hex number.
7) Divide 64H by 2H two times without using DIV instruction.
7 M

2 (a) Prepare Assembly Language Program (ALP) with schematic to interface SPDP Relay with 8051.
7 M
2 (b) Draw and describe interfacing diagram of ADC chip with 8051 microcontroller with necessary program.
7 M
2 (c) Write ALP to blink LED every 5 sec for 2 sec using 1 sec delay.
7 M

3 (a) Describe TMOD register timer modes of 8051 with its timing range.
7 M
3 (b) Draw and describe interfacing diagram of DAC chip with 89C51 microcontroller with necessary program.
7 M
3 (c) Write an 8051 C program to create a frequency of 2500 Hz on pin P2.7. Use Timer 1, mode 2 to create delay
7 M
3 (d) Draw and describe the interfacing of ADC0804 with 8051 microcontroller.
7 M

4 (a) Explain necessary hardware for counter programming with external input for Mode 2.
7 M
4 (b) Write a program to send the message "Happy New Year" to serial port. Assume a Switch SW is connected to pin P1.2.Monitor its status and set the baud rate as follows: If SW = 0, 4800 baud rate otherwise W = 1, 9600 baud rate. Assume XTAL = 11.0592 MHz, 8-bit data, and 1 stop bit.
7 M
4 (c) Why interrupts are required in programming? Explain it with IE Register.
7 M
4 (d) Write a C program to get bit of data from P1.2 and sends it to P2.3, while simultaneously creating a square wave of 50 μs period on pin P2.4. Use Timer 0 to create the square wave. Assume that XTAL = 11.0592 MHz
7 M

5 (a) Explain PSW and PCON Special Function register in details.
7 M
5 (b) What is look up table? Describe its application with microcontroller operation
7 M
5 (c) Write the benefits of LCD over LED display. Draw and describe interfacing 16×2 lines LCD with 8051 microcontroller.
7 M
5 (d) Prepare ALP with schematic and explain VR stepper motor driver circuit using 89C52 microcontroller.
7 M



More question papers from Microcontroller And Interfacing
SPONSORED ADVERTISEMENTS