1113 User Guide: Difference between revisions

From Phidgets Support
No edit summary
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOINDEX__
<metadesc>This 2-axis Phidgets Joystick Sensor has a momentary pushbutton switch and connects to 2 Analog Inputs or VINT Hub ports, and one Digital Input.</metadesc>
[[Category:UserGuide]]
[[Category:UserGuide]]
{{UserguideTOC|1113.jpg|1113}}
==Getting Started==
==Getting Started==
{{UgSensorIntro|1113|Mini Joy Stick Sensor|Voltage Ratio Input port and Digital Input port}}


===Checking the Contents===
{{UGbox|
'''You should have received:'''
* A mini-joystick sensor
* A sensor cable
|
'''In order to test your new Phidget you will also need:'''
* A PhidgetInterfaceKit 8/8/8 or PhidgetTextLCD
* A USB cable
* Some wires
||}}


===Connecting the Pieces===
Next, you will need to connect the pieces:
{{UGbox|
[[Image:1113_0_Connecting_The_Hardware.jpg|400px|right|link=]]
#Connect the Mini Joystick Sensor to the Analog Input 6 and 7 on the PhidgetInterfaceKit 8/8/8 using the two sensor cables.
# Connect the 1113 to the HUB0000 with the Phidget cables. One port is needed for each axis of the stick.
#Connect the GND terminal block on the Mini Joystick to the Digital Input Ground terminal block on the InterfaceKit. Connect the Mini Joystick’s Input terminal block to a digital input on the PhidgetInterfaceKit.
# Connect the 1113 to the HUB0000 digital input.
#Connect the PhidgetInterfaceKit to your PC using the USB cable.  
# Connect the HUB0000 to your computer with the USB cable.
|
[[File:1113_0_Connecting_The_Hardware.jpg|400px|link=]]
||}}


===Testing Using Windows 2000 / XP / Vista / 7===
<br clear="all">
{{UGIntroDone|1113}}


{{UGwin}}
==Using the 1113==
{{UGcontrolpanelSensor|1113|HUB0000}}


===Running Phidgets Sample Program===
{{UGSensorVoltageRatioInputUnitless|1113|-1 and 1|When you move the joystick from its center position, the value will increase or decrease depending on the direction.}}


{{UGwin2|'''InterfaceKit-full'''}}
{{ugDigitalInputBTN|1018}}
 
{{UGbox6|
Double Click on the [[File:Ph.jpg|link=]] icon to activate the Phidget Control Panel and make sure that the '''Phidget InterfaceKit 8/8/8'''  is properly attached  to your PC
|[[File:1018_2_Control_Panel_Screen.jpg|400px|link=]]
|
#Double Click on '''Phidget InterfaceKit 8/8/8''' in the Phidget Control Panel to bring up InterfaceKit-full and check that the box labelled Attached contains the word True.
#Make sure that the Ratiometric box is Ticked.
#As you move the joystick the sensor values will increase or decrease depending on the direction of your movement.
#When you press down on top of the joystick, a tick mark appears in the Digital In box. The tick mark disappears as you stop pushing down.
#You can adjust the input sensitivity by moving the slider pointer.
#Click on the Sensors button to bring up the Advanced Sensor Form.
|
[[File:1113 0 InterfaceKit Screen.jpg|400px|link=]]
|
#In the Advanced Sensor Form, select the 1113 - Mini Joystick Sensor[X] and [Y] from the drop down menu to get a display on each axis for your sensor.
#The numerical position of the axis is shown here.
#A representation of the current position on each axis.
|
[[File:1113 0 Advanced Sensor Form Screen.jpg|link=|400px]]
}}
 
===Testing Using Mac OS X===
 
{{UGmac| | }}
 
===Using Linux===
 
{{UGlinux}}
 
===Using Windows Mobile / CE 5.0 / CE 6.0===
 
{{UGce}}


==Technical Details==
==Technical Details==
This miniature joystick has two axes and a push button. Each axis, up/down and left/right, has a potentiometer with a center value of approximately 500. When you move the Joystick from its center position the value will increase or decrease depending on the direction. Pressing down on the Joystick pin will make a momentary contact that can be connected to a digital input on the PhidgetInterfaceKit through the terminal blocks.
===General===
 
The 1113 has two axes and a push button. Each axis, up/down and left/right, has a potentiometer with a center value of approximately 0.5 V/V (or 0 when using the ''Sensor Value''). When you move the joystick from its center position the value will increase or decrease depending on the direction. Pressing down on the joystick will make a momentary contact that can be connected to a digital input on any {{CT|HasDI|compatible product}}.
{{UGotherint}}


{{UGasens}}
{{UGasens}}


==API==
{{UGnext|}}
{{SensorAPI}}
 
==Product History==
{{UGhist}}
{{UGrow|September 2003 |0 |N/A |Product Release }}
{{UGrow|August 2004|02|N/A|Analog input connector changed from stereo jack to 3-pin Molex}}

Latest revision as of 16:52, 7 June 2018


Getting Started

Welcome to the 1113 user guide! In order to get started, make sure you have the following hardware on hand:


Next, you will need to connect the pieces:

1113 0 Connecting The Hardware.jpg
  1. Connect the 1113 to the HUB0000 with the Phidget cables. One port is needed for each axis of the stick.
  2. Connect the 1113 to the HUB0000 digital input.
  3. Connect the HUB0000 to your computer with the USB cable.


Now that you have everything together, let's start using the 1113!

Using the 1113

Phidget Control Panel

In order to demonstrate the functionality of the 1113, we will connect it to the HUB0000, and then run an example using the Phidget Control Panel on a Windows machine.


The Phidget Control Panel is available for use on both macOS and Windows machines. If you would like to follow along, first take a look at the getting started guide for your operating system:


Linux users can follow the getting started with Linux guide and continue reading here for more information about the 1113.

First Look

After plugging in the 1113 into the HUB0000, and the HUB0000 into your computer, open the Phidget Control Panel. You will see something like this:

HUB0000 Panel.jpg


The Phidget Control Panel will list all connected Phidgets and associated objects, as well as the following information:

  • Serial number: allows you to differentiate between similar Phidgets.
  • Channel: allows you to differentiate between similar objects on a Phidget.
  • Version number: corresponds to the firmware version your Phidget is running. If your Phidget is listed in red, your firmware is out of date. Update the firmware by double-clicking the entry.


The Phidget Control Panel can also be used to test your device. Double-clicking on an object will open an example.

Voltage Ratio Input

Double-click on a Voltage Ratio Input object in order to run the example:

1018 Sensors VoltageRatioInput.png


General information about the selected object will be displayed at the top of the window. You can also experiment with the following functionality:

  • Modify the change trigger and/or data interval value by dragging the sliders. For more information on these settings, see the data interval/change trigger page.
  • Select the 1113 from the Sensor Type drop-down menu. The Sensor Value will now return a value between -1 and 1. When you move the joystick from its center position, the value will increase or decrease depending on the direction.


Digital Input

Double-click on the Digital Input object in order to run the example:

1018 DigitalInputBTN Example.jpg


General information about the selected object will be displayed at the top of the window. You can also experiment with the following functionality:

  • This is a button type device, therefore, it will be true when the button is pressed, and false in the default state.


Technical Details

General

The 1113 has two axes and a push button. Each axis, up/down and left/right, has a potentiometer with a center value of approximately 0.5 V/V (or 0 when using the Sensor Value). When you move the joystick from its center position the value will increase or decrease depending on the direction. Pressing down on the joystick will make a momentary contact that can be connected to a digital input on any compatible product.

Phidget Cable

Analoginput.jpg

The Phidget Cable is a 3-pin, 0.100 inch pitch locking connector. Pictured here is a plug with the connections labelled. The connectors are commonly available - refer to the Analog Input Primer for manufacturer part numbers.

What to do Next

  • Programming Languages - Find your preferred programming language here and learn how to write your own code with Phidgets!
  • Phidget Programming Basics - Once you have set up Phidgets to work with your programming environment, we recommend you read our page on to learn the fundamentals of programming with Phidgets.