0
0
Raspberry Piprogramming~5 mins

Home automation with relay modules in Raspberry Pi - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a relay module in home automation?
A relay module is an electronic switch that allows a low-power signal (like from a Raspberry Pi) to control a high-power device (like a lamp or fan) safely.
Click to reveal answer
beginner
Why do we use a relay module instead of connecting devices directly to the Raspberry Pi?
Because the Raspberry Pi's pins provide low voltage and current, which can't power high-voltage devices directly. The relay safely switches the high voltage on and off without damaging the Pi.
Click to reveal answer
beginner
Which Python library is commonly used to control GPIO pins on a Raspberry Pi?
The RPi.GPIO library is commonly used to control the Raspberry Pi's GPIO pins for tasks like switching relays.
Click to reveal answer
beginner
What is the purpose of setting a GPIO pin as output when controlling a relay?
Setting a GPIO pin as output allows the Raspberry Pi to send signals (HIGH or LOW) to the relay to turn connected devices on or off.
Click to reveal answer
beginner
How do you ensure safety when working with relay modules and high voltage devices?
Always disconnect power before wiring, use insulated wires, avoid touching live circuits, and double-check connections to prevent electric shock or damage.
Click to reveal answer
What does a relay module do in a Raspberry Pi home automation setup?
ASwitches high voltage devices on/off using low voltage signals
BIncreases the Raspberry Pi's processing speed
CStores data from sensors
DConnects the Raspberry Pi to the internet
Which GPIO pin mode should you use to control a relay?
AOutput
BAnalog
CPWM
DInput
Why should you never connect a high voltage device directly to a Raspberry Pi GPIO pin?
AIt will make the device run faster
BIt will improve Wi-Fi signal
CIt can damage the Raspberry Pi and cause safety hazards
DIt will increase battery life
Which Python library is commonly used to control Raspberry Pi GPIO pins?
ANumPy
BRPi.GPIO
CPandas
DMatplotlib
What is a safe practice when wiring a relay module?
ATouch live wires to check connections
BUse bare wires without insulation
CWork with power connected
DDisconnect power before wiring
Explain how a Raspberry Pi controls a home appliance using a relay module.
Think about how a small signal can control a big device safely.
You got /4 concepts.
    List safety precautions to follow when working with relay modules and high voltage devices.
    Safety first! What keeps you safe from electric shock?
    You got /4 concepts.