0% found this document useful (0 votes)
311 views3 pages

End Sem.-Question Bank

The document contains 6 units of review questions for the subject of Microcontroller using the PIC18F microcontroller. The units cover topics like PIC18F architecture, memory organization, timers, interrupts, I/O ports, serial communication protocols like I2C, SPI and UART, and interfacing with external devices like LEDs, LCDs, keyboards, EEPROM and RTC. Some questions ask to explain concepts like flag registers, power management modes, reset operation and oscillator selection. Other questions require drawing diagrams and writing code examples for applications like PWM, ADC, serial protocols and traffic light control.

Uploaded by

Ketan Surashe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
311 views3 pages

End Sem.-Question Bank

The document contains 6 units of review questions for the subject of Microcontroller using the PIC18F microcontroller. The units cover topics like PIC18F architecture, memory organization, timers, interrupts, I/O ports, serial communication protocols like I2C, SPI and UART, and interfacing with external devices like LEDs, LCDs, keyboards, EEPROM and RTC. Some questions ask to explain concepts like flag registers, power management modes, reset operation and oscillator selection. Other questions require drawing diagrams and writing code examples for applications like PWM, ADC, serial protocols and traffic light control.

Uploaded by

Ketan Surashe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

End Sem.

Examination Question Bank


Subject - Microcontroller

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.

8. Explain the Following with respect to PIC 18fxxxx microcontroller.

i) Watch dog timer

ii) Power down mode


Unit-IV
1. What do you mean by Prescaling of PIC timer? What is Prescaling? What is the function of
T0CON?

2. Draw and explain functional diagram of timer 1 of PIC also differentiate between
operating function of timer 0, 1, and 2 of PIC.

3. Explain Timer 1 and its applications in PIC 18F?

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.

6. Design any suitable home automation system using PIC18F.

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.

3. Draw and explain MSSP structure of PIC 18f458.

4. Explain the MSSP structure for following mode for serial communication.

i) MSSP structure for I2C in master and slave mode.

ii) MSSP with SPI mode.

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.

9. Design of Traffic light controller system using PIC18F.

You might also like