Getting started Installation guide
Contents I Table of Contents ( I ) First time plug in 3 ( II ) Hardware installation 5 ( III ) Windows 7 (32/64 bit) 9 ( IV ) General information 13 ( 1 ) DLL installing ................................................................................................................................... 13 application ( 2 ) VM167 demo................................................................................................................................... 14 ( 3 ) Developing your ............
I
Plugging in your board for the first time First, you will need to plug your VM167 into an available USB (1.1/2.0) port on your computer so Windows can detect this new device. Follow the instructions to install the hardware driver. Step-by-step screenshot images for following operating systems are included here for Windows XP and Windows 7. Note that you need administrative privileges to install new hardware.
II
Hardware Installation Windows 2000/XP(32/64 bit) After you've plugged in your device you should be prompted with the Windows 'Found New Hardware Wizard'. If the wizard did not open, you can open it manually through the following steps: • Click Start -> Run.. • Type devmgmt.msc and press OK • Search for a 'VM167 USB Interface Board' entry under the Other devices category • Right-click the entry and click Update Driver.. You should now be prompted with the 'Hardware Update Wizard'.
Select 'No, not this time' and click 'Next' to continue. Then select 'Install from a list or specific location (Advanced)'. Click 'Next' to continue. You will be asked for the location of your driver files. Complete the dialog as indicated below.
Under 'Include this location in the search', enter the location of the driver files or use 'Browse' to locate the VM167Driver folder. Click 'Next' to continue. If you receive a warning, click 'Continue Anyway'. This cannot harm your computer since it is safe to use the VM167 driver. Make sure you downloaded the driver or installation package from the Velleman website. Installation should now be complete. You are ready to use the board. Continue to the chapter Running the VM167 Demo application to continue.
III
Windows 7 (32/64 bit) After you've plugged in your device you should be prompted with the Windows 'Found New Hardware Wizard'. If the wizard did not open, you can open it manually through the following steps: • Press the Windows key + R • Type devmgmt.msc and press OK • Search for a 'VM167 USB Interface Board' entry under the Other devices category • Right-click the entry and click Update Driver Software... You should now be prompted with the 'Update Driver Software' dialog.
Click 'Next' to continue. When you receive this warning, click 'Install this driver software anyway'. This cannot harm your computer since it is safe to use our driver. Make sure you downloaded the driver or installation package from the Velleman website. Installation should now be complete. You are ready to use the board.
Velleman Projects Page 11
IV
Installing the VM167.DLL and MPUSBAPI.DLL The files VM167.DLL and MPUSBAPI.DLL from the folder \DLL have to be copied to the Windows' System32 folder. In 64-bit environment the files must be copied to Windows' SysWOW64 folder. Alternatively you may run the DLLsetup.exe to copy the files to the right folder. VM167.
Running the VM167 Demo application This software package contains ready to use standalone demo application to be able to test your board. The demo application is located in the \Demo folder of the software package.
Developing your own software The VM167 USB Interface Board comes with a library (DLL) that can be used to communicate with the board in any programming language. The VM167 software package includes examples on how to use this DLL in some of the most popular programming languages.
Technical Support Velleman Projects Service Forum In case you have a question or problem with the VM167 board, you can visit our online forum for help. This forum is frequented by employees here at Velleman and other Velleman Projects enthusiasts. To visit the forum enter the following URL in your browser: http://forum.velleman.
V
Button matrix (4 x 4) connected to four digital outputs and to four digital inputs.
Single button connected between digital output and digital input Velleman Projects Page 19
Single button connected between external +5V and digital input Velleman Projects Page 20
VM167 connected to the relay card K6714-16. IC1 and IC2 must be placed to the K6714-16 card.
Circuit diagram of a PWM to analog converter Velleman Projects Page 22