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
BESTEP C25 12V Normally Open Trigger Delay Relay Timer Module Vibration for Home Smart
$8.73Relay ModuleAdd to cartManual:http://myosuploads3.hobbyant.com/products/20190219/20190219034014C255V9V12V.pdfApplicationsThis module is a switch instant turn-on trigger delay module, which can be applied to home intelligent systems, anti-theft alarm delay, door control system, automation equipment control, PLC industrial control, electronic development and so on.Description1. Using advanced high-quality timing chip control, accurate timing, performance is much better than 555 chip;2. The trigger terminal has optocoupler …
BESTEP C25 12V Normally Open Trigger Delay Relay Timer Module Vibration for Home SmartRead More
2.5W Mini Laser Engraving Machine 2-axis Engraving Machine for Wood Plastic Paper Bamboo Horns Leather Sponge Paper
$503.82Laser Engraving MachineAdd to cartProduct instruction and installation please:https://drive.google.com/openid=1MH931sFiPqf-L45WqXmfEAN4TrrFrlu-SpecificationsName:2-axis Engraving MachineModel:969407Size:600*550*150mm/24*22*6inStroke:380*260mm/15*10inCommunication Interface:miniUSBLaser Power:2500mwStepper Motor:42H34SVoltage:AC110-220V to DC12VControl Board Selection:DVP SE 2-axis engraving machine control boardSoftware Support:wifidevelo, Candle, Benbox, GrblController, LiteFire, etc. All GRBL-enabled softwareFeatures-The new custom V-slot aluminum matching rolling bearing X24, the accuracy is better and more stable.-There is no limit to the size and height of the engraving …
10pcs 0.28 inch 3-wire 0-100V Digital Red Display DC Voltmeter Adjustable Voltage Meter
$20.60Test & Measuring ModuleAdd to cartFeature1. The wiring of this voltmeter is simple. The conventional two wires are used, the red is connected to the positive, the black is connected to the negative, and the reverse connection is protected.2. Conventionally, no external working power supply is required, and the measuring voltage can be directly operated. The measuring voltage range is …
10pcs 0.28 inch 3-wire 0-100V Digital Red Display DC Voltmeter Adjustable Voltage MeterRead More
6W 6V 260x140x2.5mm S0506 Portable Semi-flexible Solar Panel with Back Junction Box Single USB Charger + 4xSucker + 2x Carabiner Kit
$32.26Smart Robot & Solar PanelAdd to cartFeatures– Portable and frame design– Standard USB output– thin design make it very easy to carry.– Monocrystalline silicon solar cells and epoxy resin surface seal.– Comes with four suckersSpecifications– Size:Approx. 26x14x0.3cm/ 10.24×5.51×0.12inch-Actual Power:6W– Solar output:6V 1700mA– Voltage regulator tube output:5V 1200mA– USB regulated output:5V 1200mAh– Output:USB 5V ,1200mAh– Charge time:3-5h– Solar open circuit voltage:6.8V (max)– …
DC 7V-24V Audio input Switch Board 4-way Audio Source Switch Board Audio Signal input Switch Board Switch Relay DIY Kit
$18.83DIY Electronic KitsAdd to cartSpecificationName:Audio signal switcherVoltage:DC 7V-24V, AC 6V-18VFunction:Four groups of audio signals are connected at the same time, and one group of signals is outputMethod:Rotary switching, switching once when rotating.Relay switching, zero loss.Application:computer, TV, mobile phone, home theater.Package included1set of Audio signal switcher
22.5V 1.25A 33W AC Power Adapter Charger for iRobot
$66.81AC/DC AdaptersAdd to cartSpecificationsName:AC Power Adapter ChargerInput:AC 100-240V 1.5A 50/60HzOutput:DC 22.5V 1.25A 33WInterface:5.5mm*2.5mmSafe:CE,RohsColor:BlackMaterial:PCSize ①Length:11.3cm ②Width:4.5cm ③Height:3.1cm ④Total Length:120cm (including wire)Fit for iRobot 400 500 600 700 770Features1.With heat dissipation intelligent chip and environmentally friendly material.2.Avoid power leakage and fire prevention.3.Strong and durable,long serve life.4.The tool is simple & easy to use.5.Small and beautifully designed and strong practicability.6.High performance …
22.5V 1.25A 33W AC Power Adapter Charger for iRobotRead More
Desktop Game Fun Game Penguin Ice Breaking Save the Penguin Great Family Education Toys
$28.42MathematicsAdd to cartFeatureThe One Who Make The Penguin Fall OffThe Will Lose This GameDon’t Fall Into The Trap Of The Opponent!See Who Can Get The Final Victory!SpecificationColor:As pictureSize:About 23*23*6CMMaterial:Environmentally Materials,ABS PlasticPackage Include1Set x Penguin Ice BreakingPlease NoteThe Picture is only for reference, please make the object as the standard.
Reviews
There are no reviews yet.