4 Relays Raspberry Pi Plate / Shield

This 4 relay plate allows to control 4 outside loads very easy. Each relay is controlled individually and the setup is very easy.There is no need for extra wires because it plugs directly into the Raspberry Pi connector
Also the board comes with some sample code to enable the relays to be controlled over the network
using a browser.
Each relay is rated for 12A .
WARNING ! High voltages are dangerous and can be deadly . Even though the relays are rated for 250 VAC the relay traces are not isolated .
We do not recommend using the board to command voltages more than 24 volts.
IMPORTANT ! Model B Revision 2 of Raspberry Pi board needs robogaia_4_relay_raspberry_plate_v2_code_install.tar.gz .
If the old version is installed then Relay3 will not work.
Compatibility :
Raspberry Pi Model A : Use robogaia_4_relay_raspberry_plate_v1_code_install.tar.gz
Raspberry Pi Model B
Revision 1 : Use robogaia_4_relay_raspberry_plate_v1_code_install.tar.gz
Revision 2 : Use robogaia_4_relay_raspberry_plate_v2_code_install.tar.gz
Raspberry Pi Model B+: Use robogaia_4_relay_raspberry_plate_v2_code_install.tar.gz
Raspberry Pi V2 ,2+,3: Use robogaia_4_relay_raspberry_plate_v2_code_install.tar.gz
Installation

The plate sits on top of Raspberry Pi board .
Open the terminal window from Desktop
Make a temporary folder on Raspberry Pi
such as /home/pi/tmp
Use the following command
sudo mkdir /home/pi/tmp
Please download robogaia_4_relay_raspberry_plate_v1_code_install.tar.gz
from the bottom of the page on your Raspberry Pi in the temporary foder that was just created.
Uncompress the file:
sudo tar xzvf robogaia_4_relay_raspberry_plate_v2_code_install.tar.gz
and then go to the uncompressed folder
cd robogaia_4_relay_raspberry_plate_v1
Install the scripts
sudo ./relay_install (don't forget the dot and the forward slash )
You have to initialize the relays after each restart(this can be automatized):
sudo relays_init
Now you are ready to use the relays.
Turning on the relays
relay_on 1 Turns on relay 1
relay_on 2 Turns on relay 2
relay_on 3 Turns on relay 3
relay_on 4 Turns on relay 4
Turning off the relays
relay_off 1 Turns off relay 1
relay_off 2 Turns off relay 2
relay_off 3 Turns off relay 3
relay_off 4 Turns off relay 4
Testing
This small script turns all re relays on in sequence and then after a
short pause it turns them off in sequence
relays_cycle_test
The Output Relay Connector
Position Relay Number Contact position
1 1 Normally Closed
2 1 Normally Open
3 1 Common
4 2 Normally Closed
5 2 Normally Open
6 2 Common
7 3 Normally Closed
8 3 Normally Open
9 3 Common
10 4 Normally Closed
11 4 Normally Open
12 4 Common
Board Customization:
If you might need any board customization, leave us a message here .
Open the terminal window from Desktop
Make a temporary folder on Raspberry Pi
such as /home/pi/tmp
Use the following command
sudo mkdir /home/pi/tmp
Please download robogaia_4_relay_raspberry_plate_v1_code_install.tar.gz
from the bottom of the page on your Raspberry Pi in the temporary foder that was just created.
Uncompress the file:
sudo tar xzvf robogaia_4_relay_raspberry_plate_v2_code_install.tar.gz
and then go to the uncompressed folder
cd robogaia_4_relay_raspberry_plate_v1
Install the scripts
sudo ./relay_install (don't forget the dot and the forward slash )
You have to initialize the relays after each restart(this can be automatized):
sudo relays_init
Now you are ready to use the relays.
Turning on the relays
relay_on 1 Turns on relay 1
relay_on 2 Turns on relay 2
relay_on 3 Turns on relay 3
relay_on 4 Turns on relay 4
Turning off the relays
relay_off 1 Turns off relay 1
relay_off 2 Turns off relay 2
relay_off 3 Turns off relay 3
relay_off 4 Turns off relay 4
Testing
This small script turns all re relays on in sequence and then after a
short pause it turns them off in sequence
relays_cycle_test
The Output Relay Connector
Position Relay Number Contact position
1 1 Normally Closed
2 1 Normally Open
3 1 Common
4 2 Normally Closed
5 2 Normally Open
6 2 Common
7 3 Normally Closed
8 3 Normally Open
9 3 Common
10 4 Normally Closed
11 4 Normally Open
12 4 Common
Board Customization:
If you might need any board customization, leave us a message here .
The Web Interface

Here is a simple web interface using Flask framework and Python
The tutorial and the code is here.
Starting with the Flask framework tutorial is here.
The tutorial and the code is here.
Starting with the Flask framework tutorial is here.

robogaia_4_relay_raspberry_plate_v1_code_install.tar.gz | |
File Size: | 1 kb |
File Type: | gz |

robogaia_4_relay_raspberry_plate_v2_code_install.tar.gz | |
File Size: | 1 kb |
File Type: | gz |

robogaia_raspberry_pi_relay_plate_schematics.pdf | |
File Size: | 41 kb |
File Type: |

relay_datasheet_eng_ds_rt1_0910.pdf | |
File Size: | 642 kb |
File Type: |