Chilli Plant Automation Begins

VELLEMAN P8055Just a very brief update to advise that I have purchased and built a VELLEMAN USB I/O controller board.

After nearly 20 years I can still solder !!

The board is attached to a linux box running Ubuntu and I downloaded and built the drivers.Two files are needed to get up and running:

libusb-0.1.12.tar.gz

libk8055.tar.gz

Instructions

1. Unpack libusb into a folder and cd into it.

2. ./configure – this will checkout your system and setup the various dependencies needed to build

3. make – this will build the library.

4. sudo make install – this will install the library.

5. Unpack libk8055 into another folder and cd into the src directory.

6. Repeat the same instructions as before firstly doing ./configure then make and finally sudo make install

7. Next you need to configure udev so you machine recognised the board. To do this add the following to a file called /etc/udev/rules.d/40-k8055.rules

# udev rules file for Velleman K8055 USB Experiment Interface Board
#
SUBSYSTEMS!=“usb”, ACTION!=“add”, GOTO=“k8055_rules_end”# The K8055 device, including all jumper configurations

ATTRS{idVendor}==“10cf”, ATTRS{idProduct}==“5500″, GROUP=“k8055″, MODE=“0660″

ATTRS{idVendor}==“10cf”, ATTRS{idProduct}==“5501″, GROUP=“k8055″, MODE=“0660″

ATTRS{idVendor}==“10cf”, ATTRS{idProduct}==“5502″, GROUP=“k8055″, MODE=“0660″

ATTRS{idVendor}==“10cf”, ATTRS{idProduct}==“5503″, GROUP=“k8055″, MODE=“0660″

MODE="0666", OWNER="mick", GROUP="k8055"

LABEL=“k8055_rules_end”

8. To apply this file enter sudo /etc/init.d/udev restart

9. You should now be able to speak with your card.  On the board there are jumpers sk5 & sk6 which indicted the ID of your board. But assuming both jumpers are in (ID:0). Then type in k8055 -p:0 will get the board to report back to you. Sending commands like k8055 -p:0 d:255 will turn on all the digital outputs.

Leave a Reply

You must be logged in to post a comment.