Human Input Kit

From Phidgets Support
Jump to: navigation, search

About the Human Input Kit

This page will provide details about the sensors provided in the Phidgets Human Input Kit.

To navigate this tutorial, click along the tabs at the top of this box in order from left to right.

Once you finish this tutorial, you will know enough about the sensors within that you can incorporate them in your own projects. Good luck!

Parts Inventory

Arcade Button Switch/Button Cable 1112 - Slider
Arcade Button.jpg Button Cable.jpg 1112.jpg
HIN1100 - Thumbstick Phidget HIN1101 - Dial Phidget HIN1001 - Capacitive Scroll Phidget
HIN1100.jpg HIN1101.jpg HIN1001.jpg
Phidget Cable 15cm (4) HUB0000 - VINT Hub Phidget
(Required, Not Included)
USB Cable
(Required, Not Included)
Phidget Cable 15cm.jpg HUB0000.jpg USB Cable.jpg

Human Input Primer

For comparisons and suggested uses for the human input devices in this kit, take a look at the Human Input Primer.

Buttons and Switches

Buttons and switches are simple human interface devices that allow for basic user input to a program.

Try It Out

1. Plug the switch or the button you want to use into a button cable.

Plug the Button Cable onto the Switch or Button

2. Plug the other end of the button cable into a port on the VINT HUB.

Plug the Button Cable into the VINT HUB

3. Open the Phidget Control Panel, and double-click the hub port the switch or button is plugged into. Double-click the Digital Input channel, which will open the Digital Input example.

Open the Control Panel


4. Try your button or switch out! When you push the button or move the switch, the state should change from FALSE to TRUE, or vice-versa.

The Control Panel example for Digital Input

Programming Tasks

A suggested flow for your program. Click to enlarge.

To demonstrate your understanding of buttons and switches, write a program that displays the state of the button or switch to a screen every time it changes.

Refer to the API tab on the HUB0000 Product Page, select your programming language, and choose DigitalInput API from the drop-down menu for more information on how to use the Digital Inputs in a program.

HUB0000 API Tab.jpg

1112 Slider

The 1112 is an analog slider. It is intended as a human input device that provides persistent analog feedback to a program.

Try It Out

Navigate to the 1112 Product Page and select the User Guide tab.

1112 User Guide Tab.jpg

Follow the instructions on the User Guide up to the Using Your Own Program section to get your Phidget running, then return to this guide.

Circle with X.png DO NOT continue into Using Your Own Program. This tutorial page will cover the custom application you are to write instead.

Programming Tasks

A suggested flow for your program. Click to enlarge.

To demonstrate your understanding of the 1112, write a program that writes the voltage ratio from the slider to the screen every 250ms.

Refer to the API tab on the HUB0000 Product Page, select your programming language, and choose VoltageRatioInput API from the drop-down menu for more information on how to use the Voltage Ratio Inputs in a program.

HUB0000 API Tab.jpg

HIN1100 Thumbstick

The HIN1100 is a thumbstick Phidget. This Phidget is typically used for real-time human input along two axes.

Try It Out

Navigate to the HIN1100 Product Page and select the User Guide tab.

HIN1100 User Guide Tab.jpg

Follow the instructions on the User Guide up to the Using Your Own Program section to get your Phidget running, then return to this guide.

Circle with X.png DO NOT continue into Using Your Own Program. This tutorial page will cover the custom application you are to write instead.

Programming Tasks

A suggested flow for your program. Click to enlarge.

To demonstrate your understanding of the HIN1100, write a program that displays the ratio from each axis every 250ms, and displays the button state every time it changes.

Refer to the API tab on the HIN1100 Product Page, and select your programming language for more information on how to use the HIN1100 in a program.

HIN1100 API Tab.jpg

HIN1101 Dial

The HIN1101 is a dial Phidget. This Phidget is typically used for precision input that only requires knowing a relative change in position, such as scrolling through a list.

Try It Out

Navigate to the HIN1101 Product Page and select the User Guide tab.

HIN1101 User Guide Tab.jpg

Follow the instructions on the User Guide up to the Using Your Own Program section to get your Phidget running, then return to this guide.

Circle with X.png DO NOT continue into Using Your Own Program. This tutorial page will cover the custom application you are to write instead.

Programming Tasks

A suggested flow for your program. Click to enlarge.

To demonstrate your understanding of the HIN1101, write a program that shows the encoder position every time it moves by at least one. Use a DataInterval of 20ms. Also display each time the button is pressed or released.

Refer to the API tab on the HIN1101 Product Page, and select your programming language for more information on how to use the HIN1101 in a program.

HIN1101 API Tab.jpg

HIN1001 Capacitive Touch Wheel

The HIN1001 is a capacitive scroll-wheel Phidget. This Phidget is typically used where the slim form factor and construction without moving parts is beneficial.

Try It Out

Navigate to the HIN1001 Product Page and select the User Guide tab.

HIN1001 User Guide Tab.jpg

Follow the instructions on the User Guide up to the Using Your Own Program section to get your Phidget running, then return to this guide.

Circle with X.png DO NOT continue into Using Your Own Program. This tutorial page will cover the custom application you are to write instead.

Programming Tasks

A suggested flow for your program. Click to enlarge.

To demonstrate your understanding of the HIN1001, write a program that shows the position that the touch wheel is touched, or when it is released. Also display when any of the four other capacitive buttons are pressed and released.

Refer to the API tab on the HIN1001 Product Page, and select your programming language for more information on how to use the HIN1001 in a program. Check the Software Objects table for information about how the channels are assigned on your device.

Notice that the scroll wheel itself is on channel 4, which means it will need to be specifically addressed to be used in your program.

HIN1001 API Tab.jpg