Download Print this page
Parallax 27808 Quick Start Manual

Parallax 27808 Quick Start Manual

Gimbal joystick with adapter

Advertisement

Quick Links

Gimbal Joystick with Adapter (#27808)
This quad-bearing gimbal joystick provides a two-axis resistive output for controlling position, velocity,
tilt, etc., as an input device to various microcontrollers, including Parallax's P8X32A Propeller chip and
BASIC Stamp family of modules. It may be used with microcontrollers that have analog inputs, with an
external ADC, or with resistor-capacitor circuits for a purely digital solution.
The Joystick comes pre-wired with a 6-wire cable and 1.5 mm plug. An adapter kit with a matching 1.5
mm socket is included, for convenient prototyping on breadboards or thru-hole boards. Simple soldering
is required to use the optional but highly recommended adapter.
Features
5 kΩ linear-taper potentiometer on each axis
Smooth ball-bearing action on both axes
Selectable spring return-to-center on
vertical axis
Selectable detents and/or friction on
vertical axis
Adapter kit for 0.1" spacing is included for easy
prototyping (simple soldering required)
Specifications
Power Requirements: Passive device; will
work with any low-voltage supply
Interface: Resistive or voltage divider output
Dimensions: 2.70 x 2.32 x 2.42 in
(68.6 x 58.9 x 61.5 mm)
Application Ideas
Game controller
Remote control for robotics
Manual control for interactive displays
Packing List
Quad-Bearing Gimbal Joystick (#27806)
Adapter Kit (#27809) (including PCB, two 3-pin headers, and 1.5 mm 6-connector socket)
Resources and Downloads
Find example code, the latest version of this document, and additional resources from the Gimbal Joystick
product page. Go to
www.parallax.com
Copyright © Parallax Inc.
Web Site: www.parallax.com
Tutorials: learn.parallax.com
Sales: sales@parallax.com
Technical: support@parallax.com
and search "27808".
Gimbal Joystick with Adapter (#27808)
Sales: (888) 512-1024
Educator Hotline: (916) 701-8625
Office: (916) 624-8333
Fax: (916) 624-8003
v1.2 11/13/2019 Page 1 of 9

Advertisement

loading

Summary of Contents for Parallax 27808

  • Page 1 This quad-bearing gimbal joystick provides a two-axis resistive output for controlling position, velocity, tilt, etc., as an input device to various microcontrollers, including Parallax’s P8X32A Propeller chip and BASIC Stamp family of modules. It may be used with microcontrollers that have analog inputs, with an external ADC, or with resistor-capacitor circuits for a purely digital solution.
  • Page 2: Adapter Assembly

    (full left) to 0.63 * Vdd (full right). The center voltage is approximately Vdd / 2. The vertical output voltage covers the same range, increasing from bottom to top, with the center voltage also being Vdd / 2. Copyright © Parallax Inc. Gimbal Joystick with Adapter (#27808) v1.2 11/13/2019 Page 2 of 9...
  • Page 3 The horizontal and vertical output voltages can feed to an analog-to-digital converter (ADC) directly for use with either a P8X32A Propeller chip or a BASIC Stamp. Parallax modules that supply two or more channels of on-board ADC include the following: •...
  • Page 4 As you move the joystick around, you will see the values change. These values may be used as-is, or scaled to appropriate input values for the device you would like to control with the joystick. Copyright © Parallax Inc. Gimbal Joystick with Adapter (#27808) v1.2 11/13/2019 Page 4 of 9...
  • Page 5 Load the program using the F10 key, and open the Parallax Serial Terminal via the F12 key. You should see a display that looks like this: As you move the joystick around, the values in the display will change to show its position. The Raw values are the numbers read from the ADC.
  • Page 6 In this example of a center-return joystick, the input values can range from about 380 to 630. These are rescaled to a –500 to +500 range, with a 50-unit-wide deadband in the center. See the object’s comments for further details. Copyright © Parallax Inc. Gimbal Joystick with Adapter (#27808) v1.2 11/13/2019 Page 6 of 9...
  • Page 7 The wiring diagram below is compatible with the BASIC Stamp Board of Education or HomeWork Board. Connect the joystick, the two resistors, and the two capacitors to the breadboard as shown below. Copyright © Parallax Inc. Gimbal Joystick with Adapter (#27808) v1.2 11/13/2019 Page 7 of 9...
  • Page 8 Next, enter the following demo program into the BASIC Stamp Editor software. (Or, download 27808- Gimbal-Joystick-Debug.bs2 from the www.parallax.com, search “27808”). The BASIC Stamp Editor software is a free download from http://www.parallax.com/basicstampsoftware): ' {$STAMP BS2} ' {$PBASIC 2.5} LR VAR Word...
  • Page 9: Mechanical Adjustment

    • Resources and Downloads Check for the latest version of this document and example programs, including the joystick.spin object, from the Quad-Bearing Gimbal Joystick product page. Go to www.parallax.com and search “27808”. Revision History Version 1.0 – original release. Version 1.1 – clarified Spin and BASIC Stamp program example instructions.