San complet
e
ne
DAYANANDA SAGAR UNIVERSITY
‘ones
USN No:)
V Semester B. Tech Examinations - December 2019 / January 2020
Course Title: Microcontrollers Course Code: 16EC301
Duration: 03 Hours ia Date: 31-12-2019
Time: 10:00 AM to 01:00 PM Max Marks: 60
Note: 1. Answer 5 full questions choosing one from each Section
2, Each Section carries 12 Marks
3, Draw neat sketches wherever necessary
4. Missing Data may be suitably assumed
SECTION - 1
1a. Compare RISC and CISC architecture. (04 Marks)
1b. Identify whether 8051 microcontroller is RISC or CISC. justify the answer. (04 Marks)
1c. What are direct and indirect addressing modes? Give one example. (04 Marks)
OR
2a. _ Distinguish Von Neumann and Harvard architecture. (04 Marks)
2.b, Label alll the pins of 8051 microcontroller in its pin diagram. (04 Marks)
2.c. Whatare relative and indexed addressing modes of 8051? Give one example. (04 Marks)
SECTION -2
3.a, Identify the flags which are affected by the following instructions and
write down the contents of those flags :
MOV A,#OFSH
ADD A,#OBH
3.b. Assume that RAM locations 40 - 44 have the following values. Develop a
program to find the sum of the values. At the end of the program register A
should contain the lower byte and R7 the higher byte. All values are in hex.
40= (7D); 41=(EB); 42=(C5); 43=(5B); 44=(30) (06 Marks)
(06 Marks)
OR
4a. Explain assembler directives of 8051 microcontroller. (06 Marks)
(P..0),4b.
4c.
5a.
6b.
7a.
7b.
Ba,
8b.
9a
9b.
10.
10.b.
Calculate the period of machine cycle for 8051 microcontroller. Assume
the crystal frequency is 20 MHz.
Apply the crystal frequency of 8051 is 11.0592 Mz and Calculate the
delay for the following:
DELAY: MOV R3, #200
HERE: —DJNZ R3, HERE
RET
SECTION - 3
Ilustrate the steps in executing the interrupts in 8051.
With diagram explain the interfacing 8051 with ADCO848 for channel 2
OR
Summarize the six types of interrupts, its pin, ROM location and flag
clearing.
With diagram explain the interfacing of 8051 with RS232.
SECTION - 4
Explain the installation procedure of Arduino Uno.
Explain the interfacing of stepper motor with Arduino Uno using circuit
diagram.
OR
Explain the interfacing of relay with Arduino Uno using circuit diagram.
Explain the interfacing of LM35 with Arduino Uno using circuit diagram.
SECTION -5
Explain the interfacing of digital RPM meter with microcontroller using
circuit diagram.
Write a program for event counting using assembly language.
or
Summarize the development tools used for microcontroller application
development.
Compare simulator and emulator.
(03 Marks)
(03 Marks)
(06 Marks)
(06 Marks)
(06 Marks)
(06 Marks)
(04 Marks)
(08 Marks)
(06 Marks)
(06 Marks)
(06 Marks)
(06 Marks)
(08 Marks)
(04 Marks)