Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2. Find the value of the PSW register after the execution of the instructions. (BTL-3)
MOV A, #95
ADD A, #120
6. Propose one instruction each using the following addressing modes. (BTL-6)
Immediate
Register
Register indirect
Direct
9. Determine the Value to be loaded in TCON register to start Timer0 & (BTL-5)
Timer1
10. How is the TMOD register modified to make each of the timers operate (BTL-1)
as counters?.
11. Outline the role of TCON register. (BTL-2)
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 (BTL-5)
TH1=-3
TH1=-12 with SMOD= 0 & SMOD=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 (13)(BTL-4)
available in 8051. Also list its special function Registers.
2. i) Explain the operations of mode-1, mode-2 and counter function of timer. (7)(BTL-5)
ii) Briefly discuss about the serial communication in 8051 microcontroller. (6)(BTL-2)
3. i)Give the pin details of 8051 and list the features of it. (6)(BTL-1)
ii)Discuss the role of timers in counting external event using 8051 (7)(BTL2)
microcontroller in detail.
4. i)With neat diagram Write how interrupts are handled by 8051 with (7)(BTL-6)
application example.
ii) Compare JMP & CALL instruction available in 8051. (6)(BTL-2)
5. Explain about the instructions set of 8051 with suitable examples. (13)(BTL-4)
7. In detail, Explain the various addressing modes for accessing memory with (13)(BTL-5)
illustrations.
13. With neat diagram, explain the structure of parallel port P0 in 8051 in detail. (13)(BTL-2)
14. Sketch the pin details of 8051 and explain in detail. (13)(BTL-3)
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.
3. Design the interface for an 8 bit DAC to the 8051.Take any popular DAC (15)(BTL-4)
chip of your choice.
UNIT-II
8051 PROGRAMMING
PART- A
1. What is the result of the following code & where it is kept? (BTL-1)
MOV R4,#25H
MOV A,#1FH
ADD A,R4
2. Find the content of register A after the execution of the following code. (BTL-3)
CLR A
ORA A,#99H
CPL A
3. Write a program to add two sixteen bit numbers. (BTL-6)
PART-B
1. (i)Write 8051 ALP to arrange ten 8-bit data in the internal RAM stored as an (7)(BTL-6)
array from the address50H in descending order.
(ii)Write an ALP for the conversion of analog signal into a digital value (6)(BTL-6)
through successive approximation technique.
2. Write 8051 ALP to generate a square wave of 400Hz in port pinP1.4 by (13)(BTL-6)
using timer1 overflow interrupt.
3. Analyze the importance of the interface operations of RTOS lite along with (13)(BTL-4)
its explanation.
4. i)Write a program to bring in a byte of data serially one bit at a time via P1.0 (BTL-6)
ii)Write a program to toggle the bits of P1, while creating a time delay of (3)
200ms. (7)
iii)Write a program to get a value from P1 & send the square of its value
to P2 continuously. (3)
5. i) Explain the interrupt programming available in 8051 micro controller in (7)(BTL-3)
brief.
ii) Write a program in 8051 to implement the function D=B2-4*A*C. (7)(BTL-6)
6. i) Write an assembly language program for 8051 to transfer letter A (7)(BTL-6)
serially at 4800baud rate continuously. Assume all other required details.
ii) Explain the interrupt structure of 8051 micro controller and how (6)(BTL-2)
interrupts are prioritized.
7. i) Write 8051 assembly language program to read data from P1 when (7)(BTL-6)
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. (6)(BTL-4)
PART-C
1. Write a program for time of the day clock using 8051 software (15)(BTL-6)
timer/counter. Use three ports to output HRS, MIN and SEC in BCD.
2. Write a program to send 50 output pulses at P2.0.Vary the duration of (15)(BTL-6)
pulse using NOP.
3. Write a program for a delay of 1s for the port P2.0=1 If on Comparing (15)(BTL-6)
SBUF and R2 they are not equal and delay of 400 ms if equal
4. An office of public service serves the customers in the sequence of their (15)(BTL-6)
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.
1. What are the groups of instruction set in PIC micro controller? (BTL-1)
2. Using the instruction of PIC micro controller convert BCD to hex. (BTL-2)
3. Classify the addressing modes of PIC micro controller. (BTL-4)
4. What type of architecture is there in PIC micro controller? (BTL-1)
5. Write the benefits of having RISC architecture. (BTL-5)
6. What are modes of operation of timers in PIC micro controller? (BTL-1)
7. Write any four instructions of PIC microcontroller and state in a line the (BTL-1)
operation performed.
8. Summarize the functions of I/O port in PIC micro controller. (BTL-3)
9. Point out the role of watch dog timer in PIC micro controller. (BTL-4)
10. Demonstrate the importance of RTOS for real time application. (BTL-3)
11. What are the features of MP-LAB integrated development environment? (BTL-1)
12. Draw the instruction pipe line & mention its significance. (BTL-3)
13. Point out the role of I/O port of PIC. (BTL-4)
14. Mention the few features of Harvard architecture. (BTL-1)
15. How do you make a port as I/P & O/P port in PIC micro controller? (BTL-1)
16. Write one example for immediate & direct addressing mode in PIC micro (BTL-3)
controller.
17. How will you toggle all the bits of Port A continuously using C18 program? (BTL-1)
18. Write an assembly language program for BCD to binary conversion using PIC. (BTL-6)
19. Write a C18 program to set bit RB0 and send it to RC7 after inverting it. (BTL-6)
20. Differentiate indirect and bit direct addressing mode of PIC. (BTL-4)
PART-B
1. With a neat diagram, explain the architecture of PIC micro controller. (13)(BTL-3)
2. Discuss in detail about the function of various port pin of PIC micro (13)(BTL-2)
controller.
3. Explain the interrupt structure of PIC16F877 indicating all the registers (13)(BTL-3)
associated with the interrupts.
4. With neat sketch explain the flash type ADC and its applications. Also (13)(BTL-4)
explain how to interface it with PIC.
5. Explain in detail, how analog interfacing with PIC can be accomplished (13)(BTL-3)
using the digital I/O functions of PIC.
6. Discuss briefly how serial interfacing is accomplished in PIC. (13)(BTL-2)
7. i.)Compare the different addressing modes of PIC micro controller. (7)(BTL-4)
ii)Explain in detail about the memory organization of PIC (6)(BTL-2)
microcontroller.
8. i).List and explain the hardware features of timer 1 in PIC16F877 with (6)(BTL-1)
neat diagram.
ii).Write a program to read the data, convert to ASCII and displays it in
a micro controller. (7)(BTL-6)
9. (i)Write a note on programming PIC microcontroller using C (7)(BTL-1)
(ii) Describe the role of MPLAB in PIC programming (7)(BTL-1)
10. i) Write a program in PIC micro controller to multiplying N byte (7)(BTL-6)
numbers.
ii) With suitable example illustrate how any one of the built of PIC is (6)(BTL-3)
useful.
11. In detail give an account on (BTL-1)
( i)Timer programming (6)
(ii)RAM/ROM allocation in PIC (7)
12. Explain in detail the instruction set of PIC microcontroller. (13)(BTL-3)
PART-C
1. Write a program to find y where y=x2+2x+5 and x is between 0 and 9. (15)(BTL-6)
2. Write a program to (a) get the data hello, my fellow world citizens from (15)(BTL-6)
program ROM ,(b)calculate the checksum byte ,and (c)test the checksum
byte for any data Error
3. Write a program to get an 8 bit binary number from PORT-B, convert it to (15)(BTL-6)
ASCII, and save the result if the input is packed BCD of 00-0x99.Assume
that PORT-B has 10001001 binary as input.
4. Program Timer-1 to be an event counter .Use 16 bit mode, and display the (15)(BTL-6)
binary count on Port-B and Port-D continuously, set the initial count to
20000.
PART- A
1. Illustrate how is analog signal is converted into digital signal using PIC. (BTL-2)
2. Brief about flash memory. (BTL-2)
3. What are interrupts available in PIC micro controller? (BTL-1)
4. Which port will support for external interrupt in PIC? (BTL-1)
5. Draw the bit pattern for configuring the USART. (BTL-3)
6. Elaborate the main function of I2C interface. (BTL-6)
7. Differentiate flash memory & EEPROM. (BTL-4)
8. Summarize the special functions of PORTA. (BTL-2)
9. Analyze Why flash memory is mostly preferred than other memory? (BTL-4)
10. What is key debouncing? (BTL-1)
11. Draw the instruction pipeline and mention its significance. (BTL-1)
12. Justify the role of watch Dog timer in PIC microcontroller. (BTL-5)
13. Classify the timer modes in PIC. (BTL-3)
14. Determine the function of I/O ports in PIC. (BTL-5)
15. What is C Compiler? (BTL-1)
16. List the features of USART. (BTL-1)
17. Discover the features of CCP module. (BTL-4)
18. Illustrate the use of CCP module. (BTL-2)
19. Identify the pins/signals used for ADC interfacing. (BTL-3)
20. Sketch the pins/signals used for Sensor interfacing (BTL-5)
PART-B
1. Discuss in detail about the following: (BTL-2)
(i)DAC (3)
(ii)Timers (5)
(iii)Interrupt (5)
2. Elaborate on (BTL-6)
(i)sensor interfacing (7)
(ii) Flash memory (6)
3. (i)Discuss in detail about serial I/O port expansion available in PIC (6)(BTL-2)
(ii)Illustrate with suitable example, how I2C communication is carried (7)
out using PIC.
4. Analyze the various functions of Internal and External interrupts of (13)(BTL-4)
PIC18 in detail
5. Explain I/O port addressing, synchronization and interfacing with (13)(BTL-5)
simple output devices.
6. With sketches, show the PIC interfacing with peripherals that includes (13)(BTL-2)
ADCs, timers and sensors.
7. (i) Write a detailed note on the FLASH & EEPROM memories. (7)(BTL-1)
2
(ii) Write a detailed note on I C bus. (6)
8. (i) Examine the function of ADC0804 chip. (6)(BTL-4)
(ii)Write a short notes on ADC interfacing in PIC micro controller. (7)
9. Draw and explain compare, capture and PWM module 1 & 2 of PIC (13)(BTL-5)
PART-C
1. Program the PIC microcontroller to monitor a switch, which is connected (15)(BTL-6)
to pin RD7 and send two messages to the serial port continuously when
SW=0 send YES and SW=1 send YES.
2. Write a C18 program to create frequency of 2500 Hz on pin Port-B.1. Use (15)(BTL-6)
timer3 to create Delay.
3. Write a program to read and display the temperature in both assembly and (15)(BTL-6)
C. consider LM 34 temperature sensor. Assume suitable components
needed.
4. Write a program to (a) write a message to flash memory starting at (15)(BTL-6)
location 400H, and (b)Reads the data from Flash and places it in PORTB
one byte at a time.
1. Give the initialization to be done while programming for LCD display. (BTL-2)
2. What are the aspects taken into account while keyboard is integrated? (BTL-1)
3. How do control signal are applied from the microcontroller For the H- (BTL-1)
bridge connected to a motor.
4. Propose various methods of key debouncing. (BTL-6)
5. What is meant by data acquisition system? (BTL-1)
6. Compare LCD and LED display. (BTL-4)
7. Elaborate the resolution of a converter. (BTL-6)
8. Construct a DC motor control using PWM. (BTL-6)
9. List out the signals used in keypad interfacing. (BTL-1)
10. Give the gate signals for converters. (BTL-2)
11. How frequency is measured using microcontroller? (BTL-2)
PART-B
1. Elaborate the following briefly: (BTL-3)
(i) LCD display Interface (7)
(ii)Keypad interface (6)
2. (i)Describe in detail about motor control using microcontroller. (7)(BTL-1)
(ii)Explain the controlling of AC and DC appliances using microcontroller. (6)(BTL-1)
3. Perform a Case study for controlling home appliances using PIC (13)(BTL-3)
microcontroller in home automation Environment.
4. Describe the following: (7)(BTL-1)
(i)PIC microcontroller enabled motor control. (6) (BTL-1)
(ii)Data Acquisition systems.
5. Interface a 4X4 hexadecimal keyboard with 8051 and program it to find the (13)(BTL-5)
key number that is pressed in the keyboard and send the ASCII code of that
key number to parallel port2 of 8051.
6. With necessary diagram, Explain the case study of generation of gating (13)(BTL-1)
signals for a single phase half controlled rectifier used to control speed of a
DC Motor using any one microcontroller.
7. (i)With a neat flow chart, write a program for keyboard interfacing for 8051. (6)(BTL-6)
(ii)With neat flowchart Write a program for micro controller to generate (7)(BTL-6)
control signal for converter.
8. Analyze how the speed of the motor is controlled if interfaced with a (13)(BTL-4)
microcontroller.
9. Explain the speed control of DC motor using PIC micro controller with (13)(BTL-3)
suitable diagram.
10. Explain how the gate signals (assume the switch is SCR or MOSFET) are (13)(BTL-4)
generated for half bridge single phase converter.
11. Draw and discuss a case study scheme for microcontroller based (13)(BTL-2)
multichannel data acquisition system.
12. (i) Draw and discuss a scheme for micro controller based standalone data (6) (BTL-2)
acquisition system.
(ii)Explain about PWM pulse generation using micro controller. (7)(BTL-2)
13. With a neat diagram, explain how a keyboard is interfaced with 8051 and (13)(BTL-1)
match an 8051 assembly language program for keyboard scanning.
14. Draw and explain the PIC micro controller based data acquisition system. (13)(BTL-2)
Write an assembly language program for realizing temperature control for
thermometer using PIC data acquisition system.
PART-C
1. With detailed schematic design a traffic light control system using (15)(BTL-6)
microcontroller 8051/ PIC Microcontroller.
2. Present a case study of a washing machine control also give necessary flow (15)(BTL-5)
chart and schematic.
3. Design an interface to interface real time clock IC with microcontroller and (15)(BTL-6)
discuss the challenges involved in the design.
4. Present a case study of design of water level monitoring system using (15)(BTL-5)
microcontroller which monitors the water level in mining area and switches a
pump to evacuate water when level reaches a particular level and raises alarm
when the rate of rise of level is very high.