Relay shield for Raspberry Pi to control upto 4 devices/appliances.
- 4 - High quality Relay and loads up to 7A/240VAC or 10A/125VDC
- LED’s for indicating status of each relay
- Standardized shield shape and design
- LED working status indicators for each relay
- Raspberry Pi 4, 3, 2, and ZERO compatible 40-Pin Stacking Header
Relays | BOARD | BCM |
---|---|---|
Relay 1 | 15 | GPIO 22 |
Relay 2 | 13 | GPIO 27 |
Relay 3 | 11 | GPIO 17 |
Relay 4 | 7 | GPIO 4 |
Steps for PiRelay software installation -
-
Open Terminal and clone/download the repository by typing below command in terminal:
git clone https://github.com/sbcshop/PiRelay.git
-
Your code will be downloaded to '/home/pi' directory. Use 'ls' command to check the list of directories
-
'Test.py' is example code for PiRelay. Run test file and play with PiRelay
- Press Start button >> Preferences >> Raspberry Pi Configuration, Then click on Interfaces Tab and make sure 1-Wire is disabled.
- Click on OK button then reboot Raspberry pi.