0% found this document useful (0 votes)
301 views2 pages

BEE403

Model question paper For electrical engineering
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
301 views2 pages

BEE403

Model question paper For electrical engineering
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

BEE 403

Model Question Paper-1/2 with effect from 2022-23 (CBCS Scheme)


USN

Fourth Semester B.E. Degree Examination


Subject Title MICROCONTROLLERS
TIME: 03 Hours Max. Marks: 100

Note: 01. Answer any FIVE full questions, choosing at least ONE question from each MODULE.
02. Include suitable comments to your program

*Bloom’s
Module -1 Taxonomy Marks
Level
Q.01 a What are the differences between microcontrollers and microprocessors L1 5

b Compare RISC and CISC systems. L1 5

c Draw the architecture of 8051 micro controller and explain the following blocks L2 10
(a)Program counter and data pointer (b)Accumulator, Register B and CPU
registers (c) Stack and stack pointer

OR
Q.02 a Calculate the memory map of AT89C51 microcontroller with 4 KB of on chip L2 5
ROM .

b Explain the working of flag and PSW register . What is the status of PSW after L2 10
adding (i) 67H with 72H (ii)55H with 88H

c L1 5
Explain the functions of EA and ALE pin .
Module-2
Q. 03 a Define assembler directive and explain the working of ORG 100 and L1 5
ORG 100H directive.

b 20 hex numbers are stored in RAM locations 60H onwards. Write a program to L3 10
find the smallest number in the set and save the result in RAM location 90H.

c Explain the working of SUBB instruction when BORROW =0 and L2 5


BORROW=1.

OR
Q.04 a L2 5
Explain the conflict between stack and bank 1 and how this can be avoided.
b L4 10
RAM locations 50H-59H contain daily temperature readings for ten days , if any
one of the value is 33H, write a program to give its location to registrar R0,else
make R0=0.
c L2 5
Write a program to select bank 2 and load the value 89H in the registers R0-R7.
Module-3
Q. 05 a Explain the difference between unsigned and signed char and int declarations in L2 5
8051 C. Give examples.

b Write 8051 C program to toggle all the bits of P0 and P1 with 100 mS delay. Use L3 10

Page 01 of 02
BEE 403
EX-OR operator.

c Explain different types of logic operations in 8051C. L1 5


OR
Q. 06 a Explain the bit status of TMOD register. L1 5

b Write 8051 program to generate 50 KHz on the pin 2.5. Use timer 1 in mode 1 L4 10
and assume XTAL =22 MHz .Show the count calculations.
c Calculate the values of TMOD for the following modes (i)Mode-1 for timer 1 L1 5
and Timer 0 (ii) Mode 2 for timer 1 and timer 0
Module-4
Q. 07 a Explain the bit status of SCON register. L1 5
b Write 8051C program to send the message ‘VTU’ serially at 9600 baud rate and L4 10
do it continuously. Assume 8 bit data with 1 stop and 1 start bit. Show the
calculations of TMOD,TH1and SCON
c With XTAL=22MHz, calculate the TH1 value for the following baud rates L1 5
(i)1200 (ii)2400

Q. 08 a Compare interrupts with Polling methods . L1 5


b Write a program to generate two square wave: One of 10KHz frequency at pin L4 10
P2.1 and another of frequency 20KHz at the pin 2.3. Assume
XTAL=11.0592MHz. Use timer 0 and timer 1 interrupt. Show the calculations
of ISR address of timer 0 and timer 1interrupt, TMOD, IE, TH0 and TH1.
c Show the instructions to enable the serial interrupt, timer 1 interrupt and external L1 5
hardware 0 interrupt. Show how to disable all interrupts with a single instruction.
Module-5
Q. 09 a For the 14 pin LCD,, explain the working of different pins and draw the L1 10
interfacing diagram of LCD with 8051 microcontroller.
b Draw the interfacing diagram of 0808 ADC with microcontroller and write a L3 10
program to interface ADC . Assume Channel 3 to read the analog data.

OR
Q. 10 a Using DAC interface, write a program to generate staircase waveform. Assume L3 5
number of steps to be 5.

b Draw and explain the control word format of 8255A. L1 5

c Explain construction and working of 4 phase unipolar stepper motor. Write a L2 10


program to run the stepper motor 620 clockwise . Assume step angle of
𝑜
2

*Bloom’s Taxonomy Level: Indicate as L1, L2, L3, L4, etc. It is also desirable to indicate the COs and POs to be
attained by every bit of questions.

Page 02 of 02

You might also like