How To's

Programing for the Phidgets Interface Kit 0/16/16

(Demo Program Download)

After many request for my Seafox Program I decide to write a simple Demo Control Program to show how to program the Phidgets Interface Kit 0/16/16 for use with a basic three thruster Rov. This program was written in Visual Basic Express 2005 and will allow digital (basic on or off) control of three relay controlled thrusters and a light using the keyboard keys or by clicking the on screen buttons with the mouse.

While there are better boards out there with much better features (such as analog functions) the Phidgets 0/16/16 Boards are easy to write programs for. Everything is digital so the code is basically only telling the program to either turn this or that output on or off so the learning curve was pretty easy and I had very little too no programing experience before I started with this. Above is a sample of the code which is pretty self explanatory (as far as code goes), but I've included plenty of comments (seen in green) that will explain what each line does and should be easy to change to suit your own Rov if you wanted to use a Phidgets board.

The above file includes the entire source code as well as the exe files, just unzip into your Projects folder. This program is specific to the Phidgets Board and will not work with any other controller and it is not a turn key program, you may need to add some Phidgets.dll reference files to get it to work, but if you have a Phidgets kit and all ready ran the examples they supplied then you should be good to go.

If you have any other questions I didn't cover feel free to E-mail me.

All Information, Pictures, and Material is copyright © 1998-2009 by Stephen Thone and may not be used for any personal or commercial purposes without the consent of the author. All rights reserved. The Author makes no guarantees or warranties as to the accuracy or completeness of, or results to be obtained from accessing and using the Information herein.