This is JoyStick Module PS2 Breakout Sensor very similar to the ‘analog’ joysticks on PS2 (PlayStation 2) controllers. Directional movements are simply two potentiometers – one for each axis. Pots are ~10k each. This joystick also has a select button that is actuated when the joystick is press down.
With the help of this Joystick Module, you can measure position coordinates on the X and Y axis by moving the “hat”. It also contains a switch that is press-able by pushing the “hat”.It also contains a switch that is press-able by pushing the “hat” down. Similar to the XBOX controller.
The X and Y axes are two 10k potentiometers which control 2D movement by generating analog signals. When the module is in working mode, it will output two analog values, representing two directions. This module uses the 5V power supply, and value, when reading through analog input, would be about 2.5V, a value will increase with joystick movement and will go up till maximum 5V; the value will decrease when the joystick is moved in other direction till 0V.
Applications:
1. As square wave signal generator which generates a square wave signal
2. To provide a signal to the stepping motor driver
3. Adjustable pulse generation for chip use
4. Produce variable pulse signal, the control-related circuit (PWM dimming, speed)
Module Description:
Frequency is divided into three ranges:
1. XXX (no decimal point): the smallest unit is 1Hz, the range 1Hz-999Hz
2. XX.X (decimal point in ten): The minimum unit is 0.1Khz; the range of 0.1KHz-99.9KHz
3. X.X.X.(there is three decimal point): the smallest unit is 1Khz; the range 1KHz-150KHz
Frequency Display Example:
1. ”100″ indicates that the PWM output pulse of 100Hz
2. ”54.1″ indicates that the PWM output pulse of 54.1KHz
3. ”1.2.4.” Indicates that the PWM pulse output 124KHz
4. Duty Cycle in the range:0 to 100
5. Three frequencies duty cycle is the same, all the parameters are non-volatile
Features:
- 2.54mm pin interface leads
- Long service life and stable performance
- Standard interface and electronic building blocks
- Widely use in Arduino DIY projects
- Cross rocker as a two-way 10K resistor, with the rocker in a different direction.