Professional Documents
Culture Documents
Department of EIE
Question Bank
SUBJECT CODE / NAME: ET7102 MICROCONTROLLER BASED SYSTEM DESIGN
(BTL-1)
2.
Find the value of the PSW register after the execution of the instructions.
MOV A, #95
ADD A, #120
(BTL-3)
3.
(BTL-5)
4.
(BTL-1)
5.
(BTL-1)
6.
(BTL-6)
7.
(BTL-1)
8.
(BTL-6)
(BTL-5)
(BTL-1)
(BTL-2)
Page 1
Department of EIE
(BTL-1)
(BTL-2)
(BTL-5)
(BTL-4)
16. For the SCON register, explain the function of the 8 bit.
(BTL-2)
17. If the crystal frequency is 22MHz, Evaluate what will be the baud rate of
TH1=-3
TH1=-12 with SMOD= 0 & SMOD=1.
(BTL-5)
(BTL-3)
(BTL-1)
20. Discuss about how does 8051 differentiate internal and external memory.
(BTL-2)
PART-B
1.
Along with neat sketch of its functional block diagram, explain the features
available in 8051. Also list its special function Registers.
(13)(BTL-4)
2.
(7)(BTL-5)
(6)(BTL-2)
3.
i)Give the pin details of 8051 and list the features of it.
ii)Discuss the role of timers in counting external event using 8051
microcontroller in detail.
(6)(BTL-1)
(7)(BTL2)
4.
i)With neat diagram Write how interrupts are handled by 8051 with
application example.
ii) Compare JMP & CALL instruction available in 8051.
(7)(BTL-6)
5.
(13)(BTL-4)
6.
(7)(BTL-1)
(6)(BTL-3)
7.
In detail, Explain the various addressing modes for accessing memory with
illustrations.
(13)(BTL-5)
8.
(7)(BTL-2)
(6)(BTL-1)
(6)(BTL-2)
Page 2
Department of EIE
(7)(BTL-2)
(6)(BTL-6)
(7)(BTL-2)
(6)(BTL-6)
(5)(BTL-1)
(8)(BTL-2)
13. With neat diagram, explain the structure of parallel port P0 in 8051 in detail.
(13)(BTL-2)
(13)(BTL-3)
9.
(7)(BTL-2)
(6)(BTL-4)
PART-C
1.
Show the signals at the 8051 pins. Explain meaning of each signal .Also (15)(BTL-5)
indicate when a signal is input and when output? What are the signals
multiplexed at the port P0? What are the signals multiplexed at the port
P3.
2.
3.
Design the interface for an 8 bit DAC to the 8051.Take any popular DAC (15)(BTL-4)
chip of your choice.
4.
Page 3
Department of EIE
UNIT-II
8051 PROGRAMMING
PART- A
(BTL-1)
3.
4.
(BTL-3)
5.
(BTL-3)
6.
(BTL-3)
1.
2.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
(BTL-3)
(BTL-6)
(BTL-3)
(BTL-3)
(BTL-1)
(BTL-1)
(BTL-1)
(BTL-1)
(BTL-2)
(BTL-2)
(BTL-2)
(BTL-1)
(BTL-4)
(BTL-1)
(BTL-4)
(BTL-2)
PART-B
ET 7102 Microcontroller based system Design
Page 4
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
Department of EIE
(i)Write 8051 ALP to arrange ten 8-bit data in the internal RAM stored as an
array from the address50H in descending order.
(ii)Write an ALP for the conversion of analog signal into a digital value
through successive approximation technique.
Write 8051 ALP to generate a square wave of 400Hz in port pinP1.4 by
using timer1 overflow interrupt.
Analyze the importance of the interface operations of RTOS lite along with
its explanation.
i)Write a program to bring in a byte of data serially one bit at a time via P1.0
ii)Write a program to toggle the bits of P1, while creating a time delay of
200ms.
iii)Write a program to get a value from P1 & send the square of its value
to P2 continuously.
i) Explain the interrupt programming available in 8051 micro controller in
brief.
ii) Write a program in 8051 to implement the function D=B2-4*A*C.
i) Write an assembly language program for 8051 to transfer letter A
serially at 4800baud rate continuously. Assume all other required details.
ii) Explain the interrupt structure of 8051 micro controller and how
interrupts are prioritized.
i) Write 8051 assembly language program to read data from P1 when
negative edge triggered at INT0 & supply the data to P2 by masking the
upper 4 bits.
ii)Distinguish types of JUMP & CALL instruction of 8051 with example.
i)Write an assembly language program in 8051 to generate a delay of 10ms.
ii) Assume that 5 BCD data items are stored in RAM locations starting at
40H.Write a program to find sum of all the numbers.
Describe mode-2 operation in serial data COM of 8051 with an assembly
language program.
i) A square wave is being generated at pin P1.2. This square wave is sent to
a receiver connected in serial form to the 8051.Write an assembly language
program that performs the above task.
ii) Describe the implementation of digital thermometer using RTOS.
Discuss in detail about Interrupt facility and its programming technique
using RTOS.
What value should be loaded into timer register so as to have a time delay of
5 ms? Write a program to create a pulse width of 5 ms on pin P2.3.Assume
crystal frequency to be 11.0592MHz.
Analyze the importance of the interface operations of RTOS lite along with
its explanation.
i) Discuss in detail about the two different RTOS for 8051.
ii) Write a program in 8051 to transfer the message HELLO serially at 9600
baud,8 bit data,1 stop bit.
(7)(BTL-6)
(6)(BTL-6)
(13)(BTL-6)
(13)(BTL-4)
(BTL-6)
(3)
(7)
(3)
(7)(BTL-3)
(7)(BTL-6)
(7)(BTL-6)
(6)(BTL-2)
(7)(BTL-6)
(6)(BTL-4)
(7)(BTL-6)
(6)(BTL-6)
(13)(BTL-1)
(7)(BTL-6)
(6)(BTL-1)
(13)(BTL-2)
(13)(BTL-3)
(13)(BTL-4)
(6) (BTL-2)
(7)(BTL-6)
PART-C
ET 7102 Microcontroller based system Design
Page 5
Department of EIE
Write a program for time of the day clock using 8051 software
timer/counter. Use three ports to output HRS, MIN and SEC in BCD.
Write a program to send 50 output pulses at P2.0.Vary the duration of
pulse using NOP.
Write a program for a delay of 1s for the port P2.0=1 If on Comparing
SBUF and R2 they are not equal and delay of 400 ms if equal
An office of public service serves the customers in the sequence of their
arrival. The employees of the office call customers by pressing a switch
on their table which increments and display the number in seven segments
display. Consider Port -0 lines connected to the switches at employees
Table and port-1 to interface seven segment display. Develop a program
for the complete system.
UNIT-III
(15)(BTL-6)
(15)(BTL-6)
(15)(BTL-6)
(15)(BTL-6)
PIC MICROCONTROLLER
PART- A
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
(BTL-1)
(BTL-2)
(BTL-4)
(BTL-1)
(BTL-5)
(BTL-1)
(BTL-1)
(BTL-3)
(BTL-4)
(BTL-3)
(BTL-1)
(BTL-3)
(BTL-4)
(BTL-1)
(BTL-1)
(BTL-3)
(BTL-1)
(BTL-6)
(BTL-6)
(BTL-4)
PART-B
1.
(13)(BTL-3)
2.
Discuss in detail about the function of various port pin of PIC micro
controller.
(13)(BTL-2)
Page 6
Department of EIE
(13)(BTL-3)
(13)(BTL-6)
3.
(13)(BTL-4)
(13)(BTL-3)
(13)(BTL-2)
(7)(BTL-4)
(6)(BTL-2)
(6)(BTL-1)
(7)(BTL-6)
(7)(BTL-1)
(7)(BTL-1)
(7)(BTL-6)
(6)(BTL-3)
(BTL-1)
(6)
(7)
(13)(BTL-3)
(13)(BTL-3)
PART-C
1.
2.
3.
4.
(15)(BTL-6)
(15)(BTL-6)
(15)(BTL-6)
(15)(BTL-6)
Page 7
Department of EIE
PART- A
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
Illustrate how is analog signal is converted into digital signal using PIC.
Brief about flash memory.
What are interrupts available in PIC micro controller?
Which port will support for external interrupt in PIC?
Draw the bit pattern for configuring the USART.
Elaborate the main function of I2C interface.
Differentiate flash memory & EEPROM.
Summarize the special functions of PORTA.
Analyze Why flash memory is mostly preferred than other memory?
What is key debouncing?
Draw the instruction pipeline and mention its significance.
Justify the role of watch Dog timer in PIC microcontroller.
Classify the timer modes in PIC.
Determine the function of I/O ports in PIC.
What is C Compiler?
List the features of USART.
Discover the features of CCP module.
Illustrate the use of CCP module.
Identify the pins/signals used for ADC interfacing.
Sketch the pins/signals used for Sensor interfacing
(BTL-2)
(BTL-2)
(BTL-1)
(BTL-1)
(BTL-3)
(BTL-6)
(BTL-4)
(BTL-2)
(BTL-4)
(BTL-1)
(BTL-1)
(BTL-5)
(BTL-3)
(BTL-5)
(BTL-1)
(BTL-1)
(BTL-4)
(BTL-2)
(BTL-3)
(BTL-5)
PART-B
1.
2.
3.
4.
5.
6.
7.
8.
9.
Page 8
Department of EIE
PART-C
1.
2.
3.
4.
(15)(BTL-6)
(15)(BTL-6)
(15)(BTL-6)
(15)(BTL-6)
1.
2.
3.
(BTL-2)
(BTL-1)
(BTL-1)
(BTL-6)
(BTL-1)
(BTL-4)
(BTL-6)
(BTL-6)
(BTL-1)
(BTL-2)
(BTL-2)
Page 9
Department of EIE
(BTL-1)
(BTL-1)
(BTL-1)
(BTL-4)
(BTL-1)
(BTL-2)
(BTL-3)
(BTL-1)
(BTL-5)
PART-B
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
Page 10
Department of EIE
PART-C
1.
2.
3.
4.
(15)(BTL-6)
(15)(BTL-5)
(15)(BTL-6)
(15)(BTL-5)
Page 11