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
500pcs 0805 (2012) SMD White LED Chip Surface Mount SMT Beads Ultra Bright Light Emitting Diode LED Lamp Electronics Components
$26.89Electronic Accessories & SuppliesAdd 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.DescriptionQuantity:500 pieces Size:2.0 x 1.2 (mm) / 0.08 x 0.05 (inch)Emitting Color:White (6000K-9000K)Luminous Intensity:180-210mcdViewing Angle:120 DegreeForward Voltage / Current:3V-3.2V | 20mAPolarity:Refer to the Arrow on the Reverse SidePackage included500 x 0805 (2012) …
5pcs AC 100-240V to DC 12V 5A 60W Switching Power Supply Module Driver Adapter LED Strip Light
$52.97Power Supply ModuleAdd to cartFeatures1. Good anti-interference performance and high reliability.2. Low operating temperature and long service life.3. Wide input voltage range, (100-240V) in line with global usage standards.4. Good insulation performance and high electric strength.5. Full load high temperature burning machine, 100% aging test.SpecificationsModel:HS-60-12DC output voltage:12VOutput voltage tolerance:±1%Rated output current:5AOutput current range:0 – 5ARipple and noise:100mVp-pLine stability:±0.5%Load stability:±0.5%DC …
4Pcs 5mm Reusable Clear Bent Glass Drinking Straws Water Juice Straws with Cleaning Brush
$22.26Bottles & JarsAdd to cartSpecificationColor:ClearMaterial:High Borosilicate GlassTube Mouth Shape:RoundTemperature Resistance:-20~450℃Total Length:21.5cm / 8.46inchInner Diameter:0.5cmFeatures– Non-toxic environmentally friendly green borosilicate heat-resistant material, safe to use, not stain, will not fade.– Widely used, can drink water, milk, juice, coffee, coke, soda, etc.– Could put it into the microwave for sterilization.Package Included4 x Glass Drinking Straws1 x Cleaning Brush
5Pcs Car Window Sun Visor Screen Car Side Rear Window Screen Sunshade Shield Curtain
$19.83Mesh & Wire ClothAdd to cartDescriptions5Pcs Car Window Sun Visor Screen Car Side Rear Window Screen Sunshade Shield CurtainSpecificationsSizeRear Sun Visor:50 * 100 CmThe Front Side Of The Sun Visor:36 * 44 CmThe Back Side Of The Sun Visor:36 * 44 CmMaterial:3D Photocatalyst MeshWeight:Approx.60 gFeatures– Convenient to use and take down with two suckers.– Can reflect 90% direct sunlight and …
5Pcs Car Window Sun Visor Screen Car Side Rear Window Screen Sunshade Shield CurtainRead More
5Pcs Micro USB TP4056 Charge And Discharge Protection Module Over Current Over Voltage Protection
$9.32Battery Protection ModuleAdd to cartCharacteristicOn-board TP4056 lithium battery charging management chipOn-board micro USB head, can be directly connected with most of the smart phone charger as the input side to the lithium battery chargingReserved IN+ and IN- input port, convenient user DIYOn-board charging status indicatorSupport charge discharge over current protectionChip with constant current and constant pressure, full automatic stopSupports …
Keyes Brick TEMT6000 Light Sensor(Pad hole) Analog Signal Module with Pin Header Version
$6.10Sensor & Detector ModuleAdd to cartDescriptionThis is a commonly used TEMT6000 light sensor which mainly uses TEMT6000X01 components. The component is a highly sensitive visible light sensitive (NPN) transistor. The sensor can magnify the change of the tiny light rays captured about 100 times, and is easily recognized by the microcontroller for AD conversion. Its response to visible light illumination …
Keyes Brick TEMT6000 Light Sensor(Pad hole) Analog Signal Module with Pin Header VersionRead More
100W18V Foldable Portable Monocrystalline Solar Panel with 5V USB Port
$301.75Smart Robot & Solar PanelAdd to cartFeatures– The outermost layer of the product is made of thick and breathable nylon bag. It`s easy to carry and portable coz it`s folable and has a handle, which is suitable for camping, hiking, hiking, and can be used as a backup power source for mobile phones and car batteries.– It`s equipped a USB&DC junction …
100W18V Foldable Portable Monocrystalline Solar Panel with 5V USB PortRead More
GY-213V-HDC1080 High Accuracy Digital Humidity Sensor with Temperature Sensor
$15.30Sensor & Detector ModuleAdd to cartDescriptionThe HDC1080 is a digital humidity sensor with integrated temperature sensor that provides excellent measurement accuracy at very low power. The HDC1080 operates over a wide supply range, and is a low cost, low power alternative to competitive solutions in a wide range of common applications. The humidity and temperature sensors are factory calibrated.FeaturesRelative Humidity …
GY-213V-HDC1080 High Accuracy Digital Humidity Sensor with Temperature SensorRead More
Reviews
There are no reviews yet.