8relind-rpi

February 1, 2025 ยท View on GitHub

relay8-rpi

8relind-rpi

relay8-rpi

This is the command line and python functions to control the 8-RELAYS Stackable Card for Raspberry Pi Ver. 4.If you use Ver 3.x download from here. If you have Ver. 1-2 with screw-type connectors download from here.

Don't forget to enable I2C communication:

~$ sudo raspi-config

Usage

~$ git clone https://github.com/SequentMicrosystems/8relind-rpi.git
~$ cd 8relind-rpi/
~/8relind-rpi$ sudo make install

Now you can access all the functions of the relays board through the command "8relind". Use -h option for help:

~$ 8relind -h

If you clone the repository any update can be made with the following commands:

~$ cd 8relind-rpi/  
~/8relind-rpi$ git pull
~/8relind-rpi$ sudo make install

Python library

Node-Red example based on "exec" node

Node-Red "8relind" node