Introduction: 5V Relay (Raspberry Pi)
Basic tutorial of how to setup a 5V Relay with the Raspberry Pi.
Step 1: Parts
Step 2: Setup
VCC -> 5 volt pin
GND -> Ground pin
IN -> GPIO 21
*Ensure postive leads are hooked up to NO and C terminals
Step 3: Code
1. Copy Script to Raspberry Pi
2. Type "python relay.py" to run
Step 4: Additional Info
Online Guide: https://www.piddlerintheroot.com/5v-relay/
We have a be nice policy.
Please be positive and constructive.