China factories

China factory - Shenzhen Shanhai Technology Ltd.

Shenzhen Shanhai Technology Ltd.

  • China,Shenzhen ,Guangdong
  • Active Member

Leave a Message

we will call you back quickly!

Submit Requirement
China Arduino PS2 joystick game controller module Joystick module / electronic
China Arduino PS2 joystick game controller module Joystick module / electronic

  1. China Arduino PS2 joystick game controller module Joystick module / electronic
  2. China Arduino PS2 joystick game controller module Joystick module / electronic
  3. China Arduino PS2 joystick game controller module Joystick module / electronic
  4. China Arduino PS2 joystick game controller module Joystick module / electronic
  5. China Arduino PS2 joystick game controller module Joystick module / electronic
  6. China Arduino PS2 joystick game controller module Joystick module / electronic

Arduino PS2 joystick game controller module Joystick module / electronic

  1. MOQ: 5pcs
  2. Price:
  3. Get Latest Price
Packaging Details tray
Delivery Time 3-7days
Payment Terms TT,Paypal,WU,Escrow
Supply Ability 50000pcs
Place of Origin China
Brand Name shanhai
Certification CE,Rohs
Model Number Game joystick module

View Detail Information

Contact Now Ask for best deal
Get Latest Price Request a quote

Explore similar products

  1. China CM2021-00TR

    CM2021-00TR

    Get Latest Price
  2. China TEF6902 AH

    TEF6902 AH

    Get Latest Price
  3. China MC908JB8JDME

    MC908JB8JDME

    Get Latest Price
  4. China RTD227OL-GR

    RTD227OL-GR

    Get Latest Price
  1. Product Details
  2. Company Details

Product Specification

Packaging Details tray Delivery Time 3-7days
Payment Terms TT,Paypal,WU,Escrow Supply Ability 50000pcs
Place of Origin China Brand Name shanhai
Certification CE,Rohs Model Number Game joystick module

Arduino PS2 joystick game controller module Joystick module electronic building blocks

PS2 joystick game controller module standard interface and electronic building blocks 2.54mm pin interface leads.



Cross rocker as a two-way 10K resistor, with the rocker in a different direction, tap the 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 direction of the arrow, as read out voltage increases up to 5V; press the opposite direction of the arrow, read voltage reduce the minimum is 0V.

 



 

Arduino test case Demo

/************************************************* ********************
** Device: Joystick **
** File: EF_Joystick_Test.c **
** **
** Created by ElecFreaks Robi.W / 10 June 2011 **
** **
** Description: **
** This file is a sample code for your reference. **
** **
** Copyright (C) 2011 ElecFreaks Corp. **
************************************************** *******************/

iint FirstShotX, FirstShotY;

void setup ()
{
  for (int i = 0; i <19; i + +)
  {
    pinMode (i, INPUT);
    digitalWrite (i, 1);
  }
 
  Serial.begin (9600);
  FirstShotX = 0;
  FirstShotY = 0;
 
}

void loop () {
 
  int i, someInt, flag = 0;
  for (i = 4; i <11; i + +)
  {
    someInt = digitalRead (i);
    if (someInt == 0)
    {
      flag = 1;
      break;
    }
   }
   if (flag == 1)
   {
     switch (i)
     {
       case 4: Serial.println ("--------> Button A "); break;
       case 5: Serial.println ("--------> Button B "); break;
       case 6: Serial.println ("--------> Button C "); break;
       case 7: Serial.println ("--------> Button D "); break;
       case 8: Serial.println ("--------> Button E "); break;
       case 9: Serial.println ("--------> Button F "); break;
       case 10: Serial.println ("--------> Button KEY "); break;
       default: break;
     }
     flag = 0;
   }
  
   int sensorValue = analogRead (A0);
   if (FirstShotX == 0)
   {
     FirstShotX = sensorValue;
     Serial.print ("FirstShotX =");
     Serial.println (FirstShotX);
   }
  
   Serial.print ("X =");
   Serial.println (sensorValue - FirstShotX);
  
   sensorValue = analogRead (A1);
   if (FirstShotY == 0)
   {
     FirstShotY = sensorValue;
     Serial.print ("FirstShotY =");
     Serial.println (FirstShotY);
   }
   Serial.print ("Y =");
   Serial.println (sensorValue - FirstShotY);
  
   delay (200);

Company Details

Bronze Gleitlager

,

Bronze Sleeve Bushings

 and 

Graphite Plugged Bushings

 from Quality China Factory
  • Business Type:

    Manufacturer,Agent,

  • Year Established:

    2006

  • Total Annual:

    1 Million-2 Million

  • Employee Number:

    50~100

  • Ecer Certification:

    Active Member

  Hong Kong Shanhai Group limited, founded in 2003 in Shenzhen and HK . We manufacture and market GSM and GPRS modem , GSM module GPRS module , EDGE module and modem , CDMA module and modem, GPS and GSM antennas and other accessories , GPS navigators, Our products are imported to the US,...   Hong Kong Shanhai Group limited, founded in 2003 in Shenzhen and HK . We manufacture and market GSM and GPRS modem , GSM module GPRS module , EDGE module and modem , CDMA module and modem, GPS and GSM antennas and other accessories , GPS navigators, Our products are imported to the US,...

+ Read More

Get in touch with us

  • Reach Us
  • Shenzhen Shanhai Technology Ltd.
  • Room 620 ,yutian building , song lin road , Futian district ,Shenzhen , China
  • http://www.gsm-gprs-modem.com/

Leave a Message, we will call you back quickly!

Email

Check your email

Phone Number

Check your phone number

Requirement Details

Your message must be between 20-3,000 characters!

Submit Requirement