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
10pcs 433MHZ ASK Wireless Transmission Module TX11 High Power Module infinite Emission Circuit Board
$19.40Smart ModuleAdd to cartFeatures(1) The transmission power is large, and the transmission power is greater than 30 mW;(2) Wide operating voltage, 2.5V-9V;(3) Operating frequency:433.92 MHz(4) Using SAW frequency stabilization (+-75KHZ), the working frequency is stable;(5) With the RXB8 receiving module, the distance can reach 800 meters;(6) Static power consumption Low emission is current consumption:10mA, there is basically no …
SZWENGAO WG8-40S1210 8-40V to 12V 10A Automatic Buck Boost Power Converter Car Voltage Regulator Step Down Step Up Module
$39.35Boost & Buck ModuleAdd to cartFeatures*Designed according to CE/RoHS*100% full power, high stability output*100% full load aging test*Imported components*Imported high-quality thermal silica gel potting, waterproof, dustproof and shockproof* Die-cast aluminum alloy shell, small size, simple installation*Internal protection functions such as over current, low voltage, over temperature, short circuit, reverse connection, etc.*Wide voltage input, high conversion efficiency of 88-90%*Long service life …
10Pcs Wemos DS18B20 Module for D1 Mini DS18B20 Temperature Measurement Sensor Module
$36.17Sensor & Detector ModuleAdd to cartFeatures1. Supporting the D1 MINI2. The Ar-duino compatible, using A-rduino IDE for programming3. 11 the XI/O pins4. 1 XADC pin (0-3.3V)5. Support the OTA onlinePackage included10 x DS18B20 Module20 x Long female pin20 x Short female pin20 x Normal pin
ASK Wireless Receiving Module with Decoding EV1527 Encoding Transmitter
$10.92Smart ModuleAdd to cartFeaturesThe latest anti-lost code self-recovery function solves the trouble of losing code.The latest anti-interference software is involved to prevent accidental startWidely compatible, PT2262, PT2260, EV1527, PT2240, etc.Ultra-wide pulse width range:105 to 515 oscillating resistorsIn jog mode:support combination codeSelf-locking mode:support combination codeIn the interlock mode:4 independent open and close, the combination code is closedYou can learn …
ASK Wireless Receiving Module with Decoding EV1527 Encoding TransmitterRead More
50W 18V Monocrystaline Al-Alloy at back Solar Panel Dual 12V/5V DC USB Charger for Car RV Boat
$88.07Smart Robot & Solar PanelAdd to cartFeatures– EVA+PET at front panel and Al-Alloy at back, light-weight but durable.– USB and DC output interface for more purpose.– Equipped with 12V DC5.5×2.1 & 5V USB output interface.– Dedicated for 12V battery and 5V device charging. – High output 3000mAh USB, can full-charge an iX in 1.5h in max power.– Mono-crystalline solar Cell with …
Reviews
There are no reviews yet.