Tags: JoyStick, Gamepad, Shield, Compatble, with, Arduino

JoyStick Shield with a cross PS2 joystick with buttons for Arduino

  • 49.00 AED
    • Ex Tax:49.00 AED
    • Brands techmaze
    • Product Code: Digital
    • Availability: In Stock
    JoyStick Shield with a cross PS2 joystick with buttons, there are four round buttons, 2 small buttons. Provides for Arduino joystick and buttons input expansion. On-board switches can switch between 3.3V and 5V, can use this model for other 3.3V microcontroller platforms.This shield allows you to ea..
    JoyStick Shield with a cross PS2 joystick with buttons, there are four round buttons, 2 small buttons. Provides for Arduino joystick and buttons input expansion. On-board switches can switch between 3.3V and 5V, can use this model for other 3.3V microcontroller platforms.
    This shield allows you to easily add NRF24L01 RF interface and Bluetooth module interface for wireless communication. It also allows you to add Nokia 5110 LCD interface for easy game development, and I2C communication interface for easy connectivity to I2C devices
    For all version of arduino Main board, 2009 , UNO, mega 1280, mega 2560
    comes example code
    direct plug puzzle board, NO soldering needed.
    Five momentary push buttons (4+ joystick select button, just like the playstation 3 analog stick push button)
    two-axis thumb joystick
    specification: The push buttons are connected to Arduino digital pins 2-6; the related pin will be low when a certain button is pressed. Joystick
    Y-Axis movement will produce a proportional analog voltage on analog pin 0, while, Joystick X-Axis movement will produce a analog signal on analog pin 1.
    Add nRF24L01 RF interface
    With Nokia 5110 LCD interface, so very easy to game development.
    Adding a Bluetooth module interface, convenient Bluetooth wireless serial communication.
    Add I2C communication interface, easy connectivity to I2C devices

    Meanwhile, JoyStick Shield with a cross PS2 joystick with buttons, there are four round buttons, 2 small buttons. Provides for Arduino joystick and buttons input expansion. Onboard switches can switch between 3.3V and 5V, can use this model for other 3.3V microcontroller platforms, such as STM32. 

    This video will help you start with JoyStick Shield :


    this is the code used in the previous video to connect JoyStick Gamepad Shield Compatble with Arduino 
    /* 6th December 2013 - By Kyle Fieldus

    This example sketch is designed to show the inputs and outputs of the Funduino Joystick Shield V1.A
    The shield this sketch was developed with was provded by ICStation http://www.icstation.com/
    */

    int up_button = 2;
    int down_button = 4;
    int left_button = 5;
    int right_button = 3;
    int start_button = 6;
    int select_button = 7;
    int analog_button = 8;
    int x_axis = A0;
    int y_axis = A1;
    int buttons[] = {up_button, down_button, left_button, right_button, start_button, select_button, analog_button};


    void setup() {
    for (int i; i < 7; i++)
    {
    pinMode(buttons[i], INPUT);
    digitalWrite(buttons[i], HIGH);
    }
    Serial.begin(9600);
    }

    void loop() {
    Serial.print("UP = "),Serial.print(digitalRead(up_button)),Serial.print("\t");
    Serial.print("DOWN = "),Serial.print(digitalRead(down_button)),Serial.print("\t");
    Serial.print("LEFT = "),Serial.print(digitalRead(left_button)),Serial.print("\t");
    Serial.print("RIGHT = "),Serial.print(digitalRead(right_button)),Serial.print("\t");
    Serial.print("START = "),Serial.print(digitalRead(start_button)),Serial.print("\t");
    Serial.print("SELECT = "),Serial.print(digitalRead(select_button)),Serial.print("\t");
    Serial.print("ANALOG = "),Serial.print(digitalRead(analog_button)),Serial.print("\t");
    Serial.print("X = "),Serial.print(map(analogRead(x_axis), 0, 1000, -1, 1));Serial.print("\t");
    Serial.print("Y = "),Serial.print(map(analogRead(y_axis), 0, 1000, -1, 1));Serial.print("\n");
    delay(100);
    }


    Tags: gamepad; input; joystick; shield