Rs. 180 - In stock - SKU ABH-MISC-0463 - Brand Generic
A PS2-style analog joystick module with two potentiometers (X and Y axes) and a push button when pressed down. It outputs two analog values and one digital signal, for robot, game and pan-tilt control.
Delivery anywhere in Pakistan for a flat Rs. 250 paid in advance, product price Cash on Delivery. 7-Day Checking Warranty.
| Axes | 2 (X, Y) potentiometers |
|---|---|
| Button | Push down switch |
| Supply | 3.3-5V |
| Outputs | 2 analog + 1 digital |
| Pins | GND, +5V, VRx, VRy, SW |
This thumb joystick gives smooth two-axis control with a click button. It is the same kind of stick used in game controllers.
Centre position reads about 512 on a 10-bit ADC. Pushing in each direction moves the value towards 0 or 1023.
Add a small dead zone around the centre in code, because the stick rarely returns to exactly 512.
Use pinMode(SW, INPUT_PULLUP). The button pulls the pin to ground when pressed.
Yes. Power it at 3.3V for full range on the ESP32 ADC.
About 512 on Arduino's 10-bit ADC.