pdf-icon

Unit Joystick2

SKU:U024-V2

Description

Unit Joystick2 is a high-precision Hall effect joystick control unit, built with an STM32G030F6P6 main control chip and integrated firmware for joystick signal acquisition. The unit communicates via the I2C interface and supports three-axis control signal input, including analog input for the X/Y axes and digital button input for the Z axis. Unit Joystick2 uses a Hall effect joystick, achieving high-precision control by detecting magnetic field changes, offering advantages such as contactless operation, wear resistance, high accuracy, and strong anti-interference capability, ensuring product stability and long service life. Additionally, the device is equipped with a WS2812 RGB LED for status indication and interactive display, and reserves a firmware upgrade interface for the STM32, making firmware updates convenient. This product is suitable for various application scenarios such as game controllers and robot control.

Features

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

Includes

  • 1 x Unit Joystick2
  • 1 x HY2.0-4P Grove Cable (20cm)

Applications

  • Game controller
  • Remote-controlled robot

Specifications

Specification Parameter
MCU STM32G030F6P6@Cortex-M0+, 64MHz main frequency
Flash 32KB
SRAM 8KB
Protocol I2C:0x63
X/Y axis output 16-bit ADC output (0-65535)
Z-axis button 0/1
RGB LED 1x WS2812C
Product Size 40.0 x 24.0 x 23.9mm
Product Weight 10.0g
Package Size 138.0 x 93.0 x 24.9mm
Gross Weight 15.7g

Schematics

schematics

PinMap

Unit Joystick2

HY2.0-4P Black Red Yellow White
PORT.A GND 5V SDA SCL

STM32G030F6P6

STM32G030F6P6 PA1 PA2 PA3 PA4
X-Axis LEFT-SW-X
Y-Axis LEFT-SW-Y
Button LEFT-SW-B
WS2812C RGB

Model Size

module size

Softwares

Arduino

UiFlow1

UiFlow2

Internal Firmware

Protocol

detail

Video

  • Unit Joystick2 product introduction and case demonstration

  • UiFlow2 Unit Joystick2

Product 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