Electronic Components
M5Stack M5StickC Joystick HAT
Shopping information
Description
The M5Stack M5StickC Joystick HAT is a compact joystick input module designed for M5StickC projects. It integrates an STM32F030F4P6 main control chip and communicates with the M5StickC host through the I2C interface.
The joystick supports full-range directional deflection and a center button press. It outputs deflection angle data and switch digital signals, making the M5Stack M5StickC Joystick HAT useful for compact game controller interfaces, wireless joystick devices, and human-machine interaction input.
With the unified HAT-series plug-in design, I2C address 0x38, and official software resources for Arduino, UIFlow, and EasyLoader, this Joystick HAT provides a simple way to add directional control to M5StickC-based prototypes.
Features
- Joystick input: supports full-range directional deflection and center button press.
- STM32F030F4P6 MCU: built-in main control chip for joystick data handling.
- I2C communication: communicates with M5StickC through I2C at address 0x38.
- Angle and switch output: outputs deflection angle data and digital switch signals.
- M5StickC HAT design: uses the unified HAT-series plug-in structure for reliable connection.
- Software support: official resources are available for Arduino, UIFlow, EasyLoader, and protocol reference.
Specifications
| MCU | STM32F030F4P6 |
| Communication Port | I2C @ 0x38 |
| Joystick Input | Full-range deflection and center button |
| Raw Axis Data | 0 to 4096 |
| Converted Axis Data | -127 to 127 |
| Product Size | 100.0 x 55.0 x 50.0mm |
| Product Weight | 81.0g |
| Package Size | 119.0 x 89.0 x 65.0mm |
| Gross Weight | 117.0g |
Applications
- Game controller input
- Wireless joystick devices
- M5StickC human-machine interaction projects
- Directional control for compact prototypes
Product List
| 1 | Hat Joystick |
| 1 | Double-sided tape |
Other Content
Protocol and Pin Notes
| I2C Address | 0x38 |
| Pin Mapping | M5StickC G0/G26/3.3V/GND to Joystick HAT SDA/SCL/3.3V/GND |
| Button Signal | Button press = 0, release = 1 |
| Calibration Commands | Normal mode, center point calibration, maximum value calibration, and save mode are listed in the official protocol reference. |
The M5Stack M5StickC Joystick HAT is an expansion HAT. The official product list includes the Hat Joystick and double-sided tape; an M5StickC controller is not listed in the package contents.
Resources
- M5Stack Joystick HAT documentation
- Joystick HAT model size PDF
- Arduino example code
- UIFlow1 Joystick HAT docs
- UIFlow2 Joystick HAT docs
- Joystick HAT EasyLoader
FAQ
What is the M5Stack M5StickC Joystick HAT used for?
It adds joystick input to M5StickC projects and is suitable for game controller interfaces, wireless joystick devices, and compact human-machine interaction controls.
What communication interface does it use?
The Joystick HAT uses I2C communication at address 0x38.
What joystick data is available?
The official protocol lists raw X/Y axis data, converted X/Y data from -127 to 127, and a button state signal.
What is included in the package?
The official product list includes 1 x Hat Joystick and 1 x double-sided tape.
Does the package include an M5StickC controller?
No. The official product list does not include an M5StickC controller.
Only logged in customers who have purchased this product may leave a review.
Keep exploring
You may also like
More pieces selected to complement what you are viewing.
-
Sale
JTK Lofi Cherry Profile ABS Keycaps
Original price was: $79.99.$40.00Current price is: $40.00. -
Sale
Plug & Play Bosch Engine ECU, Ford, 0261S20876, 0 261 S20 969, JN1512A650UE, JN15-12A650-UE, HA6A12B684LA, HA6A-12B684-LA, DAR4
Original price was: $499.99.$150.00Current price is: $150.00. -
Sale
X-Men Forever #2 A Mark Brooks Keiron Gillen (04/24/2024) Marvel
Original price was: $3.99.$3.19Current price is: $3.19. -
Sale
Relife Solder Wick No-Clean Copper Desoldering Braid Low Residue Tin Repair Tool
Original price was: $12.00.$7.00Current price is: $7.00.