Cart

Your Shopping Cart is empty.

Continue Shopping

2PCS Dual-axis Joystick Module PS2 Joystick Control Lever Sensor For Arduino`WH

$1.79  $1.07

Up To 50% Off,30-Day Returns
Add to Wish
  • Brand: Unbranded
  • Condition: New
  • 1000 Units in Stock
  • Location:CN
  • Ships to:Worldwide
  • Condition:New
  • heart Popularity - 3859 views, 551.3 views per day, 7 days on eBay. Super high amount of views. 82 sold.
  • usd Price - Avg: $0.00, Low: $0.00, High: $0.00. Best quality when compared to PicClick similar items.
  • star Seller - + items sold. 0% negative feedback. Great seller with very good positive feedback and over 50 ratings.
Description:<br>Two-axis key joystick sensor module by the use of PS2 rocker potentiometer, with (X, Y) 2-axis analog output, (Z) 1 button digital output. With the Arduino sensor expansion board can produce remote control and other interactive works. In addition, this product in order to allow customers to more easily with the arduino expansion board and other standard interfaces, in the design of the X, Y, Z axis of the circuit are separate leads, the user can use 3-pin ARDUINO special line really plug into the expansion board .<br>Product performance:<br>1. Input voltage range: DC 3.3V to 5V<br>2. Output signal: the module special two-way analog output and a digital output interface, the output value corresponding to (X, Y) biaxial offset, the type of analog; keys that the user press the Z axis, Its type is digital switch.<br>3. Arduino controller can be programmed, the sensor expansion board plug, complete with creative remote interactive works.<br>4. Cross joystick is a bi-directional 10K resistor, with the rocker in different directions, the tap resistance with the change. This module uses 5V power supply, the original state of X, Y read voltage of 2.5V or so, when pressed with the arrow direction, the read voltage value increases with the maximum to 5V; arrows in the opposite direction to press, read the voltage decreases , The minimum is 0V.<br>Tutorial:<br>In the introduction of how to use, we first look at how it works, which we use it very helpful, there is a function of the following diagram:<br>aeProduct.getSubject()<br>In fact, this module is a potentiometer, x, y-dimensional data output port is read out the analog voltage. This figure does not draw the above z-dimensional data output, z-dimensional output only 0 and 1, can be achieved by a button. All in all, it is a combination of potentiometer and button. In the Arduino use it, x, y dimension we received two analog ports to read their values, while the z-dimensional we are connected to the digital port, connected to the power and ground.<br>test program:<br>Int JoyStick_X = 0; // x<br>Int JoyStick_Y = 1; // y<br>Int JoyStick_Z = 3; // key<br>Void setup () {pinMode (JoyStick_X, INPUT);<br>PinMode (JoyStick_Y, INPUT);<br>PinMode (JoyStick_Z, INPUT);<br>Serial.begin (9600); // 9600 bps}<br>Y = analogRead (JoyStick_Y); z = digitalRead (JoyStick_Z); void loop () {int x, y, z;<br>Serial.print (x, DEC); Serial.print ( ",");<br>Serial.print (y, DEC); Serial.print ( ",");<br>Serial.println (z, DEC);<br>Package Contents:<br>● 2 x Joystick<br>On 5-Dec-2022 at 06:26:42 EST, seller added the following information: