Joystick Module MEGA328P I2C/Grove Connector Compatible X/Y Axis & Button Cap
- Output value of X, Y direction: 10 ~ 250
- Output value of Z direction is (0: released; 1: pressed)
- Software Development Platform : for , UIFlow(Blockly, Python)
- Two LeIgo-compatible holes
- Product Size: 48.2mm x 24.2mm x 22.5mm
- Product weight: 11.4g
Contact Sales
Your Name* | |
Your Email* | |
Topic* | |
Qty | |
Message | |
SUBMIT |
- Description
Description:
JOYSTICK, we have two types of JOYSTICKs one is build 0n a panle compatible with FACES Kit, this is the M5Unit version of JOYSTICK
JOYSTICK is very similar to the 'analog' joystick on PS2 (Play Stati0n 2) controllers. The X and Y axes are two 10k potentiometers which control 2D movement by generating analog signals. The joystick also has a push button that could be used for special applications. Therefore, the entire Unit can output X-Y motion signals in both directions and Z direction.
As designed in the schematic, the Joystick X dimension is connected to pin A0 of MEGA328, the Joystick Y dimension is connected to pin A1 on MEGA328, the Joystick Z dimension is connected to pin A2 on MEGA328.
This Unit communicates with the M5Core via the GROVE A interface. It's I2C address is 0x52. By reading the data transferred from JOSTICK, you can obtain the motion information of JOYSTICK.
Package includes:
- 1x JOYSTICK Unit
- 1x Grove Cable
Application:
- Game Controller
- Robot remote control
Related Link:
-
Offical Video: https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w
-
Forum: http://forum.m5stack.com/
PinMap:
Mega328 ISPDownload interface Pin foot definition
Example
1. for IDE
The code below is incomplete(just for usage).To get complete code, please click here: https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/JOYSTICK/.
2. UIFlow
To get complete code, please click here: https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/JOYSTICK/UIFlow.
Schematic:
PinMap:
M5Core(GROVE A) | GPIO22 | GPIO21 | 5V |
- Reviews (29)
- All(29)
- Q & A
-
: Where is the origin of Elecbee products? Are they certificated?2023-03-03
-
Answer:
Elecbee has long-term cooperation agreements with the OEM factories in China. So that we are able to reduce the intermediate channel cost, and help you save money. Our products are all made strictly according to the relative global standard, to ensure the products have good compatibility and excellent quality.
2023-03-03
-
: What forms of payment do you accept?2023-03-03
-
Answer:
Our main payment methods include Paypal, Credit Cards, Debit Cards, Bank Transfer, and more to discover. Please choose the payment methods in your favor.
2023-03-03
-
: When will you arrange shipment?2023-03-03
-
Answer:
After confirming receipt of your payment. We will arrange the delivery as soon as possible and upload the courier number to the website for you to track.
2023-03-03
-
: How to exchange or return?2023-03-03
-
Answer:
1. You can apply to return within 30 days after receipt of the goods. Please make sure the outside package is intact, and the product is in its original condition. We will arrange your refund according to the relevant provisions once the package is received.
2. Return process: You Apply for a Return - Approve the Return - Arrange a Return - Receive the Products and make Inspection - We arrange a Refund;
3. We will bear the freight charges for returns caused by us, for instance, the quality problem. As to returns caused by the buyer, the buyer should be responsible for the shipping fee.
2023-03-03
Related Products
KY-022 Infrared IR Sensor Receiver Module
Price Tag: US$ 0.00 - US$ 5.99Voltage: DC3-5VPrecise details>>Precise details:Description:Infrared r..
3Pcs 3.5-5.5V Standard Passive Buzzer Module
Specification: Working voltage: 3.5-5.5V Working current: <25mA PCB Dimension: 18.5mm x 15mm(L x ..
HBV-1901 1MP Cmos Sensor 720P Free Driver USB Camera Module Support Win XP/win 8 / vista /Android 4.0/ MAC /Linux
Specifications: Model No. HBVCAM-1901-720 Mo..
1000W 20A ZVS Low Voltage Induction Heating Module Board Flyback Driver Heater
Description: This ZVS board uses high quality 1.6mm double layer fiberglass board, large inductance ..