Zero Relay
Zero Relay provides a solution for controlling high current/voltage devices and makes your home appliances intelligent. It could be a nice solution for controlling devices that could not be directly controlled by RPi's Digital I/Os. The standardized shield form factor enables a smooth connection with Raspberry Pi and compatibles. It is a 2 channel relay shield with 7A 250 Volts AC output and 10A 30Volts DC output ratings. Zero Relay is designed for triggering at high voltage levels.
Feature
- 2 High-quality Relay and loads up to 250VAC/7A, 30VDC/10A.
- tandardized shield shape and design.
- LEDs working status indicators for each Relay.
- High-quality Relays.
- 40 Pin Stacking Header for accessing GPIO of RPi.
- Mounting holes
Specifications
- Channel - 2 CH
- Operating Voltage - 5V
- AC Control Voltage - 7A / 250V
- DC Control Voltage - 10A / 30V
Pinout
Installation
Python
- Stack Zero-Relay HAT on Raspberry Pi Zero or any Raspberry Pi 40 Pin GPIO header.
- Make sure both jumpers are connected.
- Open Terminal and clone/download the repository by typing below command in terminal:
git clone https://github.com/sbcshop/Zero-Relay.git
- Your code will be downloaded to '/home/pi' directory. Use 'ls' command to check the list of directories and 'cd' command to enter directory.
cd Zero-Relay
- 'test2.py' is example code for Zero Relay. Run test2 file and play with Zero Relay by running below python command.
python3 test2.py
- You can also use any other GPIO of Raspberry Pi by removing the jumpers and connecting the relay pin RL1 and RL2 directly to the Raspberry Pi GPIO header using jumper cables or wire. Edit "pizero_2relay.py" file and change the BOARD numbering of the relay and save it.
GPIO 4 Relay Not working Fix
- Click on 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.
Installation
Python
- Stack PiRelay-V2 HAT on Raspberry Pi 40 Pin GPIO header.
- Make sure all four jumpers are connected.
- Open Terminal and clone/download the repository by typing below command in terminal:
git clone https://github.com/sbcshop/PiRelay-V2.git
- Your code will be downloaded to '/home/pi' directory. Use 'ls' command to check the list of directories and 'cd' command to enter directory.
cd PiRelay-V2
- 'test.py' is example code for PiRelay-V2. Run test file and play with PiRelay-V2 by running below python command.
python3 test.py
- You can also use any other GPIO of Raspberry Pi by removing the jumpers and connecting the relay pin directly to the Raspberry Pi GPIO header using jumper cables or wire.
GPIO 4 Relay Not working Fix
- Click on Start button >> Preferences >> Raspberry Pi Configuration, Then click on Interfaces Tab and make sure 1-Wire is disabled.
- Click on the OK button then reboot Raspberry pi.