Main pinout
Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show signal routes
Use the Unit Joystick v1.1 as a two-axis input with a pushbutton for a game or robot controller. The red PORT.A socket supplies power and carries the I²C report from the joystick.
Pin index
Quickly scan every header pin, port name, supported function and usage note.
| Pin | MCU pin | Types | Notes |
|---|---|---|---|
| Ground | Common return for the 5 V supply and I²C signals. | |
| Power | Nominal 5 V power input from the host. | |
| I²C | Bidirectional I²C data for reading the joystick report. | |
| I²C | I²C clock from the host. This is the rightmost contact in the front view. |
References
Manufacturer references and technical documentation.
| Chip | Role | Manufacturer | Notes | Link |
|---|---|---|---|---|
U024-C | Product documentation | M5Stack | Specifications, cable color order, enclosure dimensions and I²C protocol. | Datasheet |
Unit Joystick v1.1 | Reference schematic | M5Stack | PORT.A pin numbers, 470 Ω series resistors and signal routes. The U3 symbol is labeled ATMEGA328. | Datasheet |
ATmega8A | Microcontroller datasheet | Microchip | 32-pin package pinout. PC4 is SDA at pin 27 and PC5 is SCL at pin 28. | Datasheet |
U024-C | Arduino read example | M5Stack | Requests three bytes in X, Y, button order from I²C address 0x52. | Datasheet |