Product Description
Two-axis key joystick sensor module by means of PS2 rocker potentiometer, with (X, Y) 2-axis analog output, (Z) 1 button digital output.
With the A-rd-ui-no sensor enlargement board can produce distant management and different interactive works.
As well as, this product as a way to enable prospects to extra simply with the a-rd-ui-no enlargement board and different normal interfaces, within the design of the X, Y, Z axis of the circuit are separate leads, the person can use 3-pin a-rd-ui-no particular line actually plug into the enlargement board .
Tutorial:
Actually, this module is a potentiometer, x, y-dimensional knowledge output port is learn out the analog voltage. This determine doesn’t draw the above z-dimensional knowledge output, z-dimensional output solely 0 and 1, might be achieved by a button. All in all, it’s a mixture of potentiometer and button. Within the a-rd-ui-no use it, x, y dimension we acquired two analog ports to learn their values, whereas the z-dimensional we’re linked to the digital port, linked to the facility and floor.
Check 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.start (9600); // 9600 bps}
Y = analogRead (JoyStick_Y); z = digitalRead (JoyStick_Z); void loop ()
{int x, y, z;
Serial.print (x, DEC); Serial.print ( “,”);
Serial.print (y, DEC); Serial.print ( “,”);
Serial.println (z, DEC);
Package deal contains:
6 x Twin-axis XY Joystick Module
1 x 30-pin Female and male DuPont cable
Package deal Dimensions : 7.17 x 5.2 x 1.42 inches; 3.49 ounces
Merchandise mannequin quantity : JK-US-497
Date First Obtainable : June 30, 2022
Producer : DKARDU
ASIN : B0B5GLYPLT
Nation of Origin : China
【Voltage】:The module makes use of DC 3.3V-5V energy provide, and the unique state studying voltage of X and Y is 2.5V. Within the path of the arrow, the voltage will increase, the utmost worth is 5V, and in the other way of the arrow , the voltage worth decreases, and the minimal worth is 0V
【Composition】:The joystick is a mix of two analog potentiometers and a digital change, simply hook up with the 2 analog inputs and the robotic can hearken to your instructions with X,Y management.
【Output】:The DO port is used for digital output, and the AO port is used for analog output
【Resistor】: Cross joystick is a bi-directional 10K resistor, with the rocker in several instructions, the faucet resistance with the change.
【Composition】:The joystick is a mix of two analog potentiometers and a digital change, simply hook up with the 2 analog inputs and the robotic can hearken to your instructions with X,Y management.
There are no reviews yet.