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
300W Digital Amplifier Speaker Protection Board 2.1 Channel Relay Speaker Protection Module Boot Delay DC Protection
$15.30Relay ModuleAdd to cartFeatures1.With delay and DC protection (default 1.8V control, DC sensitivity can be adjusted)2. This common power DC protection board uses an optocoupler. Since the optocoupler has input and output isolation,3. Electrical signal transmission has the characteristics of unidirectionality, so it has good electrical insulation and anti-interference ability.4. Since the input end of the optocoupler belongs …
AB18 2SA1943/2SC5200 High Power 300W + 300W Dual Channel Class A/B Power Amplifier Board for Sound Speaker DIY
$125.17Amplifier BoardAdd to cartProduct description1. Using Japan imported original brand new 2SA1943/2SC52002. Electrolytic capacitor adopts imported electrolysis to ensure strong continuous power support.3. The resistor uses high-precision resistors, and the main circuit uses high-precision resistors with an accuracy of ÷ 1% to ensure a good signal-to-noise ratio for the whole machine.4. The PCB adopts 1.6mm thick double-sided sheet, …
5pcs DMP-L1 WiFi intelligent Lighting Module Built-in ESP ESP8285 WiFi Chip for Smart Home
$28.82Smart ModuleAdd to cartDescriptionThe core processor of DMP-L1 module adopts industrial chip ESP8285. The chip integrates an enhanced version of the Tensilica’s L106 Diamond Series 32-bit core processor in smaller size packages. ESP8285 has a complete Wi-Fi network function, which can be used independently from the controller. Its built-in cache memory greatly provides CPU performance.DMP-L1 module supports standard …
5pcs DMP-L1 WiFi intelligent Lighting Module Built-in ESP ESP8285 WiFi Chip for Smart HomeRead More
Wareshare 5.5 inch AMOLED HDMI Display Capacitive Touch Screen with Tempered Glass Support for NVIDIA Jetson Nano Raspberry Pi
$229.66Display ScreenAdd to cartDocumentsManual:Click here to openDatasheet:Click here to openSoftwarePanasoni SDFormatterWin32DiskImagerPuTTYOverviewThis product is a universal 5.5-inch HDMI display with 1080≠1920 ultra-clear resolution and a capacitive touch panel. Support for Raspberry Pi and various mini PCs, also as a computer monitor.Features5.5inch AMOLED, 1080×1920 resolution.Toughened glass capacitive touch panel.Supports popular mini PCs such as Raspberry Pi, as well as general …
5pcs 20x20x15mm DIY CPU IC Chip Heat Sink Extruded Cooler Aluminum Heat Sink
$4.36Electronic Accessories & SuppliesAdd to cartFeatureAluminum heat sinks for electronics, computers, electrical facilities, play a cooling effectSpecificationMaterials:AluminumSize:20*20*15mm (L*W*H)Color:SilverQty:5pcsPackage includes5 x CPU IC Chip Aluminum Heat Sink
5Pcs Yellow Backlight 1602 Character LCD Display Module
$24.89Display ScreenAdd to cartDescriptionLCD display module with yellow backlightWide viewing angle and high contrastBuilt-in industry standard HD44780 equivalent LCD controllerCommonly used in:copiers, fax machines, laser printers, industrial test equipment,networking equipment such as routers and storage devicesLCM type:CharactersCan display 2-lines X 16-charactersOperate with 5V DCModule dimension:80mm x 36mm x 12mmViewing area size:64.5mm x 16mmPackage included5 X LCD display module
Bathtub Caddy Bamboo Bath Tub Holder Bathroom Tray Glass Book Reading Rack Stand
$106.76FoamAdd to cartSpecificationMaterial:BambooColor:WoodSize:(L)X(W)X(H)105X22X4cm/41.34inchX8.66inchX1.57inch(appr.)Features1. Constructed from durable bamboo and metal supporting frame in excellent craftsmanship for many years use.2. Varnish processing on surface, lightweight and easy to operate.3. Books can be held with metal rack stably for reading when bathing.4. Books, phone, towl, and food can be placed on it for convenient reach.5. Its length is adjustable between …
Bathtub Caddy Bamboo Bath Tub Holder Bathroom Tray Glass Book Reading Rack StandRead More
Reviews
There are no reviews yet.