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?
✗ Incorrect
A relay module acts as a switch controlled by the Raspberry Pi to safely turn high voltage devices on or off.
Which GPIO pin mode should you use to control a relay?
✗ Incorrect
GPIO pins must be set as output to send signals that control the relay.
Why should you never connect a high voltage device directly to a Raspberry Pi GPIO pin?
✗ Incorrect
High voltage can damage the Raspberry Pi and cause electric shock or fire hazards.
Which Python library is commonly used to control Raspberry Pi GPIO pins?
✗ Incorrect
RPi.GPIO is the standard library for controlling GPIO pins on Raspberry Pi.
What is a safe practice when wiring a relay module?
✗ Incorrect
Always disconnect power before wiring to avoid electric shock or damage.
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.