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
3pcs DC 1.8V 3V 5V 6V 12V 2A PWM Motor Speed Controller 0~100% Adjustable Drive Module 1803B
$14.99Motor PWM Speed ControllerAdd to cartFeatureThe input power range is DC 1.8-15V . Use a 2A resettable fuse to protect the controller.Potentiometer with switch function. Operating instruction:Before you attempting to wire the controller, make sure power is off.WARNING:TO CHANGE MOTOR DIRECTION, INTERCHANGE THE POSITIVE AND NEGATIVE WIRES OF MOTOR. Turn on the power, and adjust the potentiometer. The LED indicates …
Flax Liner Cloth Fiber Cloth Bakers Proofing Couche for Proving Bread Pans Kitchen Tool Fermentation
$19.83FabricsFibers & TextilesAdd to cartDescriptionThis flax liner cloth is made of flax linen material, natural, untreated, unbleached.SpecificationMaterial:Flax LinenColor:As picture shownSize:(L)X(W)45X36cm/17.72inchX14.17inch(appr.)Features1.Made of flax linen material, natural, untreated, unbleached.2. A couche is used to proof the bread.3. Plenty of surface to work multiple loaves.4. Do not bake in oven. It can not withstand the heat.5. Finished seam on both sides so …
99900W 12V Smart Ultrasonic inverter Electro Fisher Fishing Machine Ultrasonic inverter Safe Protection Fisher Fishing Shocker 20 Field Tube
$170.09InvertersAdd to cartSpecificationsColor:BlackDrive:Intelligent drive computer boardSecurity protection:12 intelligent security protectionsScope of application:1-3mApplicable depth:3mThyristor:2 * energy-efficient siliconPower field tube:20Applicable battery:12V 45A or moreProduct net weight:1.8KGSize:290 * 60 * 145mmOverload Protection:Yes (120A)Low Voltage Protection:Yes (Less than 9V/DC protection )High Voltage Protection:Yes (Exceed 15V/DC protection )Over-temperature Protection:85°CFeatures– Short-circuit Protection&Reverse Polarity Protection&Waterproof Protection.– High power& Low energy consumption& Excellent results, the …
CMP03 3A-12V Charge and Discharge Controller Solar Charge Controller Solar Panel
$30.36Solar ControllersAdd to cartSpecificationModel:CMP03Rated Voltage:DC12VMax Current:3Avoltage of solar panels:36W(3A,12v)Charge-stop Voltage:14.4VCoefficient of Stop Voltage and Temp:-3mV/degree/cellSupply-stop Voltage:10.6VSupply-resume Voltage:12VLight Control Mode:Visibility 20MWorking Temp:-10- +40degree;Weight:33gFunction1. Prevent the battery from over charging, over discharging and Reverse discharging to solar panel during nights.2. Controller will start the lighting system in the evening automatically according to the surrounding luminance.Indicator1. One charging indicator, light indicates …
CMP03 3A-12V Charge and Discharge Controller Solar Charge Controller Solar PanelRead More
8 PCS Diving Equipment SMACO Scuba Diving Cylinder Oxygen Reserve Air Tank
$443.46Electrical Pump & ValveAdd to cartSpecificationBreathing Oxygen Cylinder Capacity:0.5L Material:Aviation Aluminum Oxygen Cylinder Weight:1040g Oxygen Cylinder Dimension:φ6*35.5cm (2.4*14′) Air Capacity:3.0 Cu.Ft / 85 Litters Max. Pressure:3000Psi / 200bar / 20MpaMax. Dwell Time Underwater:10mins Pumping Time:7-10min Features1. The 0.5L Oxygen Cylinder Allows The Diver To Stay 7 Meters Underwater For 6-10 Minutes (Depending On Individual Lung Capacity And Depth Of Diving), …
8 PCS Diving Equipment SMACO Scuba Diving Cylinder Oxygen Reserve Air TankRead More
5pcs 40x40mm thermoelectric Power Generator Peltier Module TEG High Temperature 150 Degree
$30.60Electronic Accessories & SuppliesAdd to cartFeatureColding side posts with the wordsHeating side is emptyRed wire to positive, black wire to the negative, it generate electricity when the temperature difference happenedSpecificationModel:SP1848-27145 Color:whiteLead Length:about 30CMSize:40MM x 40MM x 3.4MM20 degree temperature difference:open-circuit voltage 0.97V, generated current:225MA40 degree temperature difference:open circuit voltage 1.8V, generated current:368MA60 degree temperature difference:open circuit voltage 2.4V, generated current:469MA80 …
5pcs 40x40mm thermoelectric Power Generator Peltier Module TEG High Temperature 150 DegreeRead More
Reviews
There are no reviews yet.