pdf-icon

Unit Joystick2

SKU:U024-V2

Description

JoyStick2 Unit is A high-precision hold-electromagnetic rocker control unit that integrates a joystick control signal acquisition firmware using the STM32G030F6P6 microcontroller. The unit communicates via I2C and supports three-axis control signal inputs, including analog input for X/Y axes and digital input for the Z-axis button. The JoyStick2 Unit uses a Hall effect joystick, which detects magnetic field changes to achieve high-precision control, featuring advantages like non-contact operation, wear resistance, high precision, and strong anti-interference capabilities, ensuring stability and long service life. Additionally, the device is equipped with WS2812 RGB LEDs for status indication and interactive display, and a reserved STM32 firmware upgrade interface for easy firmware updates. This product is suitable for applications like game control and robot operation.

Features

  • Hall effect joystick
  • Three-axis input:
    • X/Y-axis analog input
    • Z-axis button digital input
  • Built-in STM32
  • I2C communication
  • RGB LED
  • 2x LEGO-compatible holes
  • Development platforms: Arduino, UIFlow

Includes

  • 1x JoyStick2 Unit
  • 1x HY2.0-4P Grove cable (20cm)

Applications

  • Game controller
  • Robot remote control

Specifications

Specifications Parameters
MCU STM32G030F6P6@Cortex-M0+, 32KB Flash, 8KB SRAM, 64MHz
Communication Protocol I2C: 0x63
X/Y-axis offset output 16-bit ADC output (0-65535)
Z-axis button output 0/1
RGB LED 1x WS2812C
Product dimensions 40*24*23.9mm
Packaging dimensions 136*92*26mm
Product weight 10.2g
Packaging weight 15.5g

Schematics

schematics

PinMap

STM32G030F6P6 PA1 PA2 PA3 PA4
X-Axis LEFT-SW-X
Y-Axis LEFT-SW-Y
Button LEFT-SW-B
WS2812C RGB
  • Default M5 host PORT A I2C pins:
PORT A (I2C) SCL SDA VCC GND
Core(Basic) G22 G21 5V GND
Core2 G33 G32 5V GND
CoreS3 G1 G2 5V GND
Atom Lite/Atom Matrix G21 G25 5V GND
AtomS3/AtomS3 Lite G39 G38 5V GND
StickC PLUS/PLUS2 G33 G32 5V GND

Model Size

module size

Protocol

detail

ソフトウェア

Arduino

Video

  • JoyStick2 Unit product introduction and case presentation

  • UIFlow2.0 JoyStick2 Unit

Version Comparison

Product Compare Unit Joystick v1.1 Unit Joystick v1.1 Unit Joystick2 Unit Joystick2
MCU MEGA8A STM32G030F6P6
RGB / WS2812C
X, Y axis offset output value 8 bits(0-255) 16 bits(0-65535)
Communication Mode I2C (0x52) I2C (0x63)
manufacturing technique Carbon film joystick Hall effect joystick