This website uses cookies
This website uses cookies. For further information on how we use cookies you can read our Privacy and Cookie notice
This website uses cookies. For further information on how we use cookies you can read our Privacy and Cookie notice
Shipped from abroad
Free return within 7 days for eligible items.Details
Yewulinjinanshangmaoyouxiangongsi
80%Seller Score
4 Followers
Shipping speed: Average
Quality Score: Excellent
5 PCS For Dual-axis XY Module PS2 Control Lever r KY-023 Rated 4.9 /5 Biaxial Key Rocker r Module
Descrtion:
Two-axis key r module by the use of PS2 rocker potentiometer, with (X, Y) 2-axis og output, (Z) 1 on dial output. With the r expansion board can produce e control and other interactive works. In addition, this product in order to allow customers to more easily with the 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 special line really plug into the expansion board .Product performance:1. Input voltage range: DC 3.3V to 5V2. Output signal: the module special two-way og output and a dial output interface, the output value corresponding to (X, Y) biaxial offset, the type of og; keys that the user pre the Z axis, Its type is dial switch.3. controller can be programmed, the r expansion board plug, complete with creative e interactive works.4. Cro is a bi-directional 10K , with the rocker in different directions, the tap resistance with the change. This module uses 5V power supply, the state of X, Y read voltage of 2.5V or so, when preed with the arrow direction, the read voltage value increases with the maximum to 5V; arrows in the opposite direction to pre, read the voltage decreases , The minimum is 0V.Test Program:
int _X = 0; /x
int _Y = 1; /y
int _Z = 3; /key
void setup() { pinMode(_X, INPUT);
pinMode(_Y, INPUT);
pinMode(_Z, INPUT);
Serial.begin(9600); / 9600 bps }
void loop() { int x,y,z; x=ogRead(_X); y=ogRead(_Y); z=dialRead(_Z);
Serial.print(x ,DEC); Serial.print(",");
Serial.print(y ,DEC); Serial.print(",");
Serial.println(z ,DEC);
This product has no ratings yet.
Subscribe to our newsletter
and be the first one to know about our amazing deals!