Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
UNIT 1
1. What are the different selection criteria of a microcontroller.
UNIT 2
1. Explain interrupt structure of 8051. How priority can be changed?
3. Explain PSW register of 8051. Also explain the stack operation in Push and pop
Instruction.
4. In serial communication, how baud rate can be set? Show the calculations
10. Describe various modes of Timer in 8051. Find out hex number to be loaded in TH0, to
produce delay of 4.096 msec in mode 0 operations. Assume clock frequency of 12 MHz.
17. What are the different type of Jump & call instructions. Illustrate with examples.
UNIT 3
1. Explain power down and Idle mode of PIC microcontroller.
2. What are various oscillator options? How it can be selected using Config
register.
line 2 of LCD.
5. With the help of port structure. Explain why it is necessary to send logic one to TRIS
6. What are the sources of interrupt in PIC18? Explain importance of INTCON register
enable interrupt.
8. Write a C program to generate a square wave having 75% duty cycle using timer interrupt
method. (without use PWM method)
9. Write short notes on external Hardware interrupt.
10. Write a C program to ON the buzzer if INT1 interrupt occurs first time and OFF the
12. Calculate the timer value to generate a delay of 100 ms if oscillator frequency is 48MHz
and prescale value is 256. And write a C program to generate square wave with 200ms
13. What are the steps to program timer 0? Why it is necessary to load TMR0H first and then
TMR0L?
15. Explain the PWM method to generate square wave with variable duty cycle.
16. Explain internal port architecture means port pin structure with latches and tristate
buffers?
18. How many 8 bit and 16 bit timers are present? Difference between counter and timer?
19. What is PR2 register in timer2?
20. How many types of interrupt? What is low priority and high priority interrupt?
21. What is interrupt enable bit, interrupt flag and interrupt priority bit?
22. What is advantage of interrupt over polling?
23. How to set TMR0H and TMROL register? Calculate 1 msec delay?
24. What is timer prescaler?
25. write a program for interfacing button, LED, relay & buzzer as follows when button 1
is pressed relay and buzzer is turned ON and LEDs start chasing from left to right and
when button 2 is pressed relay and buzzer is turned OFF and Led start chasing from
right to left.
26. To display message on LCD without using any standard library function
27. Interfacing 4X4 keypad and displaying key pressed on LCD OR on HyperTerminal
28. Describe in detail different I/O ports available in PIC 18series microcontrollers.
UNIT 5
1. Write a program to transfer message WELCOME serially at baud rate
of 9600 in mode 1.
waveform.
3. Explain the role of TXREG and RCREG register in serial communication. Calculate the
5. A PIC18 is connected to the 10MHz crystal oscillator and Vref+ is connected to 5V, Vref-
is connected to GND. Calculate the conversion tine if conversion clock source is
Fosc/64. Calculate step size and if Vin is 2.44 what is Dout?
8. Explain the use of SSPADD register in master and slave mode of I2C. If microcontroller
is a master in SPI mode then what will be value of TRIS register for SDO (RC7), SDI
22. List the various interrupt sources. Write an initialize program to enable all the interrupts.
23. What do you meant by the prescaling of PIC timers?
UNIT 6
3. Design a system to interface DC motor and one key to PIC microcontroller in such a way
that when key is pressed speed goes on increasing and then goes on decreasing.
5. Explain system design of General Data acquisition system using PIC microcontroller.
6. Consider a heater control problem. Using thyristorised drive one can control the electric
power delivered to the heater. Design microcontroller based module to control firing
angle from 00 to 1700 as per control signal of 4-20 mA obtained from temperature
controller.
7. Write microcontroller program to calculate and display the weight for the Load cell.
Assume suitable data.
8. Explain system design of Position detection using proximity sensor with PIC
microcontroller.
9. Explain system design of PWM based motor control using PIC microcontroller.
10. Explain system design of speed measurement using optical motor shaft encoder
application using PIC microcontroller.