Microcontrollers and Embedded Systems (MES) SPPU Endsem Question Paper May 2023
All 8 questions from this SPPU endsem paper, as printed. Read them here or open the PDF.
- Subject code
- 303145A
- Pattern
- 2019 pattern
- Exam
- Endsem
- Session
- May 2023
- Max. marks
- 70
- Time
- 2½ Hours
- Semester
- I
- Paper code
- [6003]-365
Printed for: T.E. (Electrical)
Instructions to the candidates
- Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8.
- Neat diagrams should be drwan whenever necessary.
- Figures to the right side indicate full marks.
- Use of calculator is allowed.
- Assume suitable data if necessary.
Questions
Q1
- a)[9]
Explain the steps of PWM programming in CCP module. Find the minimum and maximum PWM frequency allowed for XTAL=10MHz.
Also asked:Nov 2023
- b)
Find PR2, CCPR1RL, DC1B1: DC1B0 value for the following PWM frequencies with 75% duty cycle. Assume XTAL=10MHz
- a)
2KHz with prescalar=16
- b)[8]
5KHz with prescalar=4
OR- a)
Q2
Q3
- a)[9]
- b)[9]
Write a C program for PIC18 toggle the LED connected to pin 7 of the PORT B every time INT0 is activated by a switch connected at INT0(RB0). Assume XTAL=10MHz. 2
Also asked:May 2025
ORQ4
- a)[9]
State steps the microcontroller does perform upon activation of an interrupt.
Also asked:Nov 2023
- b)[9]
Write a program in C language using Timer0 to generate square wave form on PORTB.5. Assume PORT C is connected to 8 switches and PORT D to 8 LEDs and same data is being transferred from PORT C to PORT D.
- a)
Q5
- a)[8]
Explain how current is measured using PIC l8 microcontroller. Write a program to measure current and display it on PORT D.
- b)[9]
Explain the programming of PIC 18 ADC using interrupt with suitable example.
OR- a)
Q6
- a)[8]
Explain features of on-board ADC of PIC18F458. Also explain in detail the functions of ADIF and ADFM bits.
Also asked:May 2025
- b)[9]
Draw interfacing diagram of 16x2 LCD with PIC18 microcontroller and explain the functions of various pins of LCD.
- a)
Q7
- a)[9]
Explain the interrupt flags bits used in transmission and reception modes of USART.
- b)[9]
OR- a)
Q8
- a)[9]
Write a note on SPI protocol. Also state its applications.
- b)[9]
This part has equations that don’t show as text. Open the PDF to read it.
- a)