GTU Electronics and Communication Engineering (Semester 5)
Microcontroller And Interfacing
June 2014
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) Explain the 8051 architecture with block diagram.
7 M
1 (b) Explain following instructions of 51 family microcontroller
(1) CJNE reg,#data
(2) DEC A
(3) RRC A
(4) DEC @R0
(5) ADDC A,R7
(6) SETB C
(7) ANL C,bit.
7 M

2 (a) Explain Serial data transmission modes in detail.
7 M
2 (b) Explain functions of following pins in 51 family microcontroller
(1) PSEN (2) EA(3) ALE (4) RST (5) TxD (6) TI (7) WR
7 M
2 (c) What are the interrupts available in the 8051 microcontroller? Explain interrupt enable (IE) SFR and Interrupt priority (IP) SFR.
7 M

3 (a) Explain various modes of timers in 8051 and explain with assembly language programming auto reload mode.
7 M
3 (b) Write an assembly program to find frequency of signal connected at P3.4. Assume XTAL = 12MHz. Use Timer 0 as a counter, and Timer 1 as time base of 1 sec.
7 M
3 (c) Write a C program using interrupts to do the following:
(i) Generate a 2000 Hz frequency on P2.1 using T0 8 bit auto reload,
(ii) The pulse train is connected to P3.5. Use timer 1 as an event counter to count up a 1- Hz pulse and display it on P0.
Assume that XTAL=12 MHz.
7 M
3 (d) Write an 8051 C program to calculate the checksum bye for given data. Six bytes of hexadecimal data: AAh, 72h, 3Ah, and 1Fh,45h,Cdh.
7 M

4 (a) With interfacing diagram explain seven segment interfacing with 8051 and write a program to display 0 to 9 with appropriate delay between the display of the subsequent Digits.
7 M
4 (b) Write an assembly as well as C program to transfer the message "ELECTION" serially at 2400 buad, 8-bit data, 1 stop bit. Perform this program for 25 times.
7 M
4 (c) Explain with necessary sketch, interfacing the LCD with 8051 and write a C program to Display "WELCOME" in the first line and in centre of the 16×2 line display.
7 M
4 (d) Explain interfacing of RTC with 8051 microcontroller. Write program to get values of hour, minute and second from RTC to RAM locations 60h, 61h and 62h respectively.
7 M

5 (a) Explain interfacing of External 16K EPROM and 16K RAM with 8051. Draw circuit Diagram
7 M
5 (b) Write a program to interface a unipolar stepper motor, by 64° in clockwise direction. Assume the motor has a step angle of 2°. Use the 4-step sequence.
7 M
5 (c) Write a program for speed control of DC motor using PWM.
7 M
5 (d) Explain 8051 interfacing with ADC 0804 in self clocking mode.
7 M



More question papers from Microcontroller And Interfacing
SPONSORED ADVERTISEMENTS