You are on page 1of 4

12223

22471
3 Hours / 70 Marks Seat No.

Instructions : (1) All Questions are compulsory.


(2) Figures to the right indicate full marks.
(3) Assume suitable data, if necessary.
(4) Use of Non-programmable Electronic Pocket Calculator is permissible.
(5) Mobile Phone, Pager and any other Electronic Communication
devices are not permissible in Examination Hall.

Marks

1. Attempt any FIVE of the following : 10

(a) State any four features of 8051 microcontroller.

(b) List any two input and two output devices that can be interfaced with 8051
microcontroller.
(c) Define pin functions of LM35.
(d) State any four embedded C data types.
(e) State alternate functions of port 3 of 8051 microcontroller.
(f) State & explain any two development tools in brief.
(g) Sketch interfacing of LM35 with 8051 microcontroller.

2. Attempt any THREE of the following : 12


(a) Draw internal memory organization of 8051 and explain.
(b) List any four Embedded C directives and state its function.
(c) Differentiate between embedded C and Assembly language.
(d) Name the SFR which is used to start the timer. State the function of any 3 bits.

[1 of 4] P.T.O.
22471 [2 of 4]
3. Attempt any THREE of the following : 12
(a) Compare microprocessor and microcontroller on the basis of following data :
(i) Internal memory
(ii) Serial Port
(iii) Flags
(iv) Interrupts
(b) Develop a C language program to get a byte of data from port P0. If it is less
than 100, send it to P1 otherwise send it to P2.
(c) Draw IE register. Describe function of each bit.
(d) Develop C language program to rotate DC motor in clockwise and
anticlockwise direction.

4. Attempt any THREE of the following : 12


(a) Write C language program to get bit on P1.0 and send it to P2.7 after
inverting.
(b) Write C language program to toggle all bits of port P2 continuously with
500 ms delay. Use timer 1 mode 1.
(c) Differentiate between different processors available in ARM 7 (any 4 points).
(d) Write C language program to generate sawtooth waveform using DAC.
(e) Develop C language program to display digits from 9 to 0 with 5 ms delay on
7 segment LED display interfaced with 8051.

5. Attempt any TWO of the following : 12


(a) Write a C language program to read PIR motion sensor value and send it to
port P0 of 8051 microcontroller. Also draw interfacing diagram.
(b) Interface a switch to P1.0 and eight LEDs to port 0 of 8051 microcontroller.
Write a C language program to operate 8 LEDs. When switch is ON first 4
LEDs should blink five times and when switch is OFF remaining 4 LEDs
should blink 5 times. Draw interfacing diagram.
(c) Interface stepper motor with 8051 microcontroller. Write C language program
to rotate stepper motor 360º clockwise by half step sequence and 360º
anticlockwise by full step sequence. Draw interfacing diagram.
22471 [3 of 4]
6. Attempt any TWO of the following : 12
(a) Explain any two advanced processors available under ARM7TDMI processor
family. List any four applications of ARM7TDMI processor.
(b) Develop C language program to read voltage through ADC and display it on
16  2 LCD display. Draw interfacing diagram.

(c) Write C language program to read a data bit from P1.7 and send it to P1.0.
While simultaneously (i) Create a square wave of 200 S period on P2.5 and
(ii) Send letter ‘A’ to the serial port. Use timer 0.
Assume crystal frequency = 11.0592 MHz. Use baud rate = 9600.

_______________

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

You might also like