Unit 1: Setting Up and GPIO Handling - Subjective Questions

ECE140 — Workshop On Iot For Digital Society • Practice Questions with Detailed Answers

20 questions

1

Define the Raspberry Pi and explain its importance in Internet of Things applications.

2

Describe the procedure for downloading and installing the Raspberry Pi Imager.

3

Explain how Raspberry Pi OS can be installed and initially configured using Raspberry Pi Imager.

4

Why should Raspberry Pi OS be updated after installation? Describe the commands and precautions involved.

5

Describe the installation and configuration of RealVNC for remotely accessing a Raspberry Pi desktop.

6

Explain the purpose of the Raspberry Pi GPIO header and classify its major pin functions.

7

Distinguish between physical pin numbering, BCM GPIO numbering, and wiring-library numbering on a Raspberry Pi.

8

Describe how to identify power, ground, GPIO, and alternate-function pins on the Raspberry Pi header.

9

Explain the circuit and program logic required to blink an LED using a Raspberry Pi GPIO pin.

10

Derive the current-limiting resistor value for an LED connected to a Raspberry Pi GPIO. Assume a GPIO HIGH voltage of , an LED forward voltage of , and a desired current of .

11

Describe how a push-button switch can be interfaced with a Raspberry Pi using a pull-up resistor.

12

Compare pull-up and pull-down resistor configurations used in Raspberry Pi switch interfacing.

13

What is switch bouncing? Explain hardware and software methods of debouncing a switch connected to a Raspberry Pi.

14

Define pulse-width modulation and explain duty cycle, frequency, and its use in controlling an LED.

15

Distinguish between digital GPIO output, software PWM, and hardware PWM on a Raspberry Pi.

16

Explain how a switch can be used to control the brightness or operating mode of a PWM-driven LED.

17

Explain the major electrical characteristics of Raspberry Pi GPIO pins that must be considered while designing an interface.

18

Describe the protection methods required when interfacing LEDs, relays, motors, and higher-voltage signals with Raspberry Pi GPIO.

19

Compare polling and event-driven methods for detecting a switch press on a Raspberry Pi.

20

Design a safe Raspberry Pi experiment in which a push button controls an LED, and explain the circuit, algorithm, testing procedure, and safety precautions.