Relays Board V1.0.0

The Relay V1.0.0 is an expansion board with 8 relays controlled by Raspberry PI GPIO. With this board you are able to control 8 hi power relays Omron G5RL-1-E (16A 250V). Every relay has a dedicated status led. The power supply is provided from a terminal block (POWER INPUT 5V DC), with our kit you’ll receive the board, a 20×2 header and a couple of stand off for Raspberry PI installation. This project is open hardware as all our project, you are free to download schematic, gerber, cad file, bill of material and software scripts.

It’s possible to order this board on our Shop.

The dimensions are 232 x 72 mm with 4 fixing hole (3 mm), it is compliant with a classical DIN Rail PCB mount with an height of 72 mm.

Hardware

The 8 relays are controlled directly from Raspberry GPIO thought an optocoupler, see the following image.

The correspondence between relay channels and Pi pins:

Raspberry PI GPIORelay number
GPIO 06CHANNEL 1
GPIO 12CHANNEL 2
GPIO 13CHANNEL 3
GPIO 19CHANNEL 4
GPIO 16CHANNEL 5
GPIO 26CHANNEL 6
GPIO 20CHANNEL 7
GPIO 21CHANNEL 8

The selected relay G5RL has the following configuration 1 Form C (SPDT-NO, NC)

Omron Relay G5RL-1-E

WARNING For your safety don’t use this board with high voltage

The are two 20×2 pins connectors, one for Raspberry Pi and the other for our Dual Can Bus board. In this way it is possible to control the Relay with CAN BUS.

The main power supply (5V DC) is provided from an external power supply thought connector POWER INPUT. The LED_POWER signals the presence of external power.

The power protection is very simple, there is a Schottky diode to prevent the inversion of polarity and a Zener diode to limit the maximum voltage input at 5,1 V. There are two couples of Schottky and Zener.
The first couple (D4 and D9) is used to protect Relays circuits and external CAN BUS board, the second (D1 and D20) is used for Raspberry Pi.

Schematic PDF

Layout PDF

Gerber Files

CAD Files

BOM and CPL

Software

The GPIOs control on Raspberry PI is very simple, there are different software libraries, the most famous are WiringPi and Python. On our demo we use Python, all our scripts are ready for download.

Relay 1 is connected to GPIO 6 and the Python script to switch on it is

Instead to set off Relay 1 the script is

Python scripts

Use can bus to control relays

Certification Disclaimer

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.