{"product_id":"5d-rocker-joystick-for-arduino-mcu-avr-game-projects","title":"5D Rocker Joystick for Arduino, MCU, AVR Game Projects","description":"\u003ch1\u003e5D Rocker Joystick — 2-Axis Analog with Button for MCU Projects\u003c\/h1\u003e\n\n\u003cp\u003eThis 5D rocker joystick provides two analog axes (X and Y) and a digital press-button, making it ideal for DIY game controllers, robotic control, and menu navigation. It self-centers for responsive feedback and operates at 3.3V–5V, compatible with Arduino, AVR, and most microcontroller boards.\u003c\/p\u003e\n\n\u003ch2\u003eKey Specifications\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eSpecification\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOperating Voltage\u003c\/td\u003e\n\u003ctd\u003e3.3V – 5V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOutput\u003c\/td\u003e\n\u003ctd\u003e2-axis analog (X, Y), 1 digital button (SW)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePotentiometer\u003c\/td\u003e\n\u003ctd\u003e10kΩ linear taper\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDimensions\u003c\/td\u003e\n\u003ctd\u003e34mm × 34mm × 30mm\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSelf-centering\u003c\/td\u003e\n\u003ctd\u003eYes\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eButton\u003c\/td\u003e\n\u003ctd\u003eMomentary push, active low (pull-up required)\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWhat You Can Build With This\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eCustom USB game controller using Arduino Leonardo or Pro Micro\u003c\/li\u003e\n  \u003cli\u003eRobotic arm or pan-tilt camera gimbal with precise XY control\u003c\/li\u003e\n  \u003cli\u003eMenu scrolling interface for LCD or OLED display projects\u003c\/li\u003e\n  \u003cli\u003eWearable navigation glove or assistive input device\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eWorks directly with any microcontroller having analog input pins: Arduino Uno, Nano, Mega; ESP32; STM32; ATtiny85 with ADC. Both 3.3V and 5V logic levels are supported. For Raspberry Pi, an external ADC like MCP3008 is needed since the Pi lacks analog inputs.\u003c\/p\u003e\n\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eConnect VCC to 5V (or 3.3V), GND to ground, VRx and VRy to two analog pins (e.g., A0, A1), and SW to a digital pin. Use an internal pull-up resistor or add a 10kΩ external pull-up on the SW pin, as the button shorts to ground when pressed.\u003c\/p\u003e\n\n\u003ch2\u003eWhy Buy from Compoden\u003c\/h2\u003e\n\u003cp\u003eEvery component is sourced from verified suppliers and tested for compatibility before listing. We've spent 10 years building projects for makers, schools, and institutions across India. Ships from Bengaluru in 3-5 days. If defective on arrival, replace within 7 days.\u003c\/p\u003e\n\n\u003cdetails\u003e\u003csummary\u003eIs this compatible with Raspberry Pi?\u003c\/summary\u003e\u003cp\u003eThe joystick’s analog outputs require an ADC; Raspberry Pi lacks onboard analog pins. Use an MCP3008 or similar ADC chip with the Pi to read X\/Y values normally.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan I replace a PlayStation controller thumbstick with this module?\u003c\/summary\u003e\u003cp\u003eIt shares similar physical dimensions and electrical specs, but verify pinout and mounting before replacing; some adapters may be needed for exact fit.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eDoes it include header pins for breadboard use?\u003c\/summary\u003e\u003cp\u003eThe module usually comes with a 5-pin male header strip; solder it onto the board for direct breadboard insertion or jumper wire connection.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdiv class=\"compoden-handoff\" style=\"margin-top:24px;padding:16px;background:#f0f4ff;border-left:4px solid #2B4D8F;border-radius:4px;\"\u003e\n  \u003cp style=\"margin:0 0 6px 0;font-weight:600;color:#1A3560;\"\u003e📦 Free Setup Handoff Document Included\u003c\/p\u003e\n  \u003cp style=\"margin:0;font-size:0.95em;color:#333;\"\u003eEvery Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.\u003c\/p\u003e\n\u003c\/div\u003e\n","brand":"Compoden","offers":[{"title":"Default Title","offer_id":53444962255213,"sku":"CDN-0439","price":85.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_b40b42d2-f0c9-4dbf-80c8-49c76be4015f.jpg?v=1781512566","url":"https:\/\/compoden.com\/products\/5d-rocker-joystick-for-arduino-mcu-avr-game-projects","provider":"Compoden","version":"1.0","type":"link"}