We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 2
[ il ] 1SEES2
th Semester B.E. Degree Examination, Jan/Feb, 2021
Microcontroller
‘Max. Marks: 100
te: Answer any FIVE full questions, choosing ONE full question fromeach module.
Module-1
Draw and explain the architecture of 8051 microcontroller. cosarts)
Compare the microprocessor and microcontroller. 6 arks)
Explain with the help of diagiam, how to interfce exieral code memory to. 8051
microcontroller, (6Marks)
on
Describe the function of various pins of 80S1 misrocontroller with pn diagram. (0 Marks)
Explain the various addressing modes of 8051 microcontroller examples. (os Marks)
List and explain the criteria for choosing a microcontroller. (04 stars)
~ Modiile-2
Define, tseribler directives, Explain the assembler directives of 8C51 mieronctroller with
examples. (Os Marts)
‘Write a program to loa the actuator with the valie'SSH and complement the ACC 700
times. Costar)
Write program to count positive and negative number in a given aay (OsMart)
on
Explain the operation performed bythe flloWing instructions With amples.
)DINZRI, tel i) DAA ii) MOVX'A, @DPTR iv) SWAP A. (os atarts)
Wirt «program o find fictorial ofa number. (eMart)
‘Write an assembly language program to toggle the bts of port P. (06 Marks)
Module.
‘Write 8081 program to generate square wave With tow = 3ms and te = 1Oms anal pss of
porto. (os ark)
Explain the bit structure of TMOD regis (Marks)
‘Write an 8051 C program to convert FD hex to decimal and disphy the digits on PO, Pl
and P2, (oMarks)
oR
Explain Mode ~ 2 programming of 8051 timer. Describe the diferent steps to program in
Mod 2. (O8Marks)
‘Waite a 8051 C progrém 10 bring in a byte of data serially one bit at atime Via P2.0. The
LSB should come in frst. 6Marks)
‘Write «8051 C program to toggle all the bites of port P2 contimotsly with some delay in
‘between, Use Timer 0, 16 bit mode to generat the delay. (6 Marks)
Lot?0
pee
SEES?
Modules
Compre Interup and Poling. Explain the tps inexscuting an infpe. 08 Marts)
‘Write an 8051 C program to tans the message “YES” Srl a 9600 bau, 8 bt data,
1 stop bit Do this continuously ivory
Explain the importaes of Tl and RI gs (osm)
or * 4
Explain the bit constants of SCON and PCON registers. cos tary
Explain te various handshaking signals of RS232 communication standard. (6 Marks)
‘Write a 8051 C programusing interrupts to generate 10000 Hz frequency on P2.1 using To
{bit auto reload and also use Timer as event counter to count up Itz pulse and display on
PO, Pulse is eonnectedo ExI. Assume XTAL= 11,0592MHz, Baud rate = 9600, (06 Marks)
Module:s
Interface LCD to 8051 microcontroller and write an 8051 assembly/80S1 C program to send
VTU to LCD display using busy fag (os ark)
‘Write an ALP to rotate stepper motor continuously (@6 Marks)
Expl the block diagram of $255 chp. (06 Marta)
oR
Explain the H-Bridge\cdnfiguration of DC} motor and also show interfcing of 8051
microcontroller with DC motor through oo isolator, (8 Mars)
‘Show interfacing between 8051 microcontroller and keyboard and explain scanning and
indenting the key pressed (@6 Marks)
[Explain the 8051 microcontroller iiéficing to ADC. (G6 starts)
20f2