ข้อมูล
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
รายละเอียดสินค้า
Dual-axis button rocker PS2 game joystick sensor 
 
Description:
 
This is PS2 game joystick module for Arduino
Lots of robot projects need joystick. This module provides a affordable solution to that. Simply connect to two analog inputs, the robot is at your commands with X,Y control. It also has a switch that is connected to a digital pin. This joystick module can be easily connect to Arduino by normal IO Expansion Shield with supplied cables.
No soldering required, Reusable for prototyping or design applications of electronic circuit,modify or revise the circuits easily.
Accept resistors,transistors, diodes, LEDS, capacitors and other types of electronic components.
An invaluable tool for experimenting with circuit designs whether in the R&D.
Directional movements are simply two potentiometers - one for each axis
Compatible with Arduino interface
Brand: KEYES
Model: KY-023
 
Specification:
 
Three axis (X,Y,Z(button))
Size:37x25x32mm
Weight: 15 g
Documents
WikiDoc
Tie-point 700
ABS plastic material
Completely reusable
Phosphor bronze nickel plated spring clips
Accepts a variety of wire sizes(29-20 AWG)





 


// Henry's Bench
// Module KY023
 
int Xin= A0; // X Input Pin
int Yin = A1; // Y Input Pin
int KEYin = 3; // Push Button
 
void setup ()
{
  pinMode (KEYin, INPUT);
  Serial.begin (9600); 
}
void loop ()
{
  int xVal, yVal, buttonVal;
  
  xVal = analogRead (Xin);
  yVal = analogRead (Yin);
  buttonVal = digitalRead (KEYin);
  
  Serial.print("X = ");
  Serial.println (xVal, DEC);
  
  Serial.print ("Y = ");
  Serial.println (yVal, DEC);
  
  Serial.print("Button is ");
  if (buttonVal == HIGH){
    Serial.println ("not pressed");
  }
  else{
    Serial.println ("PRESSED");
  }
    
  delay (500);
}
 
เงื่อนไขอื่นๆ
Tags

วิธีการชำระเงิน

บมจ. ธนาคารกรุงไทย สาขาโรงไฟฟ้าบางปะกง ออมทรัพย์
ธนาคารกรุงเทพ จำกัด (มหาชน) สาขาบิ๊กซี ฉะเชิงเทรา 2 ออมทรัพย์
บมจ. ธนาคารกรุงไทย สาขาบิ๊กซี ฉะเชิงเทรา 2 ออมทรัพย์
พร้อมเพย์ สาขา- -
Scan this!
สนธยา ใจผ่อง
063-xxxxxx-8
Accept All Banks | รับเงินได้จากทุกธนาคาร
พูดคุย-สอบถาม