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
KYYSLB AC12-15V Terminal Wiring Type Selection Board Audio Signal Selection Audio Source Switching input Selection Board
$31.47Relay ModuleAdd to cartDescriptionThe main board and switch cable length is 30CMRelay type 4-channel audio source selection, audio source switching, input selection board (actually adjustable from 1-4 channels)Using 1.6mm thick double-sided tinned PCB, it gives the most direct and fidelity switching of the audio source. The board is stereo dual-channel.The power supply voltage is single AC12-15VSwitch board size …
USB infrared Remote Control for Raspberry Pi
$11.38Raspberry Pi & Orange PiAdd to cartUSB Infrared Remote Control For Raspberry PiFeatureUSB port, plug and play, no driver4 custom program shortcutsEach shortcut can be set to start 3 programRemote control distance greater than 18 mCompatible with almost all media player softwareCompatible with all operating systems above Windows2000Compatible with Windows XP, MCE, Vista operating systemTeaching Demo:can powerpoint like slide presentation on …
80W 18V Foldable Sunpower Solar Panel Charger Solar Power Bank USB Camouflage Backpack for Camping Hiking
$312.89Smart Robot & Solar PanelAdd to cartFeatures∵ Eco-friendly & durable material.∵ Applied in charging 18V device as a power bank.∵ Portable, foldable and lightweight, with buckle to be fold firmly.∵ Come with 6x carabiners to mount it to your backpack or tent.∵ Produce continuous stable output even in cloudy day.∵ Suitable for outdoor activities, outdoor working or emergency.Main ParameterPmax:80WUSB Output Voltage:18VMaterial-Panel:PET …
20pcs 78M12 Mini Voltage Regulator Module with Pin High Accuracy Low Power Consumption LO7805MA 12V
$34.91Boost & Buck ModuleAdd to cartFeatures1. Used in small power motors, cameras, electric toys, LED lighting, etc.2. The product has high accuracy whose range is ±2%3. With thermal overload protection, short circuit protection and output switching SOA protection4. The product has ±2% output voltage toleranceSpecificationsHigh Accuracy:±2%Quiescent Current:6mAWorking Temperature:-40→ ~ + 125→Size:18 x 10.5 x 5mm12VInput Voltage:DC 14.5-30V, Output Voltage:DC 12VOutput …
3pcs DC-DC 3V-35V To 4V-40V Step Up Power Module Adjustable Boost Converter Adjustable Voltage Board
$60.09Power Supply ModuleAdd to cartDescriptionInput Voltage:DC 3V-35VOutput Voltage:DC 4V-40V (continuously adjustable)Efficiency:94%(MAX)Size:L37mm*W32mm*H15mmWorking Temperature:-40-+85 degreesLoad capacity:Max 80WThe way of Connection:the connection terminal does not need to be soldered, the inchINinch is the input, and the inchOUTinch is the output.NoteWhen the output voltage is closer to the output voltage,the carrying capacity is higher,and the efficiency is also higher.Measurement reference tableInput voltage:Output voltage:Maximum …
3pcs USB 2CH QC3.0 QC2.0 DC-DC Buck Converter Charging Step Down Module 6-32V 9V 12V 24V to Fast Quick Charger Circuit Board 3V 5V 12V
$21.17Power Supply ModuleAdd to cartSize ConversionInchesCentimetersPlease according to your own measurements to choose your suitable size. The tags inside the items will show in our Asian (Type) size.Feature· Input voltage:6V-32V· Output voltage:default 5V, automatically adjust between 3-12V after triggering fast charge· Output power:up to 24W (5V/3.4A, 9V/2.5A, 12V/2A, etc.)· Output voltage cable compensation function· Conversion efficiency:90%-97%· Support multiple fast-charging …
SNESPi NESPi Case Enclosure + Cooling Fan + 3pcs Heatsink for Raspberry Pi 3 model B+/3B/2B/B+
$21.67Raspberry Pi & Orange PiAdd to cartOverviewThis is new SNESPI NESPI Super Game Case, and it’s Compatible with Raspberry pi 3 model B+, Raspberry pi 3 model B, and 2B, B+ etc.With a extra cool mini fan and 3pcs heatsinks to cool the raspberry pi board while the pi board working; special for pi 3 B plus.(the height of plastic column …
Reviews
There are no reviews yet.