You are on page 1of 4

21222

22471
3 Hours / 70 Marks Seat No.
15 minutes extra for each hour

Instructions : (1) All Questions are compulsory.


(2) Illustrate your answers with neat sketches wherever necessary.
(3) Figures to the right indicate full marks.
(4) Assume suitable data, if necessary.

Marks
1. Attempt any FIVE of the following : 10
(a) State size of internal RAM and ROM in 8051.
(b) Compare embedded ‘C’ programming and assembly language programming.
(c) Describe process of turning LED ON and OFF by simple C language
program.
(d) Draw interfacing diagram of IR sensor with microcontroller 8051.
(e) List different processors available in ARM 7 processor.
(f) Sketch pin diagram of 8051 IC.
(g) Explain any two applications of ARM 7 / TDMI processor.

2. Attempt any THREE of the following : 12


(a) Describe function of following pins :
(i) PSEN (ii) EA (iii) XTAL1 (iv) XTAL2
(b) Write C language program to read P0 and P1. Add the content of P0 and P1
and store the result to P2.
(c) List various interrupts in 8051 microcontroller along with their priorities and
vector locations.
(d) Write program in C language to display “WELCOME” on LCD.

[1 of 4] P.T.O.
22471 [2 of 4]
3. Attempt any THREE of the following : 12

(a) Describe process of interfacing stepper motor to microcontroller 8051 and


also write a program in C language to rotate the motor in clockwise direction.

(b) Differentiate between different processors available in ARM7.

(c) Draw PSW (Program Status Word) register. Give the function of each flag.

(d) Write logical operators in C for AND, OR, EX-OR and NOT for 8051 and
state one example each.

(e) Write C language program to generate triangular wave using DAC 0808.

4. Attempt any THREE of the following : 12


(a) Draw labelled diagram to interface DC motor with 8051.

(b) Explain any two advanced processors available under ARM7/TDMI processor
family.

(c) A key is connected at P3.2 and 8 LEDs are connected to P1 of 8051. Write C
program to display 0 to 255 in binary on LEDs, when a key is pressed.

(d) Draw labelled interfacing diagram to interface relay to 8051 microcontroller.

(e) Write C language program to turn ON and OFF the LED connected to P2.1 of
microcontroller after some delay.

5. Attempt any TWO of the following : 12

(a) Explain following software development tools related to 8051 :

(i) Compiler (ii) Assembler (iii) Debugger (iv) Emulator (v) Editor (vi) Cross-
Compiler

(b) Write C program to generate frequency of 2.5 KHz on P2.7 Use timer 1 in
mode 2 to generate the delay. (Fosc = 12 MHz)

(c) Write C language program to read IR sensor value and put it on port P2 of
microcontroller 8051, also draw the interfacing diagram of it.
22471 [3 of 4]

6. Attempt any TWO of the following : 12


(a) Explain function of each pin of RS-232 with neat diagram, also draw the bit
format of SCON register.

(b) Write C language program to read ultrasonic sensor value and put it on port
P0 of microcontroller 8051, also draw the interfacing diagram of it.

(c) Explain with suitable sketch the interfacing of LED 7 Segment Display with
8051, also write the C language program to display number from 9 to 0 in
descending order.

_______________

P.T.O.
22471 [4 of 4]

You might also like