Joystick Sensor Module

From LinkSprite Playgound
Revision as of 07:14, 22 December 2015 by Alvin (talk | contribs) (Introduction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

This is a joystick module with Linker kit standard connection.

N15DH WITHOUT PACKAGED SIDE2.jpg

N15DH WITHOUT PACKAGED BACK.jpg

N15DH WITHOUT PACKAGED SIDE1.jpg

N15DH WITHOUT PACKAGED FRONT.jpg

Features

Dimensions: 44.1×24.2×36.7mm

Net weight: 11g

Dimension

Tumb joystick dimension.jpg

Schematics

Application Ideas

test <syntaxhighlight lang="c"> /*

 Joystick AnalogReadSerial
Reads an analog input of Joystick on pin 0 and pin 1, prints the result to the serial monitor 
*/

void setup() {

 Serial.begin(9600);

}

void loop() {

 int sensorValue = analogRead(A0);
 int sensorValue2 = analogRead(A1);
 Serial.print("The X and Y coordinate is:");
 Serial.print(sensorValue, DEC);
 Serial.print(",");
 Serial.println(sensorValue2, DEC);
 Serial.println(" ");
 delay(200);

} </syntaxhighlight>

Joystick link.jpg

Resources

How to buy

Here to buy Joystick Sensor Module on store