ΔΩΡΕΑΝ ΜΕΤΑΦΟΡΙΚΑ για παραγγελίες άνω των 85.00 έως 2kg

Joystick 2-Axis

από OEM
This large panel mounted Joystick provides a nice finished look as well as finer 2-Axis control than is possible with a standard thumb joystick. Key...
39-00013317
Ογκομετρικό βάρος: 0.08kg
Εγγύηση: Ως εξάρτημα, δεν καλύπτεται
Κατασκευαστής: OEM
Χώρα Προέλευσης: Κίνα
Διαθέσιμο
Αποστολή σε 24 ώρες
Χωρίς απόθεμα στο φυσικό κατάστημα
14.80
Χωρίς ΦΠΑ 11.94
+
Τιμές βάση ποσότητας (Λιανική - Χονδρική):
Ποσότητα 10+
Τιμή 11.84

ΠΕΡΙΓΡΑΦΗ

This large panel mounted Joystick provides a nice finished look as well as finer 2-Axis control than is possible with a standard thumb joystick.

Key Features of JH-D202X-R4 Joystick 5K:

  • Large panel mounted assembly with nice finished look.
  • 2-Axis analog outputs based on the X and Y position of the joystick
  • 5K ohm X/Y potentiometers with solder type connections
  • 3.3 and 5V compatible

Typical applications include controlling remote motorized vehicles, motorized cameras, factory automation and electric wheelchairs.

Joystick Operation

The module includes two spring loaded 5K potentiometers that provide X and Y analog outputs which can be input to two analog inputs on an MCU.

The analog inputs on an MCU typical read values over a range of 0-1023 (for standard 10-bit ADC inputs like on most Arduino).  The X-Axis and Y-Axis outputs from the Joystick should read around 512 (midpoint) when the control is at rest.  As the joystick is moved, one or both of the outputs will register higher or lower values depending on how the control is being moved.  When the joystick is released, it is spring-loaded and will return to center.

Joystick Mounting

The joystick is designed to be panel mounted through a 41mm (1 5/8″) hole.  The joystick is inserted from the bottom side of the panel.  Four 2.5mm screws secure a pressure ring from the top side which locks the joystick in place.

The shaft of the joystick extends through a rubber dust cover for a clean look and to provide some amount of protection against dust and moisture.

 

ΣΗΜΕΙΩΣΕΙΣ

  • These joysticks may be labeled with different PNs, but the functionality and dimensions are the same across all PNs.
Joystick Wiring

The two X/Y potentiometers have solder connections for wire hookup.

JH-D202X-R2_R4 Joystick 5K - ControlsJH-D202X-R2_R4 Joystick 5K – Controls

Assigning which potentiometer is the X or Y is arbitrary and relative to the orientation of the joystick once it is mounted.

The labels in the picture just serve to provide on starting reference point.

When wiring the potentiometers, the center connection provides the output signal which represents the position of the joystick.

The two outside connections are typically hooked up to Vcc and ground to match the MCU.  The + and – direction is relative to how the Vcc and grounds are connected to the potentiometers.  These can be swapped if it is desired to swap the direction of the signal output as the joystick is moved.

ΧΑΡΑΚΤΗΡΙΣΤΙΚΑ

Εγγύηση:
Ως εξάρτημα, δεν καλύπτεται
Κατασκευαστής
:
OEM
Μικτό Βάρος:
0.001kg
Χώρα Προέλευσης:
Κίνα

ΕΠΙΠΛΕΟΝ ΧΑΡΑΚΤΗΡΙΣΤΙΚΑ

  • Operating Ratings
    • Vcc Range: 3.3 – 5V (typical)
    • Analog Outputs: 0 – Vcc
    • Resistance Value: 5K ohm
    • Resistance Tolerance: ± 20%
    • Independent Linearity: ± 1%
    • Restoration Error Rate: ≤ 30 ohms
    • Joystick Stroke: ± 28 degrees
    • Rated Life: 500,000 cycles
  • Dimensions
    • Mounting Hole: 41mm
    • Mounting screw spacing: 32.5mm
    • LxWxH: 49.6x49.6x66mm

ΑΡΧΕΙΑ

Our Evaluation Results:

These modules are quite useful for integrating into a final application such as for robotic control.

The program below illustrates and tests the basic functionality of the module.  It reports the current state of the X-Axis and Y-Axis out to the Serial Monitor window.

The program uses analog pins A0 and A1, but these can be any 2 analog pins.

Joystick Module Test Program

/*
JH-D202X-R2/R4 Joystick Module Test

Basic code for monitoring the outputs of the joystick. 
*/
int xPin = A1;      // Use any analog input pin to read X-Axis pot
int yPin = A0;      // Use any analog input pin to read Y-Axis pot
int xPosition = 0;  // Variable to hold current X-Axis reading
int yPosition = 0;  // Variable to hold current Y-Axis reading
//===============================================================================
//  Initialization
//===============================================================================
void setup() 
{ 
  Serial.begin(9600); 
}
//===============================================================================
//  Main
//===============================================================================
void loop() 
{
  xPosition = analogRead(xPin);         // Read the current state of both controls
  yPosition = analogRead(yPin);
  
  Serial.print("X: ");                  // Print state to Serial Monitor window
  Serial.print(xPosition);
  Serial.print(" | Y: ");
  Serial.println(yPosition);

  delay(250);    // add some delay between reads. 
}