Skip to content
/ K8090 Public
forked from tofe83120/K8090

Control Velleman K8090 relay card from Ubuntu host

Notifications You must be signed in to change notification settings

alacko/K8090

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Based onto the work of Christophe Garcia
Works with Ubuntu 16.04

Features:
  *Activate / deactivate all relays
  *Activate / deactivate relays one by one
  *Set a delay on relays one by one
  *Read all relays status



Install instruction :

1. install libusb-dev (sudo apt-get install libusb-dev)
2. unzip the K8090 library source bundle
3. move into source directory
4. run "make clean"
5. run "make all"
6. run "sudo make install"


Usage:
 ./k8090cmd --help


 ./k8090cmd v1.0

 Syntax : ./k8090cmd -c <command> -r <number> [-d <number>]
	 -c <command>   Set command (on, off, timer, status)
	 -r <number>    Set relay number (0-7)
	 -d <number>    Set timer delay in seconds (1, 65536)

 Examples : ./k8090cmd -c on -r 3
            ./k8090cmd -c timer -r 3 -d 3600

About

Control Velleman K8090 relay card from Ubuntu host

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 64.1%
  • Makefile 35.9%