1065 User Guide: Difference between revisions

From Phidgets Support
No edit summary
Line 198: Line 198:
{{UGhist}}
{{UGhist}}
{{UGrow|June 2011|0|100|Product Release}}
{{UGrow|June 2011|0|100|Product Release}}
{{UGrow|June 2011|0|101|getLabelString fixed for labels longer than 7 characters}}

Revision as of 18:16, 27 November 2012

1065.jpg
Go to this device's product page


Getting Started

Checking the Contents

You should have received:

  • A PhidgetMotorControl 1-Motor
  • A Mini-USB cable

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

  • A 9 to 28VDC power supply (If using the barrel jack, ensure your power supply is center-positive polarity)
  • A DC motor with integrated encoder
  • An Analog Sensor (we are using an a temperature sensor)
  • A piece of wire to test the digital inputs

Connecting the Pieces

  1. Connect the Motor to the PhidgetMotorControl
  2. Connect the Encoder
  3. Plug in a power supply using the barrel connector.
  4. You can also connect a power supply to the Terminal Block. Be sure to observe correct polarity.
  5. Connect your sensor to an analog input. We are using a Phidget Slider-60.
  6. Connect one end of the wire to the Ground connector and the other end to connector 0.
  7. Connect the MotorControl to your computer using the USB cable.

1065 0 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 the Phidget Motor Controller 1-Motor is properly attached to your PC.

1065 0 Control Panel Screen.jpg
  1. Double Click on Phidget Motor Controller 1-Motor in the Phidget Control Panel to bring up MotorControl-full and check that the box labelled Attached contains the word True.
  2. Move the target velocity slider to a target velocity setting. The Current Velocity is displayed in the Current Velocity Box. The motor will accelerate until the current velocity is equal to the target velocity.
  3. You can change the acceleration by using the acceleration slider.
  4. Turn On Back EMF Sensing.
  5. When the motor is stopped, you can create some shaft resistance by using the braking slider.
  6. Test the digital input by disconnecting the wire end connected to the digital input connector. The tick mark in the box will go away.
  7. You can read the Encoder Position and reset it to 0 by clicking on the Reset button.
  8. The sensors box displays the SensorValue of the Analog Inputs. Click on the Ratiometric box if your sensor is ratiometric.
1065 0 Motor Control 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 MorotControl 1-Motor is properly attached.
  5. Double Click on Phidget MorotControl 1-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 on the analog inputs on the 1065, check the Analog Input Primer.

For more information about encoders, check the Encoder Primer.

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

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Events

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Template:UGapi

Product History

Template:UGhist Template:UGrow Template:UGrow