商品图

Elecbee Joystick Module MEGA328P I2C/Grove Connector Compatible X/Y Axis Button Cap

SKU: EB0048885
Favorites
Key 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

 

Show More
Attribute
Value
MCU/SoC Model
Joystick MEGA328P I2C/Grove
CPU Architecture
ATI0N
Memory
Arduino IDE
Debug Interface
I2C/GPIO/CAN
Power Protection
5V
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
  • 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.

M5Stack-Joystick-Module-MEGA328P-I2CGrove-Connector-Compatible-XY-Axis--Button-Cap-1549730


Schematic:

M5Stack-Joystick-Module-MEGA328P-I2CGrove-Connector-Compatible-XY-Axis--Button-Cap-1549730


PinMap:



M5Core(GROVE A) GPIO22 GPIO21 5V



M5Stack-Joystick-Module-MEGA328P-I2CGrove-Connector-Compatible-XY-Axis--Button-Cap-1549730

M5Stack-Joystick-Module-MEGA328P-I2CGrove-Connector-Compatible-XY-Axis--Button-Cap-1549730

M5Stack-Joystick-Module-MEGA328P-I2CGrove-Connector-Compatible-XY-Axis--Button-Cap-1549730

M5Stack-Joystick-Module-MEGA328P-I2CGrove-Connector-Compatible-XY-Axis--Button-Cap-1549730

M5Stack-Joystick-Module-MEGA328P-I2CGrove-Connector-Compatible-XY-Axis--Button-Cap-1549730

M5Stack-Joystick-Module-MEGA328P-I2CGrove-Connector-Compatible-XY-Axis--Button-Cap-1549730
Shopping Guide
Shipping
Delivery Period
For in-stock parts, orders are estimated to ship out in 3 days.
Elecbee ships orders once a day at about 5pm except Sunday.
Once shipped, estimated delivery time depends on the below carriers you chose.
DHL Express: 3-7 business days
DHLeCommerce: 12-22 business days
FedEx International Priority: 3-7 business days
EMS: 10-15 business days
Registered Air Mail: 15-30 business days
Shipping RatesShipping rates for your order can be found in the shopping cart.
Shipping OptionsShipping rates for your order can be found in the shopping cart.
Shipping TrackingWe will notify you by email with tracking number once order is shipped. You can track your order using the “Track My Order” feature.
Returning/WarrantyReturningReturns are normally accepted when completed within 30 days from date of shipment, please contact customer service for a return authorization. Parts should be unused and in original packaging. Customer has to take charge for the shipping
WarrantyAll Elecbee purchases come with a 30-day money-back return policy, plus 1-year Elecbee warranty against any manufacturing defects.
This warranty shall not apply to any item where defects have been caused by improper customer assembly failure by customer to follow instructions, product modification, negligent or improper operation
OrderingHow to BuyElecbee accepts online orders.
Add to cart > Check out > Submit order > Complete payment > Delivery
PaymentPayPal, Credit Card includes Visa, Master, American Express, Bank transfer.

Recommended For You

Reviews
ELECBEE
All reviews come from verified purchasers
1 stars
0%
2 stars
0%
3 stars
0%
4 stars
0%
5 stars
0%
In-Stock:9989
Qty.
1
Unit Price
$ 18.5
Ext. Price
$ 18.50
$ 18.50
Can Ship in 1-3 Business Days
Qty.
P. Unit.
Ext. Price
10+
$17.57
$ 175.70
20+
$16.65
$ 333.00
100+
$14.80
$ 1480.00