1064 User Guide

From Phidgets Support
Revision as of 15:21, 10 August 2012 by Burley (talk | contribs)
1064.jpg
Go to this device's product page


Getting Started

Checking the Contents

You should have received:

  • A PhidgetMotorControl HC board
  • A Mini-USB Cable

In order to test your new Phidget you will also need:

  • A DC Motor
  • A 6 to 15V DC Power Supply (If you use the barrel jack, make sure your power supply has center positive polarity)


Connecting the Pieces

  1. Connect the motor to the PhidgetMotorControl board.
  2. Connect the power supply to the terminal block on the PhidgetMotorControl board.
  3. Connect the PhidgetMotorControl board to your PC using the USB cable.

1064 1 Connecting The Hardware.jpg

Testing Using Windows 2000 / XP / Vista / 7

Make sure you have the current version of the Phidget library installed on your PC. If you don't, follow these steps:

  1. Go to the Quick Downloads section on the Windows page
  2. Download and run the Phidget21 Installer (32-bit, or 64-bit, depending on your system)
  3. You should see the Ph.jpg icon on the right hand corner of the Task Bar.

Running Phidgets Sample Program

Double clicking on the Ph.jpg icon loads the Phidget Control Panel; we will use this program to ensure that your new Phidget works properly.

The source code for the MotorControl-full sample program can be found in the quick downloads section on the C# Language Page. If you'd like to see examples in other languages, you can visit our Languages page.

Updating Device Firmware

If an entry in this list is red, it means the firmware for that device is out of date. Double click on the entry to be given the option of updating the firmware. If you choose not to update the firmware, you can still run the example for that device after refusing.

Double Click on the Ph.jpg icon to activate the Phidget Control Panel and make sure that Phidget High Current Motor Controller 2-motor is properly attached to your PC.

1064 1 Control Panel Screen.jpg
  1. Double Click on Phidget High Current Motor Controller 2-motor in the Phidget Control Panel to bring up MotorControl-full and check that the box labelled Attached contains the word True.
  2. Select the connected motor. If you have connected your motor at the same place as the one in the picture on page 3, it should be at position 0.
  3. Move the position slider to set the maximum velocity. The maximum velocity is shown in the Maximum Velocity box, and the current motor velocity in the box above.
  4. Change the acceleration by moving the slider. The value is displayed in the Acceleration box.
  5. The electrical current flowing through the motor is displayed in the Current box.
1064 1 MotorControl Screen.jpg

Testing Using Mac OS X

  1. Go to the Quick Downloads section on the Mac OS X page
  2. Download and run the Phidget OS X Installer
  3. Click on System Preferences >> Phidgets (under Other) to activate the Preference Pane
  4. Make sure that the Phidget High Current Motor Controller 2-motor is properly attached.
  5. Double Click on Phidget High Current Motor Controller 2-motor in the Phidget Preference Pane to bring up the MotorControl-full Sample program. This program will function in a similar way as the Windows version.

Using Linux

For a step-by-step guide on getting Phidgets running on Linux, check the Linux page.

Using Windows Mobile / CE 5.0 / CE 6.0

Template:UGce

Technical Details

For more information about DC motors and how to control them, check the DC Motor and Controller Primer.

API

Template:UGapih

Functions

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Events

Template:UGapi

{{UGapiOnCurrentChange(int MotorIndex, double Current) [event] |An event issued when the current being conusmed by a motor changes. }}

Product History

Template:UGhist Template:UGrow Template:UGrow Template:UGrow