HOME > STORE > JOYSTICK-UNIT

I2C Joystick Unit (MEGA328P)

SKU:U024

Regular price $6.50

10+ In Stock

Shipping calculated at checkout.

Description

JOYSTICK, M5Stack has two types of JOYSTICKs: one is compatible with FACES Kit and this one, which is a M5Unit version of ther other JOYSTICK device.

JOYSTICK is very similar to the 'analog' joystick on PS2 (PlayStation 2) controllers. The X and Y axes are two 10k potentiometers which control 2D movement by generating analog signals. The joystick also has a push button that could be used for special applications. Therefore, the entire Unit can output X-Y motion signals in both directions and Z direction.

Based on the schematic, the Joystick X dimension is connected to pin A0 of MEGA328, the Joystick Y dimension is connected to pin A1 on MEGA328, the Joystick Z dimension is connected to pin A2 on MEGA328.

This Unit communicates with the M5Core via the GROVE A interface. It's I2C address is 0x52. By reading the data transferred from JOSTICK, you can obtain the motion information of JOYSTICK.

Product Features

  • Output value of X, Y direction: 10 ~ 250
  • Output value of Z direction is (0: released; 1: pressed)
  • Software Development Platform : Arduino, UIFlow(Blockly, Python)
  • Two Lego-compatible holes

Include

  • 1x JOYSTICK Unit
  • 1x Grove Cable

Applications

  • Game Controller
  • Robot remote control

Specification

Resources Parameter
Communication protocol I2C:0x52
X、Y Axis output value range 10-250
Z Axis output value range 0-1
Net weight 11g
Gross weight 27g
Product Size 48*24*32mm
Package Size 75*45*30mm

LEARN AND DOCUMENTS

  • DOCUMENTS
  • Wireless Gamepad with ESP32 and BLE Wireless Gamepad with ESP32 and BLE Gamepad (prototype) based on M5StickC (ESP32 Pico) with I2C joystick module, dual button unit, and Bluetooth Low Energy connectivity.

    Customer Reviews

    Based on 5 reviews
    100%
    (5)
    0%
    (0)
    0%
    (0)
    0%
    (0)
    0%
    (0)
    E
    E.F.C.Y.
    Good stuffs

    Good! Very good!!

    M
    M.H.

    Good products. Took 11 days to Japan via registered China Post mail with tracking. Packet in hard shelled box.

    J
    J.V.

    Compliant object, sending very fast. Seller to recommend,

    L
    L.L.

    Everything as Expected. Thanks!

    J
    J.S.

    Satisfied

    batktop