Joystick Module MEGA328P I2C/Grove Connector Compatible X/Y Axis & Button Cap
- Stock: In Stock
- Model: EB0048885
- SKU: EB0048885
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.
Product Features:
- 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
Package Included:
- 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 |
Shipping Time
After you successfully placed an order at RenhotecIC.com, you will receive a confirmation email with your invoice. Once your order is shipped, you will be emailed with the tracking information of your package. Also, you can choose your preferred shipping method during the checkout process. Kindly advise: please select DHL/FedEx if you need our product urgently.
The timeline of the whole shipping process is shown below:
The total delivery time is calculated from the time your order is successfully placed to the time received. Total delivery time is broken down into processing time and shipping time.
Processing time: The time it takes to prepare your item(s), includes preparing your items, performing quality inspections, and packaging for shipment. Normally, the processing time is 1-3 days (Only include Monday to Saturday ) after getting your order.
Shipping time: The time for your item(s) to travel from our warehouse to your destination. The shipping time depends on the shipping method you chose. Please refer to the shipping rate section for details.
Shipping Rates
You could choose the shipping method based on your preference during checkout, different shipping methods will apply different rates and shipping times. Please check the following chart for detail:
You could choose the shipping method based on your preference during checkout, different shipping methods will apply different rates and shipping times. Please check the following chart for detail:
Shipping Method | Shipping Rates | Shipping Times |
Flat Shipping (Promotion) | $10 | About 5-30 Working Days to Worldwide (Only include Monday to Saturday ) |
Standard Express(0.5KG starting price listed) | Based On Weights | About 5-15 Working Days to Worldwide (Only include Monday to Saturday ) |
Priority Express (0.5KG starting price listed) | Based On Weights | About 3-7 Working Days to Worldwide (Only include Monday to Saturday ) |
In addition, the transit time depends on where you're located, the shipping method you choose, and where your package comes from. We will keep you informed of any problems here to help you get your order as soon as possible.
If you want to know more information, please contact the customer service by contact form or sales@renhotecic.com. We will settle your problem as soon as possible. Enjoy shopping!