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
Solar Powered Floating Bird Bath Water Fountain Pump Pond Pool Water Pump
$42.51Electrical Pump & ValveAdd to cartDescriptionThis product is solar-powered decorative fountain.It is made up of highly efficient solar panel and new brushless pump.IT is start-up fast,efficient and strong stability.In addition,it has no electric outlet or external battery,so it’s not only easy to use,but also safe.This product is suitable for bird bath,fish tank,small pond,garden decoration,water circulation for oxygen,etc.FeatureSolar panel:7V/1.4WBrushless pump input:DC4.5-10VMaximum …
Solar Powered Floating Bird Bath Water Fountain Pump Pond Pool Water PumpRead More
Vibration Switch Sensor Module Vibration Sensor Alarm Module Smart Car Accessories
$4.36Sensor & Detector ModuleAdd to cartFeatures 1. Onboard LM393 voltage comparator chip and vibration sensing probe2. Support 5V/3.3V voltage input3. Onboard signal output indication, the output valid signal is low level and the indicator light is on, the output signal can be directly connected with the single chip IO4. The sensitivity of signal detection can be adjusted5. With 3mm screw …
Vibration Switch Sensor Module Vibration Sensor Alarm Module Smart Car AccessoriesRead More
TPA3116 Dual Channel 50Wx2 Digital Amplifier Board
$23.15Amplifier BoardAdd to cartSpecificationPower amplifier chip:TPA3116Power supply voltage:11 ~ 26VDC DC input with limit reverse polarity protection(Recommended DC 24V current 3A and above switching power supply)Output power:stereo 50W + 50W, PBTL monaural 100WLoad impedance:4 to 8 ohms (horn speaker impedance)Audio input:2.54mm3 pin seatPackage Included1 x Digital Amplifier Board
5pcs Geekcreit 3 in 1 AC 60-500V 100A Square Yellow LED Digital Voltmeter Ammeter Hertz Meter Signal Lights Voltage Current Frequency Combo Meter indicator Tester with Round CT
$48.24Electronic Accessories & SuppliesAdd to cartDescriptionDisplay:Voltage, current, frequencyDisplay color:YellowMeasuring voltage range:60~500V AMeasuring current range:6~100AMeasuring frequency range:20-70HzSize:2.8*5cm/1.10inch*1.97inch (D*H)Note:Due to the difference between different monitors, the picture may not reflect the actual color of the item. Thank you!!Package included5 x 22MM Indicator5 x Round CT
5pcs Nano V3.0 Terminal Adapter AVR ATMEGA328P without NRF2401+ Expansion interface DC Power Board
$38.18Expansion Board & ShieldAdd to cartFeature1. The item is a terminal expansion adapter, working very well for prototyping Nano projects2. There are pins expansion hole for the NANO board, which can directly lead the pins; With DC power supply interface, you can directly add external power or battery to supply power3. With NRF2401+ expansion interface, you can insert NRF2401+ to …
Reviews
There are no reviews yet.