relay8x

Crates.iorelay8x
lib.rsrelay8x
version0.1.1
sourcesrc
created_at2018-09-18 11:04:46.592431
updated_at2018-09-18 13:58:45.145901
descriptioncontrol a specific 8x relaise card via serial / USB
homepagehttps://ahoi.io/project/relay8x
repositoryhttps://github.com/nello-io/relay8x
max_upload_size
id85338
size496,504
Korbinian Maier (KuabeM)

documentation

README

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

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.

Commit count: 67

cargo fmt