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
OpenMV 25mm Ultra Long Focal Lens M12 Ultra-long-range Machine Vision for OpenMV 342 M7 M4 Special
$27.26Smart ModuleAdd to cartTechnical ParametersFocal Length:25mmAperture:F2.0Format:1/3inchMount:M12*0.5FOV:H = 9.1°, V = 6.8°IR Cut Filter:NoneWeight:5gLength:14mmWidth:14mmHeight:20mmFeatureThis lens gives your OpenMV Cam the ability to see longer distances (e.g. zoom in). The standard lens that ships with your OpenMV Cam has a 115° field-of-view (FOV) which allows your OpenMV Cam to see more things, but, with less detail. This lens has a …
5pcs 6V 1W 60*110mm Polycrystalline Mini Solar Panel Epoxy Board for DIY Learning
$27.09Smart Robot & Solar PanelAdd to cartSpecifications– Model:60*110mm– Type:Epoxy Solar Panel– Maximum power:1W– Working current:0-160MA– Working voltage:6V– Open circuit voltage:7.2V– Short circuit current:0.2A– Number of batteries:12pcs– Dimensions:110*60mm– Polycrystalline:Yes– Reference weight:about 0.020KGPackage included5 x Solar Panel
5Pcs BESTEP 1 Channel 24V Relay Module 30A with Optocoupler Isolation Support High And Low Level Trigger
$27.66Relay ModuleAdd to cartDescriptionThe module adopts high quality 30A relay, and the maximum load is normally open interface:AC 250V/30A, DC 30V/30A;The chip optocoupler isolation, strong driving ability, stable performance, trigger current 5mA;Module working voltage:24VCan be set up by high jumper or low level trigger.Fault-tolerant design, the relay will not operate even if the control line is disconnected.Power indicator …
50ml Horticulture Natural Concentrated Liquid Fertilizer for Plants Flowers Grasses Succulent
$9.83Lab ChemicalsAdd to cartSpecificationName;Concentrated Liquid FertilizerUsage:Suitable For Plants Flowers Grasses Succulent and so on.Nutrient Content:NitrogenPhosphorus:Potassium Oxide:Magnesium Oxide:Sulphur (g/l):30:15:17.5:1.3:1.7Featurea Improves seed germination and increases root development.b Increases bloom set and size of flowers and fruit.c Relieves stress in plants caused by extreme weather conditions.d Increase overall plant healthe Increases plant vigor and growthf Rebuilds soilg Improves drought toleranceh Improves …
Reviews
There are no reviews yet.