Professional Documents
Culture Documents
22471
3 Hours / 70 Marks Seat No.
Marks
(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.
[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.
(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]