Description: Thumb Joystick with a button - module with a plate
A joystick similar to analog devices used for example in PlayStation 2 controllers. The detection of the direction of movement is done via two potentiometers - one (4.7 kΩ) for each axis. The device also has a button activated by pressing the handle.
To use the device sufficient is microcontroller with analog-to-digital converter (analogue input in the Arduino). Information about the position of the handle is transmitted via an analog signal, in which voltage corresponds to the given position. Each axis has a separate analog pin. The status of the button is detected via the digital output which, in case of activation, reaches a low status.
The product is compatible with Arduino
For Arduino users, the manufacturer has prepared a manual to connect together with sample code. |
Connection of joystick with a button
Using the board to connect the joystick is reduced to the following pins:
- VCC - supply voltage (5 V).
- GND - ground of the system.
- S-X - the analog output for the vertical axis (in the middle position, the value is equal to half of the supply voltage VCC/2).
- S-Y - Analog output for the horizontal axis (in the middle position, the value is equal to half of the supply voltage VCC/2).
- S-K - Digital signal button, in case of activation, it reaches the value of the GND, deactivated is in the high status.
Attention!
|
Useful links |