Operation and uses
Read moreThe joystick is similar to two potentiometers connected together, one for the vertical movement (Y-axis) and other for the horizontal movement (X-axis).
( Same operation as an analogic joystick used with arduino card )
The potentiometers are variable resistances and, in a way, they act as sensors that provide us with varying voltage depending on their rotation.
Generally, joysticks are used in the military, leisure and aviation sectors.
" Spot " robot of Bonston Dynamics engages in the Army
Using the joystick pinsVCC
GND
VRx -> Variable resistance x
VRY -> Variable resistance Y
SW -> Switch / Button
ConnectionMODULE -> ARDUINO
- VCC -> 5V
- GND -> GND
- VRx -> A0
- VRy -> A1
- SW -> Pin 2
Comments
Please log in or sign up to comment.