MATLAB Support Package for Velleman K8055/VM110 Experiment Board

MATLAB library for communicating with a Velleman K8055/VM110 USB Experiment Interface Board
Updated 1 Sep 2016

View License

The Velleman K8055 is a low-cost board for interfacing with lab hardware. It supports digital and analog I/O (including PWM outputs) and connects to the PC through a USB cable (which supplies power as well). The K8055 is sold as a kit of parts, and the Vellman VM110 is the pre-assembled version of the K8055.
This MATLAB Support Package allows you to to communicate with with the Vellman K8055/VM110 from a 32-bit Windows PC. You can:
* Communicate with multiple K8055/VM110 devices from the MATLAB command line
* Read and write to the analog and digital channels
* Write to the PWM outputs
* Create custom GUIs

The Support Package uses a Software Development Kit (SDK) that is created by Velleman, and *does not* require Data Acquisition Toolbox or Instrument Control Toolbox. The included REAMDE.pdf guides you through the download and install of the Velleman SDK.

The Support Package also comes with a detailed guide for getting started and examples (including GUI examples).

Sample usage:

% create K8055 board object
board = vellboard.ExperimentBoard;

% access analog channel
data = board.readAnalog(2); % read channel 2
board.writeAnalog(2, 150); % write 150 to channel 2
board.writeAnalogAll([50 120]) % write to both channels

% access digital channel
data = board.readDigital(1); % read channel 1
board.writeDigital(l, 0); % write 0 to channel 1

% access counters (via digital channels)
board.readCounter(1) % get # of pulses on channel 1
board.resetCounter(1) % reset counter on channel 1

Cite As

MathWorks Classroom Resources Team (2024). MATLAB Support Package for Velleman K8055/VM110 Experiment Board (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: EasyGUI


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Updated license