Skip to content

mattylight22/8relay-rpi

 
 

Repository files navigation

relay8-rpi

8relay-rpi

This is the command line and python functions to control the Sequent Microsystems 8 Relay Card for Raspberry PI Ver. 3. 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/8relay-rpi.git
~$ cd 8relay-rpi/
~/8relay-rpi$ sudo make install

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

~$ 8relay -h

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

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

Python library can be found here.

Node-Red example based on "exec" node here

Node-Red "8relay" node here.

About

Command Line, Python, and Node-Red for 8-RELAY Card

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 62.6%
  • Python 12.6%
  • JavaScript 11.9%
  • HTML 10.2%
  • Makefile 2.7%