Micro Controller and Applications - Jun 2014
Electronics & Telecom Engineering (Semester 5)
TOTAL MARKS: 100
TOTAL TIME: 3 HOURS (1) Question 1 is compulsory.
(2) Attempt any four from the remaining questions.
(3) Assume data wherever required.
(4) Figures to the right indicate full marks.
Answer any one question from Q1 and Q2
1 (a) Explain criteria for choosing a microcontroller.(8 marks) 1 (b) Discuss briefly features of Microcontroller and resources in advanced microcontroller.(8 marks) 10 (a) Explain architecture of PIC 18FXX with a suitable block diagram.(8 marks) 10 (b) Draw and explain status register of PIC controller.(8 marks)
Answer any one question from Q11 and Q12
11 (a) Design a microcontroller based DAS to measure speed of synchronous motor and display variation on LCD, make provision of interfacing analog and digital signals such as [load cell, pressure, switches] etc.(9 marks) 11 (b) Draw and explain generalized Data Acquisition System.(9 marks) 12 Design a pressure measurement system using 89c51/PIC to display pressure on 16X2 LCD. Draw complete block diagram, interfacing diagram and write program for the system.(18 marks) 2 (a) (i) Compare the power down and idle mode of 8051 microcontroller.(4 marks) 2 (a) (ii) Differentiate between microprocessor and microcontroller.(4 marks) 2 (b) Draw and explain architecture of microcontroller.(8 marks)
Answer any one question from Q3 and Q4
3 (a) Explain the use of the following registers: (i) DPTR
(ii) Register B
(iv) Accumulator.(8 marks) 3 (b) Explain PSW register of 8051. Write code for selecting bank 2 of 8051.(8 marks) 4 (a) Explain steps to transfer data serially in 8051 and receive data serially. Give the importance of related flags.(8 marks) 4 (b) Write a program to transmit letters 'CITYBUS' to serial COM port using 8051 at 9600 baud rate. Assume XTAL = 11.0592 MHz.(8 marks)
Answer any one question from Q5 and Q6
5 (a) Write a program to copy an array of 10 elements from a location 40 H onwards to external location D050H onwards. Draw the flowchart for the same.(9 marks)
5 (b) Explain different addressing modes for ORL instruction.(9 marks)
6 (a) (i) Write a program to output 55H and AAH alternately, on port 0 and 1.(4 marks)
6 (a) (ii) Write a program to complement the contents of accumulator if P1.5=1.(4 marks)
6 (b) Write an assembly language program to add and subtract two 16 bit hexadecimal numbers stored at the following internal RAM:
40 H-byte 1 of Number 1; 50 H-byte 1 of Number 2
41 H-byte 2 of Number 1; 51 H-byte 2 of Number 2 Store result of addition at 60 H onwards and result of subtraction at 70 H onwards.(10 marks)
Answer any one question from Q7 and Q8
7 (a) Draw a neat diagram to interface 8 bit DAC to 8051 and write an assembly language program to generate a triangular wave on CRO.(8 marks) 7 (b) Move stepper motor 10 steps in clockwise and 10 steps in Anticlockwise direction and then stop the motor. Draw interfacing diagram.(8 marks) 8 (a) Write an assembly language program to generate square wave using DAC. Draw the necessary diagram.(8 marks) 8 (b) Write program for displaying 'GOOD MORNING' on 2nd line of 16X2 LCD.(8 marks)
Answer any one question from Q9 and Q10
9 (a) Explain capture mode and compare mode of PIC microcontroller.(8 marks) 9 (b) Write embedded C program for PIC to toggle bits of port B, Port C and port D continuously with delay.(8 marks)