End Sem.-Question Bank
End Sem.-Question Bank
Unit-III
1. State features of PIC18F, Draw and explain the flag structure of PIC18F in detail.
2. Draw and explain an architecture of PIC 18F? Also explain different port of PIC 18fXX
micro controller along with SFR.
3. Explain the data memory organisation of PIC18F, Comment on Bank select register and
access banks.
4. Explain the function of Program Counter in PIC 18fxx microcontroller. What is the width
of Program counter in PIC 18fxxxx microncontrller.How much Program memory can be
interfaced with PIC 18fxxxx Microcontroller? Explain Program memory organization in PIC
18fxx?
5. State different power management modes and explain ideal and slip mode.
6. Explain reset operation for PIC 18f458 in detail. Also explain functional diagram of reset
in PIC18F.
7. What are the various select oscillator options how can it be select using config register.
2. Draw and explain functional diagram of timer 1 of PIC also differentiate between
operating function of timer 0, 1, and 2 of PIC.
4. State the programming steps for generation time delay using timer.
5. Write C18 program to Generate square wave of 50 Hz continuously using timer 0 ,16 bit
and no Prescalar ,XTAL= 10 MHz.
6. Write a program for 2.5 KHz and 75% duty cycle PWM generation with N = 4, XTAL =
10 MHz.
7. Draw and explain the Interrupt structure for the PIC 18fxxxx microcontroller.
8. Explain CCP function in PIC18F. Draw and explain the compare mode of CCP module.
9. Explain the concept of PWM used in PIC 18f458 controller with example.
10. Explain how the speeds of the DC motor control by PWM Also explain by using CCP
mode of PIC 18fxxxx.
11. Draw and explain interfacing of ADC for analog input 0-5V & write a C code for it.
Unit-V
1. Explain in brief I/O Port structure of 18fxx microcontroller. Explain the function of TRISx
and LATx register of I/O Port of pic 18fxx microcontroller.
2. Draw an Interfacing diagram of LED connected to Port B of PIC18f and write Embedded
C Program.
3. Draw and interfacing diagram for LCD and write an embedded c program to display SPPU
on line one with default values.
4. Interface for keyboard to PIC 18xx controller and Write embedded c program to display
key press.What is keyboard debounce?
5. Explain the step wise procedure and design mythology of PIC test board.
7. Write a c code to toggle all bits of Ports B, C and D continuously with a 250 ms delay.
Assume XTAL =10MHz.
Unit-VI
1. Explain RS- 232 and RS- 485 protocols in details in PIC.
2. Explain I2C protocol in details and compare RS- 232 and RS- 485 protocols.
4. Explain the MSSP structure for following mode for serial communication.
5. Write a PIC18f program for UART Communication to send the message " University of
Pune" with a band rate of 19200.Assume that XTAL = 8MHz.
6. State features of RTC and Draw an interfacing diagram with PIC 18fxxxx, Write an
initialisation program.
7. Interfacing RTC DS 1306 using I2C with PIC 18fxx. Draw and explain the flowchart to
display time and date.
8. Draw an interfacing diagram and write a C code for EEPROM and PIC18F.