Sie sind auf Seite 1von 33

SHIRDI SAI ENGINNERING COLLEGE

SHIRDI SAI ENGINNERING COLLEGE


SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE

Seventh Semester B.E. Degree Examination, May/June 2010


Microcontroller and Applications

Note: Answer any FIVE full questions.


a. With a neat block diagram, explain the architecture of 8051. "(12 Marks)
b. Differentiate: i) Microprocessor and microcontroller ii) RISC and CIse (08 Marks)

a. Differentiate between the following instructions of 8051 microcontroller:


i) MOV X and MOVC ii) Bit level ANL and byte level ANL
iii) SWAP and XCHG iv) LCAL and ACAL (08 Marks)
b. Draw the schematic to interface external ROM and RAM to 8051. (08 Marks)
c. Write an ALP to set the carry flag to '1', if the number in register A is even and ~t the carry
flag to '0' ifthe number in register A is odd. (04 Marks)

a. How stack operates in 8051 CPU? Mention its relevant instructions. (06 Marks)
b. Write a n ALP program to find the square root of a number and store in Ro. (06 Marks)
c. With examples, explain different addressing modes used in 8051. (08 Marks)

a. Explain different types of jump instructions in 8051. (06 Marks)


b. Explain the timer structure of 8051 with TMOD register. (08 Marks)
c. Assuming XT AL = 16 MHz, indicate when TFO flag is raised for the following program :
MOV TMOD# 01
MOVTLO# 12H
MOVTHO# 1 CH
SET B TRO. (06 Marks)

a. For the given decimal number 99, determine packed BCD and unpacked BCD
representation. Write a programme to add 10 BCD numbers stored in successive memory
locations starting from 20 h in internal RAM locations and store the result at address 40 h
and 41 h. (10 Marks)
b. Explain the operation of timer 1 in 8051 in mode 1. Give the relevant mode word. (06 Marks)
c. List the advantages of serial communication over parallel communication. (04 Marks)

a. Write RS.232 standard for DB9 pinout. (08 Marks)


b. Write an ALP to transfer the message "EXAM" serially at 9600 band, 8 bit data with 1 start
bit and 1 stop bit. (08 Marks)
c. Specify the role of Max 232. (04 Marks)

a. What are external interrupts? How they are handled in 8051? How to set INT 1 as edge
triggered interrupt? (08 Marks)
b. Write a 8051 program using interrupts to do the following:
i) Receive the data serially and send it to Po.
ii) Read port PI transmit data serially and give a copy to P2.
iii) Make timer 0 generate a square wave of 5 kHz frequency on Po.!.
Assume that XTAL = 11.059 MHz. Set the band rate at 4800. (08 Marks)
c. Write note on 8051 microcontroller development toots. (04 Marks)

8 a. With a block diagram, explain the operation of ADC804 interfacing with ALP to 8051.
(10 Marks)
b. Explain interfacing an LCD to the 8051 and write ALP for the same. (10 Marks)
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE

Das könnte Ihnen auch gefallen