Thumb joystick (2 axes + push)
Analog thumb stick as on the KY-023 module (ALPS RKJXV class): two 10 kΩ potentiometers under one stick, wipers on VRX / VRY between VCC and GND, push switch from SW to GND. Drag the stick in the World view (or the sliders in the inspector) while the simulation runs; a game controller can move it too. "Springs back" returns the axis to the middle when you let go; a throttle stick (Y held) stays where you leave it, as on an RC transmitter.
Key data
- Category
- Passive
- Simulation model
- Built-in circuit element
- Reference prefix
- JS
- Pins
- 5
- Land pattern
- PinHeader_1x05_P2.54mm_Vertical
- Interactive
- Click it while the simulation runs
Simulation model
Two potentiometers (each split at its axis position, at least 1 mΩ per side) and a switch from SW to GND. Both positions can be changed while the simulation runs.
- Primitive
- JOY
Pins 5
| Pin | Name | Use |
|---|---|---|
| GND | GNDGround pin | Ground |
| VCC | VCCSupply pin | Supply input: decouple with 100 nF close to the pin |
| VRX | VRXPassive pin | Contact: carries a signal or supply wire |
| VRY | VRYPassive pin | Contact: carries a signal or supply wire |
| SW | SWPassive pin | Contact: carries a signal or supply wire |
Parameters 5
RxliveylivespringWhich axes return to the middle when you let go of the stick. "x only": a throttle stick, Y stays where it is.
closedPCB
PinHeader_1x05_P2.54mm_Verticalthumb joystick module (KY-023 class) on a 5-pin header (GND, VCC, VRx, VRy, SW)