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
1002 HIFI 2x100W TPA3116 AUX+ bluetooth 5.0 HIFI High Power Digital Amplifier Stereo Board AMP Amplificador Home theater
$34.98Amplifier BoardAdd to cartThis is 1002 HIFI ,If you need other parameters, please click ID to buy.502C HIFI ID:1582750502L MINI ID:16526301002L MINI ID:1652631SpecificationsFeatures– This product is full of materials, featuring high performance and high performance price, especially for HIFI music power amplifier with high power and high fidelity.– TPA3116D2 is a type D amplifier IC launched by TI …
3Pcs Waveshare FT232 Module USB to Serial USB to TTL FT232RL Communication Module Mini Port Flashing Board
$39.35Converter BoardAdd to cartFeaturesUse original FT232RLSupport Linux, Android, WinCE, Windows 7/8/8.1/10…Support 3 power supply modes:5V external power supply; 3.3V external power supply; external power supply (requires 3.3V-5V)With 3 LEDs:TXD LED, RXD LED, POWER LEDTXD, RXD, RTS , CTS:lead out with curved pinOther functions PIN:reserved pad (distribution pin, row seat, can be plugged into or plugged into the user …
40 Pin 2.54mm Male Female SIL Socket Row Strip PCB Connector
$4.58Electronic Accessories & SuppliesAdd to cartDescriptionPitch:2.54mm Gender of Connector:Male & FemaleNumber of Pins:40 PinType of Row:Single-RowType of connector:StraightColor:BlackPackage include1 x 40Pin Single Row Straight Male1 x 40Pin Single Row Straight Female
5 Pcs Sliver Aluminum Alloy Case with Cooling Fan Protective Shell Metal Enclosure fit for Raspberry Pi 4 Model B
$93.66Raspberry Pi & Orange PiAdd to cartThe Raspberry Pi is not included, you could get it here:Raspberry Pi 4 Model BDescriptionThis is a Protective case designed specifically for Raspberry Pi 4 Model BThe product is made of aluminum and it is very strong,high hardness, pressure resistance, strong metallic luster, not easy to rust,it can perfectly protect your motherboard Aluminum alloy material …
Wooden Stereo Puzzle Building Blocks Kids Early Educational Learning Toys Gifts
$26.31MathematicsAdd to cartSpecificationsName:Wooden Puzzle Building Blocks ToysModel:E27991Materials:WoodenSuitable Age:Three years old and aboveProduct Category:stereo puzzleFeatures-Enrich your baby’s imagination and creativity, and cultivate your baby’s hands-on ability.-Spell different animals through different shapes, teach your baby to know animals.-Use high-quality wood, clear texture, even wood, soft and smooth color tone.-Free a non-woven storage bag to let your baby manage his …
Wooden Stereo Puzzle Building Blocks Kids Early Educational Learning Toys GiftsRead More
5pcs bluetooth 4.0 Audio Receiver Board for Stereo Dual Channel Audio Speaker Amplifier JDY-62
$22.79Smart ModuleAdd to cart>>>Manual:Click here to openNote:Pins can be soldered to pins or patches with 2.54mm pitch and 2.54 pin headersPins:Function:Description1:VCC:Voltage range 4.2 to 5V, can’t exceed 5V2:GND:Power GND3:L:Left channel output4:R:Right channel output5:MUTE:High level when mute, usually low level6:KC:Empty pinCommon problem1. No bluetooth searchGenerally caused by power supply interference, the power supply line must be added with LC …
19S 60V LiFe Po4 Battery 3.2V Power Protection Board 30A-180A with Temperature Protection Equalization Function Overcurrent Protection BMS Battery Protection Board
$60.74Battery Protection ModuleAdd to cartCurrent 30A / Current 40A / Current 50A / Current 60A / Current 70A / Current 100A / Current 150A / Current 180A / Current 130A /
10pcs CJMCU-832 PAM8302 Single Channel Class D Audio Power Amplifier Development Board
$33.05Amplifier BoardAdd to cartDescriptionThis super small mono amplifier is surprisingly powerful – able to deliver up to 2.5 Watts into 4-8 ohm impedance speakers. Inside the miniature chip is a class D controller, able to run from 2.0V-5.5VDC. Since the amp is a class D, its very efficient (over 90% efficient when driving an 8Ω speaker at over …
10pcs CJMCU-832 PAM8302 Single Channel Class D Audio Power Amplifier Development BoardRead More
Reviews
There are no reviews yet.