Analog joystick module

From VEEROBOT » Wiki
Jump to navigation Jump to search
Dual Axis Analog Joystick


Introduction

Joystick Module can measure position co-ordinates on X and Y axis by moving the thumbstick on top. It also contains a tactile switch that can be triggered by pressing the thumbstick down. There are many projects that need a joystick. You can use it to control the movement of a robot, positioning an electronically controlled object, etc. This can easily be connected to Arduino board, Draco board or any other microcontroller which supports reading analog and digital input.

Features

  • Separate power pins for each axis
  • Wide voltage range from 3.3V to 5V
  • 4 M3 mounting holes to hold the board stable in case you mount it over a platform
  • Additional 5 solder holes provided to extend and use the joystick over breadboard
  • High quality joystick module and thumbstick
  • Plug-and-play. No additional connections required
  • Code and examples ready. Just plug, upload code and play!

Specifications

Detail Specifications in a table

Model Analog Joystick
Number of Pins 9 (X,VCC,GND - Y,VCC,GND - Z,VCC, GND
Breadboard Compatibility Pins 5 (GND - 5V - X - Y - Z)
Output Type Analog for X and Y axis; Digital for Z axis
Operating Voltage 3.3V to 5V
Lead Pitch 0.1th inch (2.54 mm) Breadboard compatible
Dimension 1.3" x 1.3" x 1.5" inch (33.02mm x 33.02mm x 38.1mm)
Operating Temperature 0C to 60C (± 10%)
Range 0-128 (8 bit mode), 0-512(10bit mode) on each of X and Y axis
Weight 40 Grms

Power Supply

Joystick Module can be connected directly to pins of Microcontroller board. VCC pin can be connected to any one VCC pin of joystick module and GND (ground) pin of microcontroller board to any one GND pin of joystick module. Though there are three separate VCC and ground pins, all VCC are internally connected and all GND pins are internally connected. The additional pins are there for any additional connections, or in case you need separate three pin interface for each axis.

Joystick Pins

The module has 5 important connections. X,Y,Z, VCC and Ground. To make connections easier, each axis pin is extended with a separate Ground and power pins. This means, there are a total of 9 pins, each of Signal, Power and Ground. This is an analog joystick module where each movement can be calculated and action taken according to the number of steps (or angle) moved. This is better than those with only buttons that say either Up, Down, Left, Right, Center by a combination of different switches (directional joysticks - with a press-to-select button). An additional separate "press to select" switch can trigger any user customized action.

Usage

Joystick with Draco Board


The X and Y pins should be connected to analog read pins of the micro-controller and Z pin be connected to any available digital pin. Z pin reads a positive voltage when pressed and an external Pull-down resistor may be added to avoid floating pin issues.


Code:

//coming soon


Application Ideas

Many projects require joystick. This joystick module can be easily connect to AVR Draco Board or an Arduino board using connecting wires.

There are a lot of projects which require you to use a joystick module
A short list of applications are:

  1. Controlling a robot by sending directional commands by moving joystick across X and Y axis
  2. Controlling a menu system on a screen or LCD by moving joystick and selecting it with the select button (Z-axis push button)
  3. Controlling an RGB LED with a Joystick. Moving across X axis can change the color while moving across Y-axis can change the brightness

Demonstration

  • Demo 1
  • Demo 2
  • Demo 3

Resources

  • Schematic - Coming soon...

Support

If you have any questions or queries, contact us

Get this

SEN-ACT-LNRS-53