PiRelay-V2 is developed by SB Components with the potential to control 4 appliances and loads up to 240V AC/ 7 A, 125V DC/ 10A to provide a way to control the high voltage/current devices.
- High-quality Relay and loads up to 250VAC/7A, 30VDC/10A.
- Optocoupler
- Standardized shield shape and design.
- LED working status indicators for each Relay.
- High-quality Relays.
- Pin Stacking Header for accessing GPIO of RPi.
Relays | BOARD | BCM |
---|---|---|
Relay 1 | 35 | GPIO 19 |
Relay 2 | 33 | GPIO 13 |
Relay 3 | 31 | GPIO 6 |
Relay 4 | 29 | GPIO 5 |
Steps for PiRelay-V2 software installation -
-
Open Terminal and clone/download the repository by typing below command in terminal:
git clone https://github.com/sbcshop/PiRelay-V2
-
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-V2. 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.