Skip to content

Command Line, Python, Node-Red and CODESYS for 4-RELAYS Heavy Duty Stackable Card for Raspberry Pi

License

Notifications You must be signed in to change notification settings

gw8674/4relay-rpi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

4relay-rpi

4relay-rpi

4relay-rpi

This is the command to control 4-RELAYS Heavy Duty Stackable Card for Raspberry Pi

Don't forget to enable I2C communication:

~$ sudo raspi-config

Usage

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

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

~$ 4relay -h

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

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

Python driver can be found here.

Node-Red example basd on "exec" node here.

Node-Red "4relay" node under construction.

CODESYS Driver

About

Command Line, Python, Node-Red and CODESYS for 4-RELAYS Heavy Duty Stackable Card for Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 84.0%
  • Python 12.4%
  • Makefile 3.6%