3 Hours / 70 Marks: Seat No
3 Hours / 70 Marks: Seat No
22471
3 Hours / 70 Marks Seat No.
15 minutes extra for each hour
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.
[1 of 4] P.T.O.
22471 [2 of 4]
3. Attempt any THREE of the following : 12
(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.
(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.
(e) Write C language program to turn ON and OFF the LED connected to P2.1 of
microcontroller after some delay.
(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]
(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]