Description
Unit Joystick v1.1 is a joystick control input unit that adopts the I2C communication interface. It supports three-axis control signal input, including X/Y axis offset analog inputs and a Z-axis button digital input.
The unit is suitable for joystick-control applications such as game controllers and robot remote control. The X/Y axis outputs provide analog values from 0 to 255, while the Z-axis button outputs 0 or 1. According to the official documentation, the unit uses I2C address 0x52 and returns 3 bytes when reading joystick status.
Video
Features
- Three-axis input: supports X/Y axis offset analog inputs and Z-axis button digital input.
- X/Y axis control: outputs values from 0 to 255 for joystick movement.
- Z-axis button: outputs 0 or 1 for button status.
- I2C communication: uses I2C communication at address 0x52.
- LEGO-compatible mounting: includes 2 LEGO-compatible holes.
- Development platform support: supports Arduino and UIFlow, including Blockly and Python.
Specifications
| Product | Unit Joystick v1.1 |
| SKU | U024-C |
| Main MCU | MEGA8A |
| Communication Interface | I2C Communication @ 0x52 |
| X/Y Axis Output | 0-255 |
| Z-axis Button Output | 0/1 |
| Product Size | 48.0 x 24.0 x 32.0 mm |
| Product Weight | 11.0g |
| Package Size | 138.0 x 93.0 x 25.0 mm |
| Gross Weight | 27.0g |
Protocol
| Protocol Type | I2C |
| I2C Address | 0x52 |
| Read Register | 0x52 |
| Data Length | 3 bytes |
| Byte [0] | X value |
| Byte [1] | Y value |
| Byte [2] | Button status |
Applications
- Game controller.
- Robot remote control.
Product List
| 1 | Unit Joystick v1.1 |
| 1 | HY2.0-4P Grove Cable (20cm) |
Resources
FAQ
| What is Unit Joystick v1.1 used for? | It is used for joystick-control applications such as game controllers and robot remote control. |
| Which communication interface does it use? | It uses I2C communication at address 0x52. |
| What input signals does it support? | It supports X/Y axis offset analog inputs and a Z-axis button digital input. |
| What is the X/Y axis output range? | The X/Y axis output value range is 0 to 255. |
| What does the Z-axis button output? | The Z-axis button outputs 0 or 1 for button status. |
| How many bytes are returned when reading joystick status? | The official protocol table lists a 3-byte return value: X value, Y value, and button status. |
| Which development platforms are supported? | The official page lists Arduino and UIFlow, including Blockly and Python. |