Velleman K8055
The Velleman K8055 (and its successor, the K8055N) is a USB experiment board with five digital inputs, eight digital outputs, and two analog inputs and outputs. mAirList can use the digital inputs to trigger remote control commands, and set the outputs from a script.
The required driver library (K8055D.dll) is included with mAirList.
Configuration
In the configuration app or Control Panel, go to Remote Control and add an interface of type Velleman K8055/K8055N (USB category).
Device
- Device address: The address of the board (0 to 3), as set with the jumpers on the board. This allows you to use up to four boards on the same computer.
- Update interval: How often (in milliseconds) mAirList polls the board for changes of the inputs. The default is 50 ms.
Commands
On the Commands tab, enter the command to execute for each of the five digital inputs when it goes ON, and when it goes OFF.
Outputs
The outputs can be controlled from a background script through the following methods:
K8055Remote(0).SetDigitalChannel(1); // switch on digital output 1
K8055Remote(0).ClearDigitalChannel(1); // switch off digital output 1
K8055Remote(0).ClearAllDigital; // switch off all digital outputs
K8055Remote(0).OutputAnalogChannel(1, 255); // set analog output 1 (0..255)
The parameter of K8055Remote is the index of the K8055 interface (0 for the first one,
if you have more than one configured).
The current state of the inputs can be read with ReadDigitalChannel and ReadAllDigital.