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
CP2102 USB To TTL/Serial Module Downloader
$10.11Converter BoardAdd to cartCJMCU CP2102 USB To TTL/Serial Module UART STC Downloader For Driver Installation Introduction:http://forum.hobbyant.com/forum-topic-56275.html Description CJMCU-CP2102 its highly integrated, built-in USB2.0 full-speed function controller, USB transceiver, crystal oscillator, EEPROM and asynchronous serial data bus (UART), supports full-featured modem signal without any external USB devices. CJMCU-CP2102 works with other USB-UART adapter circuit similar to the driver through …
24x12x1 inch Aluminum Silicate High Temperature insulation Ceramic Fiber Blankets
$56.69FabricsFibers & TextilesAdd to cartDescription24x12x1 Inch Aluminum Silicate High Temperature Insulation Ceramic Fiber BlanketSpecificationMaterial:Aluminum SilicateSize:61x30x2.5cm / 24 x12 x1 inchClassification temperature:1260 ℃Long-term temperature:1100 ° CThermal conductivity:0.03Applications* Furnace, heating equipment, pipelines and other lining or wall lining insulation* Furnace door, lid, roof and other heat sealing* Chemical, electrical, high-rise building insulation fireFeatures* Seismic heat resistance* Low thermal conductivity and low …
24x12x1 inch Aluminum Silicate High Temperature insulation Ceramic Fiber BlanketsRead More
10pcs EQKIT AMP-1 TDA2822M Power Amplifier Amplify Module DIY Kit Electronic Production for Diy Kit Electronic PCB Board Module
$82.12DIY Electronic KitsAdd to cartDescriptionPackage Name:TDA2822M AmplifierKit Model:AMP-1Working voltage:DC4.5-9VPCB size:51*36mmSpeaker Size:50mmSpeaker Power:0.25WAMP-1 amplifier using TDA2822M acts as amplifier chip, this chip is STMicroelectronics (ST) developed dual-channel monolithic power amplifier IC, usually in the pocket cassette player (WALKMAN), tape recorders and multimedia speaker in for the audio amplifier. Has a simple circuit, good sound quality, wide voltage range and other …
5Pcs PS2 Game Joystick Switch Sensor Module
$10.92Sensor & Detector ModuleAdd to cart5Pcs PS2 Game Joystick Module For Description This is PS2 game joystick module for Lots of robot projects need joystick. This module provides a affordable solution to that. Simply connect to two analog inputs, the robot is at your commands with X,Y control. It also has a switch that is connected to a digital pin. …
100W Outdoor Sunpower Foldable Solar Panels Cells Waterproof Fast Charger Solar Panel
$97.19Solar PanelAdd to cartFeatures1. High efficiency, fast charging.2. Small size, super thin, waterproof, easy to operate, wide range of application3. Easy to carry, with a handle.4. It is more than 5% higher than ordinary efficiency.5. Solar energy conversion efficiency:25%Specifications–Output voltage:USB5V + DC18V–Output current:20A, 5.5A–Color:Black–Solar panel type:Monocrystalline silicon–Conversion efficiency:>25%–Output interface:USB–Open Size:680mmx305mm/26.7inx12in–Folding size:170mmx305mm/6.7inx12inPackage Included–1X Soalr Panel–2X Carabiner–1X USB cable
Reviews
There are no reviews yet.