Assignments
Assignment – 1
• Define embedded system. Give any two examples of embedded systems used in
medical devices.
• Differentiate between embedded system and general-purpose computer.
• Write short note on characteristics of embedded systems.
• List the major components of an embedded system.
• Define microcontroller. Write any two applications of PIC microcontroller.
• What is watchdog timer? Why is it used in embedded systems?
• List different types of memory available in PIC18F458 microcontroller.
• Define oscillator circuit in microcontroller.
• Explain classification of embedded systems with suitable examples.
• Explain the architecture of PIC18F458 microcontroller in brief.
• Describe the pin diagram of PIC18F458 microcontroller.
• Explain program memory and data memory organization of PIC18F458.
• Explain timer module of PIC18F458 microcontroller.
• Write short note on reset circuit and oscillator circuit of PIC18F458.
• Explain I/O port configuration in PIC18F458.
• Explain the role of PIC development tools in embedded system design.
• Explain the architecture of PIC18F458 microcontroller with neat block diagram.
• Explain memory organization of PIC18F458 in detail.
• Describe configuration registers of PIC18F458 and their importance in microcontroller
programming.
• Explain timers, watchdog timer, oscillator and reset circuits of PIC18F458.
• Explain the complete development process of PIC-based embedded system using
suitable tools.
• Compare microprocessor and microcontroller in detail.
• Design a simple PIC18F458-based embedded system for temperature monitoring and
explain its block diagram.
• Explain the role of embedded systems in biomedical and medical devices with suitable
examples.
Assignment – 2
• Define data type in C. List different data types used in embedded C.
• Write the syntax of delay function used in PIC programming.
• What is bit-addressable I/O programming?
• List the steps for configuring a port as input or output in PIC18F458.
• What is relay interfacing? Why is driver circuit required?
• Write a C program to toggle an LED connected to PIC18F458.
• Explain switch interfacing with PIC18F458 using suitable diagram. Also write a C program.
• Explain 7-segment display interfacing with PIC18F458. Also write a C program.
• Explain ADC interfacing with PIC18F458 microcontroller. Also write a C program.
• Explain LCD interfacing in 4-bit mode with PIC18F458. Also write a C program.
• Explain keypad interfacing with PIC18F458. Also write a C program.
• Write an embedded C program to interface switch and buzzer with PIC18F458. Buzzer should turn ON when switch is pressed.
• Design a PIC18F458-based temperature monitoring system using LM35 sensor and LCD. Explain hardware connections and write the program.
Assignment – 3
• What is Raspberry Pi? Write any two applications.
• List different generations/models of Raspberry Pi.
• List any four operating systems supported by Raspberry Pi.
• What is SSH? Why is it used in Raspberry Pi?
• What is VNC? Write its application.
• List basic safety precautions while handling Raspberry Pi.
• Compare Raspberry Pi with microcontroller.
• Explain Raspberry Pi architecture in brief.
• Explain memory organization of Raspberry Pi.
• Explain GPIO pin configuration of Raspberry Pi.
• Explain common Linux commands used in Raspberry Pi terminal.
• Explain Raspberry Pi 5 architecture with neat block diagram.
• Write a Python program to blink an LED connected to Raspberry Pi GPIO pin. Explain the circuit and program.
• Write a Python program to read switch input and control LED using Raspberry Pi GPIO.
• Design a Raspberry Pi-based patient monitoring system and explain its hardware and software workflow.
Assignment – 4
• Write a Python program to interface LED, switch and buzzer with Raspberry Pi. Buzzer should turn ON when switch is pressed.
• Explain ultrasonic sensor interfacing with Raspberry Pi and write a Python program to measure distance.
• Explain DHT11 sensor interfacing with Raspberry Pi and write a Python program to display temperature and humidity.
• Explain PIR sensor interfacing with Raspberry Pi and write a Python program for motion detection.
• Explain relay interfacing with Raspberry Pi and write a program to control a device using relay.
• Explain servo motor interfacing with Raspberry Pi and write a Python program to rotate servo at 0°, 90° and 180°.
• Explain stepper motor interfacing with Raspberry Pi using driver circuit and write a program for clockwise and anticlockwise rotation.
• Design a Raspberry Pi-based automatic sanitizer dispenser using ultrasonic sensor and servo motor. Explain block diagram, working and program logic.
Assignment – 5
• List basic image processing operations.
• Define image resizing and cropping.
• What is thresholding?
• Define edge detection.
• What is contour detection?
• Explain installation of OpenCV on Raspberry Pi.
• Explain image reading, displaying and saving using OpenCV.
• Explain image resizing, cropping and rotation with suitable examples.
• Explain grayscale and negative image conversion.
• Explain image thresholding and image filtering.
• Explain OpenCV installation and configuration on Raspberry Pi.
• Write a Python program using OpenCV to read an image, convert it into grayscale and display the output.
• Explain thresholding techniques and write a Python program for binary thresholding.
• Explain edge detection and contour detection with suitable OpenCV program.
• Write a Python program to capture real-time video using Pi Camera and display it on screen.
• Explain arithmetic and bitwise operations on images with suitable examples.
• Design a Raspberry Pi-based real-time object detection system. Explain camera interfacing, image acquisition, preprocessing and result display.