You are on page 1of 6

Microcontroller (EIC-601)

Question Bank (with Reference to Answers)

Unit-I

1. Draw the internal Organization of Computers showing different buses and connections with peripherals.
(F.0-10, p13).

2. Discuss internal block diagram of a CPU. (F.0-11).

3. Compare and contrast Microcontrollers with microcontroller System with proper block diagram.(F1-1 p20).

4. What is the criterion of choosing a microcontroller for any specific application? (P22)

5. Draw the simple block diagram of 8051 microcontroller.(f1-2)

6. List the features of 8051 microcontrollers and compare them with other 8051 family members like 8052,
8031and 8751. (P24).

7. Discuss various internal registers used in 8051 programming.(P29)

8. Describe various Addressing modes of 8051 microcontrollers with examples.(p90)

9. What components are normally put together with the microcontroller into a single chip?

10.Write a program to get x value from P1 and send x2 to P2.(p98)

Unit-II

1. Show the contents of PSW register after the execution of the following instructions.

MOV A,#0BFH

ADD A,#1BH (P42)

2. What are the various steps needed to assemble and running of an 8051 program.
Show the flow chart to create program.(p34)

3. What will be performed by following set of instructions?


MOV SP,#52H

MOV A,#04

MOV R0,#05H

ADD A,R0

PUSH 0E0H

PUSH 0

SET PSW.4

POP 10H

POP OEOH

4. What are the functions of following 8051 pins explain in detail. (P185-186)

i. ALE ii. XTAL2 iii.TXD iv. EA v. PSEN

5. Write a program to generate a square wave of 66% duty cycle. (p81)


6. Write a program routine to generate a delay of (i) 0.1 ms (ii) 1 ms and (iii) 10 ms, using software instructions
only. Assume 22 MHz XTAL frequency. (p65-67)

7. What are different data types used in 8051 assembly programming also write different
assembler directives with example.(p38-39)

8. What are different call and jump instructions available in8051 microcontroller. (p56-
60)

9. Discuss the structure of Flag (PSW) register of 8051. Explain each bit of PSW with
example.(p40)

10.Write a program to get the x value from P1 and calculate the x2 and send it to port2.
The value of x may be in the range of decimal 1-9. (p98)

11.Draw and discuss complete internal memory map of 8051 (p102)

12.Explain Stack operation of 8051. How the stack locations can be changed in 8051.
(p43-44)

UNIT-III

1. Explain the timer operation in 8051. Also discuss the TMOD register in detail.(p202-
203)

2. Find the timer’s clock frequency and its period for various 8051-based systems, with
the following crystal frequencies. (p204)

(a) 12 MHz (b) 16 MHz (c) 110.592 MHz (d) 22MHz

3. Find the value of timer’s registers to generate a time delay of 5 ms assuming crystal
frequency 11.0592 Mhz. Show the program for timer 0 to create a pulse width of 5 ms
on P2.3 (p209-211)

4. Compare and contrast Timer mode1 and Mode 2 Operations (p205-214)

5. Assuming XTAL=22 MHz, write a program to generate a pulse train of 2 seconds


period on pin P2.4. Use timer 1 in mode1. (p212)

6. What are RS-232 standards? How it can be interfaced with 8051. Draw the format of
SCON register; also explain the meaning and uses of each bit.(p241-243)

7. Write the steps for serial data transmission and reception in 8051, using serial
interrupts and without interrupt.(p246-248)

8. Write a program in which the 8051 reads data from P1 and writes it to P2 continuously
while giving a copy of it to the serial port to be transferred serially. Use serial
interrupts. Assume the XTAL=11.0592 MHz Set Baud rate to be 9600.

9. Discuss how the Baud rate of 8051 UART can be set. (p244)

10.Write steps in executing an interrupt, and discuss all interrupt sources available in
8051. (p272-273)

11.Explain how an interrupt can be enabled and disabled in 8051. Also discuss how the
priority of these interrupts is decided.(p274 &289)

UNIT-IV
1. Design a decoding technique to connect an external code memory of 8 KB and
External Data RAM memory of 8 KB with 8051 microcontroller. (p373)

2. How will you interface the external data memory with 8051? Illustrate each signal
clearly. Show the instructions to read/write data from external data memory.(p .371-
374)

3. Write an example; show how and where the instructions MOVX and MOVC are used.

4. Explain the LCD interfacing with 8051 microcontroller, giving LCD pin description and
circuit diagram(p300-304)

5. With a proper circuit diagram explain the interfacing of an HEX keyboard with 8051.
Describe the steps taken in detection of key press and identification of key press, with
flow chart. (p311-314)

6. An 8-bit ADC (804) is to be interfaced with 8051 microcontroller. Draw the complete
circuit diagram along with all necessary components. Write a program in assembly
language for ADC operation. (p324-326)

7. Draw the circuit connection of 8051 with 8- channel ADC 848 and explain the
operation of channel selection and steps involved in analog to digital conversion.
(p333-334)

8. Write a program of sine wave generation using DAC. Also draw the circuit for DAC
interfacing with 8051.9p345-348)

9. Discuss the control of stepper motor using 8051 controller along with driver circuit and
4-step normal sequence.(432-435)

10.Show how the DC motor is interfaced using L293 and discuss PWM technique for
speed control of DC motor.(p441-444)

UNIT-V

1. Draw the block diagram of 8255 PPI and give details about various modes of each port.(from Handouts)

2. Explain the control word format of 8255 for I/O modes and BSR mode. (from Handouts)

3. Show the connection to 8255 with 8051 such that the addresses of Ports A, B, C and
Control register are 1000H, 1001H, 1002H and 1003H respectively. Also explain
different modes available in 8255.(p393)

4. Discuss the features of 8096 family microcontrollers.

5. Write short notes on following 8096 family microcontroller features. (from notes)

(a) High speed input unit

(b) High speed output unit

(c) Input/output

(d) A to D converter.

6. Distinguish between 8096 and 8051 microcontrollers.(from notes)

7. Discuss the features of 68HC11 series of microcontrollers.(from Notes)


8. Write short notes on following 68HC11 microcontrollers features: (from Notes)

(a) Serial communication Interface

(b) Serial peripheral Interface

(c) Low power modes

(d) A to D converters

Note: Referenced Page Numbers are from Microcontroller by Maziedi second edition.

Compiled by:

Manish Kumar Sharma

Asst. Prof.

Deptt. of E.I.

Anand Engineering College, Agra

You might also like