Reg. No.
Question Paper Code : 19057
B.E. / B.TECH. DEGREE EXAMINATION, NOVEMBER / DECEMBER 2022
Seventh Semester
B.E. – Electronics and Communication Engineering
19EC785 - DESIGN WITH RASPBERRY PI
(Regulations: Mepco – R2019)
Duration: 3 Hours Max. : 100 Marks
Answer ALL Questions
PART A – (10 2 = 20 Marks)
BTL, CO
A, CO1 1. The command for installing nano editor in Raspberry Pi is ________. Justify
your answer.
A) Sudo dnf install nano B) Sudo install nano
C) Sudo get install nano D) Sudo apt install nano
U, CO1 2. What is the application in which Raspberry pi board is not recommended?
A, CO2 3. Write the appropriate linux commands to change the permission of file ‘test1.txt’
such that users and group members have read and write access but others only
have read access and to display the contents in the terminal.
U, CO2 4. Closed source bootloaders execute on which part of the RPi processor ______.
Justify your answer.
A) CPU B) GPU C) Micro SD D) GPIO
A, CO3 5. Which of the following target address has the highest priority in data
communication in I2C protocol? Justify your answer.
A) 0x05 B) 0x08 C) 0x64 D) 0x52
A, CO3 6. What will be the output of the following Python code snippet if x = 1? Justify
your answer.
x<<2
A) 2 B) 12 C) 4 D) 1
U, CO4 7. Write short notes on actuators.
U, CO4 8. Write the command for capturing images with Raspberry Pi camera and the
options to change the picture resolution.
1
19057
U, CO5 9. __________ is an open source IoT application and API that can be used to store
data from web sensors. Justify your answer.
A) BananaPi B) MQTT C) ThingSpeak D) BlueOcean
U, CO5 10. Discuss the features of IBM bluemix Internet of Things.
PART B – (5 16 = 80 Marks)
U, CO1 11. a) i. With a neat block diagram, discuss the architecture of Raspberry
Pi 3 board. (10 Marks)
U, CO1 11. a) ii. Discuss about the raspi-config tool and its operation. (6 Marks)
OR
U, CO1 11. b) i. Elaborate on the raspberry pi accessories and their functions in
detail. (10 Marks)
U, CO1 11. b) ii. Illustrate the methods used to connect Raspberry Pi board with the
network. (6 Marks)
U, CO2 12. a) i. Write in detail about the boot sequence in Raspberry Pi with a
neat diagram. (10 Marks)
A, CO2 12. a) ii. Write a Python script to find the second largest number from the
given list of numbers. (6 Marks)
OR
U, CO2 12. b) i. Discuss in detail about building the Linux Kernel Module on the
Raspberry pi 3 with an example. (10 Marks)
A, CO2 12. b) ii. Write a Python script to find the sum of odd numbers from the
given list of numbers. (6 Marks)
U, CO3 13. a) i. Explain in detail about interfacing Raspberry pi GPIO header pins
to turn an LED circuit on or off using wiringPi library with a neat
diagram. (10 Marks)
U, CO3 13. a) ii. With a neat diagram, explain about interfacing ADC MCP3208
with raspberry pi board. (6 Marks)
OR
U, CO3 13. b) i. Elaborate in detail about SPI protocol in raspberry pi board and
interface ADXL345 accelerometer through SPI. (10 Marks)
U, CO3 13. b) ii. Discuss the methods of interfacing raspberry pi to powered DC
circuits. (6 Marks)
2
19057
A, CO4 14. a) i. Interface the raspberry pi board with stepper motor to rotate in full
step mode using necessary Python script. (10 Marks)
U, CO4 14. a) ii. Discuss the openCV library and its features for computer vision. (6 Marks)
OR
A, CO4 14. b) i. Interface the raspberry pi board with arduino slave using UART
and write a program to perform bidirectional data transfer. (10 Marks)
U, CO4 14. b) ii. Detail about signal conditioning required for interfacing analog
sensors with raspberry pi. (6 Marks)
C, CO5 15. a) Design a Raspberry Pi based personal health monitoring system
with a necessary diagram. (16 Marks)
OR
C, CO5 15. b) i. Develop a sensor web server application using Raspberry Pi to
integrate temperature sensor and use it to display the temperature
value. (10 Marks)
C, CO5 15. b) ii. Develop a raspberry pi based system for home lighting control
with a neat diagram. (6 Marks)
3
19057
4
19057