Sunteți pe pagina 1din 3

Reg. No.

:
Name :

Model Question
Programme : B.Tech(ECE) Semester :
Course : Microcontroller and its Applications Code : ECE3003
Faculty : Slot :
Class nbr
Time : 3 Hours Max. Marks : 100

PART – A(5x8 = 40 Marks)


Answer ALL the questions

Sub.
Q.No. Question Description Marks
Sec.
1. Assume you are a design engineer, given a work to choose a microcontroller for mobile 8
phone and an agriculture irrigation system, which one do you use among 8051
microcontroller and an ARM processor? Validate your choice with a minimum of 5
features.
2. Design 8051 based system with a code memory of size 2k and data memory of 1K. Draw 8
the block diagram of the design with appropriate connections. Comment on your
assumptions.
3. For the given program, illustrate each statement, Finally say, what is the below program 8
trying to achieve.
org 0000h
sjmp start
org 0030h
start:
Mov p0, #0ffH
Mov p1, #0ffH
loop :mov a,P0
setb c
xrl a, P1
RRC A
mov P2.0, C
Mov c, P0.0
ANL c, P1.0
MOV P3.0,C
sjmp loop
end

4. A stepper motor is connected to P2.0 and two LED’s are connected to P2.1 and P2.2. The
LED1 should toggle for every 5 µs and LED2 should toggle for every 25 µs. The speed or
rotation of the stepper motor is transmitted through a serial port connected to Port 3, which
is running at a baud rate of 4800. Assume the 8051 is operating at 12 MHz. To design such
a system:
i. Suggest the timer to be used and the corresponding timer mode required?
2
ii. Calculate the values to be loaded onto the associated timer registers for each timer.
iii. Show with neat block diagram how this operation will be carried out by timer?
3

Page 1 of 3
3

5. a. Explain how Intel Hyper threading technology helps in parallel processing. 2


Highlight at least 6 key features of Intel Skylake micro-architecture in comparison to
b. Broadwell micro-architecture. 6
PART – B(4x15 = 60 Marks)
Answer ALL the questions

6. a. Write an assembly program to compute Z = ∑N i=0 X i Yi where N=7, X and Y are 8 bit 10
numbers Each Xi, Yi represents the bit representation of X, Y numbers respectively.

b. Write an assembly program to add 16 bit number stored at X, X+1 location and Y, Y+1
location, store it in Z, Z+1 location.
5
Assume, X,Y and Z represents memory location such as 40h, 50h and 60h.
7. Write an assembly program to receive data from serial port at a baud rate of 19200 and 15
process the data, find the check sum and transmit the check sum back. The check sum is
calculated by finding the number of zeros in the received data. Write the program in
interrupt mode and assume the crystal runs at 11.0592MHz
8. Assume a Keypad and LCD is connected to 8051. LCD is connected through Port 1 for 15
Data pins and Port 2.0, 2.1 and 2.2 successively for RS, R/W and Enable pin of LCD.
Assume Keypad is connected through Port 3 as per the following chart.

PORT 3.0
Key 1 Key 2 Key 3 Key 4

PORT3.1 Key 5 Key 6 Key 7 Key 8

PORT3.2 Key 9 Key 10 Key 11 Key 12

PORT3.3 Key 13 Key 14 Key 15 Key 16

PORT3.4 PORT3.5 PORT3.6 PORT3.7

Write an 8051 assembly program to display the key pressed. Print the output of this
display only in the second row of the LCD. Assume using 12 MHz crystal oscillator for
this.
9. An LM35 (Temperature measuring sensor) is connected to P1 through an ADC0808 as 15
per the following pin connections. This system monitors room temperature in a home
automation system and switches on the air conditioner if the temperature goes above 24
degree Celsius and switches of the air conditioner if the temperature is below 24 degree
Celsius. Design an 8051 based system to implement this design. The AC is connected to
Port 0.1 to switch On and Off.

Page 2 of 3
The design should include schematic diagram, flow chart and code.
Total Marks [100]


Page 3 of 3

S-ar putea să vă placă și