Skip to content

Serial driver for the no-name relaise card USB/Serial/TTL converter

Notifications You must be signed in to change notification settings

nello-io/relay8x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

relay8x

Library and utility command line tool to communicate with this relaise cards over serial and/or USB interface

Install the binary use cargo install relay8x and read relay8x --help for details on useage.

Features

  • set specific or all relays on or off
  • toggle specific or all relays on or off
  • reset (=turn off) specific or all relays
  • multiple cards on one serial device
  • run custom command

Usage

Specify the device name in the environmental variable DEVICE:

  • Linux/MacOs: export DEVICE=/dev/ttyX
  • Windows: set DEVICE=COMX

Replace X with the actual port name. In addition there's an optional flag --dev=<dev> to override the env var. For commands and options use relay8x --help.

Documentation

details about communication protocol are in this pdf

Wiring / Setup

One card

  • Jumper JP1 in position 1-2
  • connect to USB

Cascading

  • Jumper JP1 in position 2-3 for all cards but the last
  • Jumper JP1 at last card in position 1-2
  • connect GND terminals with following card
  • connect Txb of preceeding card with Rxa of following card
  • connect Rxb of preceeding card with Txa of following card

Windows

Driver works fine with Linux, during testing intermitted issues with stacked relaise cards appeared only on Windows.

About

Serial driver for the no-name relaise card USB/Serial/TTL converter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages