deckle studio
Open the editor
Built-in circuit elementjoystick

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.

GNDVCCVRXVRYSWThumb joystick (2 axes + push)
Schematic symbol

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

PinNameUse
GNDGNDGround pinGround
VCCVCCSupply pinSupply input: decouple with 100 nF close to the pin
VRXVRXPassive pinContact: carries a signal or supply wire
VRYVRYPassive pinContact: carries a signal or supply wire
SWSWPassive pinContact: carries a signal or supply wire

Parameters 5

Resistance per axisR
Default10k Ω
X positionxlive
Default50 %
Y positionylive
Default50 %
Springs backspring
Defaultboth
bothx onlynone

Which axes return to the middle when you let go of the stick. "x only": a throttle stick, Y stays where it is.

pressedclosed
Defaultoff

PCB

Connector / off-boardPinHeader_1x05_P2.54mm_Vertical

thumb joystick module (KY-023 class) on a 5-pin header (GND, VCC, VRx, VRy, SW)