Code covered by the BSD License  

Highlights from
MATLAB Support Package for Velleman K8055/VM110 Experiment Board

5.0

5.0 | 2 ratings Rate this file 33 Downloads (last 30 days) File Size: 1.24 MB File ID: #32306

MATLAB Support Package for Velleman K8055/VM110 Experiment Board

by

 

MATLAB library for communicating with a Velleman K8055/VM110 USB Experiment Interface Board

| Watch this File

File Information
Description

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

Acknowledgements

Easy Gui inspired this file.

MATLAB release MATLAB 7.8 (R2009a)
Other requirements Microsoft Windows only
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
09 Feb 2014 Nader

i am a new in using this card please help on the procedure to using this M-Files to setup and to interface with this card

31 Aug 2012 Ghislain

Hi,

The package works perfectly, but if you need to use it with Matlab 64-bits then you'll have to make a few changes.
See this post :
http://www.mathworks.com/matlabcentral/answers/47094-how-to-use-a-velleman-k8055-board-with-matlab-64-bits

Contact us