• 9 Pin Breakout Module Switch Shield Board for PS2 Joystick Game Controller
  • 9 Pin Breakout Module Switch Shield Board for PS2 Joystick Game Controller
  • 9 Pin Breakout Module Switch Shield Board for PS2 Joystick Game Controller

9 Pin Breakout Module Switch Shield Board for PS2 Joystick Game Controller

SKU
MDL.1303
Customer #
MOQ
10
Packaging
1pcs/lot
Unit Price
RFQ
Unit Price
from $0

Payment Accepted

Wholesale

Prices

50+ RFQ
<50 RFQ
20+ RFQ
200+ RFQ

Buyer Protection

  • Full Refund if you don't receive your order
  • Full or Partial Refund, if the item is not as described
Product introduction:
The dual-axis button rocker sensor module is made of PS2 rocker potentiometer with (X, Y) 2-axis analog output and (Z) 1-way button digital output. With the Arduino sensor expansion board, you can create interactive works such as remote controls. In addition, in order to make it easier for customers to cooperate with standard interfaces such as arduino expansion boards, the X, Y, and Z axis circuits are separately designed. Users can use the 3-pin ARDUINO dedicated cable to plug into the expansion board. Use it.
 
Product performance:
1. Input voltage range: DC 3.3V to 5V
2. Output signal: The module has two analog output and one digital output interface. The output values correspond to (X, Y) two-axis offset respectively, and the type is analog; the button indicates whether the user presses on the Z-axis. Its type is digital switching.
3. It can be programmed by Arduino controller, and the sensor expansion board can be plugged in to complete the creative remote interactive work.
4. The cross rocker is a bidirectional 10K resistor, and the resistance of the tap changes with the direction of the rocker. This module uses 5V power supply. In the original state, the X and Y read voltages are about 2.5V. When pressed in the direction of the arrow, the read voltage value increases with the maximum value to 5V. When the arrow is pressed in the opposite direction, the read voltage value decreases. The minimum is 0V.
 
Use the tutorial:
Before we introduce how to use it, let's first look at how it works. This is very helpful for our use. Here is a functional diagram:
 
In fact, this module is a potentiometer, and the data output of the x and y dimensions is the voltage value read by the analog port. The figure does not show the z-dimensional data output. The z-dimensional only outputs 0 and 1, which can be achieved with one button. All in all, it is a combination of a potentiometer and a button. It is used under the Arduino. In the x and y dimensions, we receive two analog ports to read their values, while in the z-dimensional we receive the digital port and connect the power and ground.
 
Test program:
Int JoyStick_X = 0; //x
Int JoyStick_Y = 1; //y
Int JoyStick_Z = 3; //key
Void setup() { pinMode(JoyStick_X, INPUT);
pinMode(JoyStick_Y, INPUT);
pinMode(JoyStick_Z, INPUT);
Serial.begin(9600); // 9600 bps }
Void loop() { int x,y,z; x=analogRead(JoyStick_X); y=analogRead(JoyStick_Y); z=digitalRead(JoyStick_Z);
Serial.print(x , DEC); Serial.print(",");
Serial.print(y , DEC); Serial.print(",");
Serial.println(z , DEC);


Package includes:

1 X 9 Pin Breakout Module Switch Shield Board for PS2 Joystick Game Controller

Note: all the descriptions and prices are subject to change without prior notice.

Free Shipping: No

Shipping Weight/Unit(g): 0.00

Std. Packing Qty. (pcs): 1

Report an Error (Win $10 Prize)