M5Stack Joystick HAT STM32F030F4 Supports Full Angular Movement and Center Press Push Button Switch Module fo
$25.46
Shipping:Standard Shipping about 10-25 business days
Secure Payment:Paypal,VISA,MasterCard
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
click to download EasyLoader
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 inchBurninch 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
Weight | 0.016 kg |
---|
Customers Also Viewed
2000PCS 1 Pin Header Connector Housing for Dupont Wire Jumper Compact
$31.63Electronic Accessories & SuppliesAdd to cartFeatures2.54mm Single-row strip Dupont Wire Jumper.Professional and compact, light weight.Material:PlasticSize:14 x 2.5mm/ 0.55 x 0.1inch (L x W)Color:BlackPackage includes2000 x 1Pin Header Connector
HIFI 2.0 Stereo bluetooth 5.0 Lossless Decoding 27W*2 Digital Class D Car Speaker Audio Power Amplifier Board
$8.73Amplifier BoardAdd to cartDescriptionAVN-302 is a low EMI, no filter, Class D Bluetooth audio decoding power amplifier, with an internal protection mechanism for overcurrent, undervoltage, short circuit and overheating automatic shutdown.SpecificationModel:AVN-302Power:7.4V-14.4VSize:55*50mmOutput power:27W*2Boot instructions1. Insert the U disk, load the file (reading completed) automatically enter the playback, the red indicator flashes2. In the playback state, short press the ‘P/P’ …
CJMCU-1286 PIC16F1823 Microcontroller Development Board
$8.73Motherboard & Development BoardAdd to cartDescriptionCJMCU-1286 is a PIC microcontroller minimum system, running stability and high reliability,internal resources are relatively small, so the microcontroller is simple and convenient to use.The operating voltage is 1.8V – 5.5V.Package included1 x CJMCU-1286 PIC16F1823 Microcontroller Development Board
4Pcs 7-Segment 0.56 inch 4 Digit 12 Pins Red LED Display
$8.38Display ScreenAdd to cart4Pcs 7-Segment 0.56 Inch 4 Digit 12 Pins Red LED DisplayDescriptionWith time displayCommon anodePin Number:12 pinsDigit Number:4 digitsDigit Height:0.56 inch / 1.4 cmSize (L x W ):2 x 0.75 inch / 5 x 1.9 cmColor:RedPackage included4 x 0.56’inch 4 Digit LED Display
3pcs M5Stack StickC Pro to Plus Hat Prototype Diy Protoboard Breadboard PCB Universal Board
$31.71Expansion Board & ShieldAdd to cartProduct FeaturesHole Size:0.039inch 1mm (CNC Drilled)Hole Pitch:0.1 in – (2.54 mm)Entire Hole Quantity:168 HolesPackage Included3 x PRO TO PLUS HAT3 x 8 pin header ( 90° )
Reviews
There are no reviews yet.