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
High-speed Isolation USB To TTL Serial Module Power Isolation Optocoupler Isolation
$15.30Converter BoardAdd to cartOverviewOptical isolation USB to TTL Serial Module Equipped with CH340T USB to serial chip, achieved the power and TTL signal isolation,High-speed and stability, it could avoid the damage of USB and computer blue screen or other issues while use the USB to TTLserial port module, due to improper operation or other external impact on the …
High-speed Isolation USB To TTL Serial Module Power Isolation Optocoupler IsolationRead More
3pcs 3.5mm Plug Jack Stereo TRRS Headset Audio Socket Breakout Board Extension Module
$4.46Converter BoardAdd to cartFeaturesName:Audio breakout board1. TRRS connectors are the audio-style connectors that you see on some phones, MP3 players and development boards.2. TRRS stands for “Tip, Ring, Ring, Sleeve, Inch which reflects the fact that, unlike a standard stereo connector, this actually has three conductors and a ground.3. Some devices use the extra conductor for a microphone …
3pcs 3.5mm Plug Jack Stereo TRRS Headset Audio Socket Breakout Board Extension ModuleRead More
6.5×55 Laser Bore Sighter Red Dot Sight 6.5mm x 55 Brass Cartridge Boresighter Caliber
$20.24Laser BoresighterAdd to cartCaution:Avoid direct eye exposure to the laser beam. Laser radiation is emitted from the aperture.SpecificationHousing Material:BrassLaser Type:Red LaserLaser Wavelength:635~655mmMax Output PowerPower Supply:3Pcs LR41 Batteries (NOT Included)Battery Installation:Positive side facing outwards. Look at your button cell battery, you will see inch+inch on the flat side commonly, which means positive. And the other slightly rounded side is …
6.5×55 Laser Bore Sighter Red Dot Sight 6.5mm x 55 Brass Cartridge Boresighter CaliberRead More
AD584 Voltage Reference 2.5V/5V/7.5V/10V High Precision Reference Source for Voltmeter Calibration
$32.36RF amplifierAdd to cartSpecificationInput voltage:15VOutput voltage:2.5V/5V/7.5V/10VAccuracy:0.0001Warn floating:15ppm/→Size:5*5cm(not included SMA)Package included1 x AD584 Voltage Reference 2.5V/5V/7.5V/10V High Precision Reference Source
5pcs LilyPad MCP9700 Temperature Sensor Module
$16.04Sensor & Detector ModuleAdd to cartDescriptionDetecting temperature changes has never been easier. The MCP9700 is a small thermistor type temperature sensor. This sensor will output 0.5V at 0 degrees C, 0.75V at 25 C, and 10mV per degree C. Doing an analog to digital conversion on the signal line will allow you to establish the local ambient temperature. Detect physical …
76M-108M 2-channel FM Transmitter Board Stereo Wireless Audio Transmission Transmitter Module
$33.20Other Module BoardAdd to cartDescriptionTwo-channel stereo FM transmitter moduleWorking voltage:DC 3V-16VWorking current:17mASize:49mm*31mmFunction description2-channel FM stereo transmissionPower-off memory functionworking frequency displayInput volume and transmission frequency are adjustablesupport wide voltage supplyworking current, small emission efficiency, high power supply, durableRestore factory settingsultra low back noiseInstructions for use– Key:short press, frequency reduction, 0.1MHz;+ key:Short press, increase the frequency by 0.1MHz, long press, restore …
80x50x20mm Corrosion Resistant Aluminum Split Body Aluminum Box Enclosure Case for Electronic DIY
$14.16Electronic Accessories & SuppliesAdd to cartFeaturesHeavy gauge extruded aluminum construction | Easier for drilling, soldering, screwing, problem fixing.Excellent electromagnetic shielding performance;Front and back panels and fasteners are included.Heavy gauge extruded aluminum construction.Excellent electromagnetic shielding performance.Built-in grooves for holding circuit board.Corrosion resistant, lightweight.Durable in use.Great for electronic projects, power supply units, student projects and amplifiers, etc.SpecificationMaterial:extruded aluminumColor:blackSize:80x50x20mmPackage Included1 x 80x50x20mm Enclosure …
4000Peak Power inverter DC12V To AC220V Power Converter Car USB Charger inverter Modified Sine Wave
$157.94InvertersAdd to cartPower InverterFeature– The power inverter can convert DC12V to AC220.– Overload, over temperature, short-circuit, low voltage, over voltage protection.– Stable performance and precise output voltage.Built-in cooling fan with low noise.– Comes with a car charger and a pair of crocodile clip, convenient to use.– Perfect for television, DVD player and other household appliances.Specifications– Color:Black– Frequency:50+/-3Hz– …
Reviews
There are no reviews yet.