Joystick HAT STM32F030F4 Supports Full Angular Movement and Center Press Push Button Switch Module fo
- Stock: In Stock
- Model: EB0045588
- SKU: EB0045588
Description:
Joystick HAT is one of the HAT module that is specifically designed for M5StickC. We have used a STM32F030F4 microprocessor inside to implement I2C communication with M5StickC.
This mini-volume joystick module supports full angular movement and center press, and outputs angular data as well as button digital signals.
With the 'HAT' unified plug-in design it can provide reliable connection, in the most streamlined way. which allowes to get more HMI experience.
Product Features:
- STM32F030F4 inside
- communication protocol: I2C (address: 0x38)
- support omni-directional movement/button press
Weight & Dimension:
- Dimension: 24mm x 30mm x 17mm
- Weight: 3g
Package Includes:
- 1x Joystick HAT
Application:
- Game Handle
- Wireless Joystick Device
Communication protocol:
I2C address: 0x38
Register:
0x01 Read only 4 bytes, single axis value 0 ~ 4096
0: low 8 bits of raw data on X-axis
1: high 8 bits of raw data on X-axis
2: low 8 bits of raw data on Y-axis
3: high 8 bits of raw data on Y-axis
0x02 only read 3 bytes
0: x-axis data after transform ( -127 ~ 127)
1: y-axis data after transform ( -127 ~ 127)
`2: 0 or 1 (press down 0, release 1).
0x03 only write 1 bytes
0x00: Normal mode
0x01: Central spot set 0
0x02: Maximum Calibration (Require manually rotate the joystick to get the maximum value).
0x03: Save central spot and Maximum Calibration value to flash, and go to Normal Mode after finish.
Joystick calibration method
: First i2c writes register 0x03 and then sends 0x02, the joystick is rotated several times around the top, bottom, left and right, and then 0x03 is saved in register 0x03.
Schematic:
EasyLoader:
: https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/HAT/Joystick/EasyLoader_Joystick_HAT.exe
1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed.(Currently EasyLoader is only available for Windows OS)
2.After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click "Burn" to start burning. (For M5StickC burning, please Set the baud rate to 750000 or 115200)
Code:
- for
Pin Map:
M5StickC | GPIO0 | GPIO26 | 3.3V | GND |
Joystick HAT | SDA | SCL | 3.3V | GND |
Shipping Time
After you successfully placed an order at RenhotecIC.com, you will receive a confirmation email with your invoice. Once your order is shipped, you will be emailed with the tracking information of your package. Also, you can choose your preferred shipping method during the checkout process. Kindly advise: please select DHL/FedEx if you need our product urgently.
The timeline of the whole shipping process is shown below:
The total delivery time is calculated from the time your order is successfully placed to the time received. Total delivery time is broken down into processing time and shipping time.
Processing time: The time it takes to prepare your item(s), includes preparing your items, performing quality inspections, and packaging for shipment. Normally, the processing time is 1-3 days (Only include Monday to Saturday ) after getting your order.
Shipping time: The time for your item(s) to travel from our warehouse to your destination. The shipping time depends on the shipping method you chose. Please refer to the shipping rate section for details.
Shipping Rates
You could choose the shipping method based on your preference during checkout, different shipping methods will apply different rates and shipping times. Please check the following chart for detail:
You could choose the shipping method based on your preference during checkout, different shipping methods will apply different rates and shipping times. Please check the following chart for detail:
Shipping Method | Shipping Rates | Shipping Times |
Flat Shipping (Promotion) | $10 | About 5-30 Working Days to Worldwide (Only include Monday to Saturday ) |
Standard Express(0.5KG starting price listed) | Based On Weights | About 5-15 Working Days to Worldwide (Only include Monday to Saturday ) |
Priority Express (0.5KG starting price listed) | Based On Weights | About 3-7 Working Days to Worldwide (Only include Monday to Saturday ) |
In addition, the transit time depends on where you're located, the shipping method you choose, and where your package comes from. We will keep you informed of any problems here to help you get your order as soon as possible.
If you want to know more information, please contact the customer service by contact form or sales@renhotecic.com. We will settle your problem as soon as possible. Enjoy shopping!