{"product_id":"joystick-module-mega328p-i2c-grove-connector-compatible-x-y-axis-button-cap","title":"Joystick Module MEGA328P I2C\/Grove Connector Compatible X\/Y Axis \u0026 Button Cap","description":"\u003ch2 id=\"description\" style=\"box-sizing:\" color\u003e \u003cstrong\u003eDescription:\u003c\/strong\u003e\n\u003c\/h2\u003e   \u003cp style=\"box-sizing:\" color\u003e JOYSTICK, we have two types of JOYSTICKs one is bui ld on a panle compatible with FACES Kit, this is the M5Unit version of?JOYSTICK\u003c\/p\u003e   \u003cp style=\"box-sizing:\" color\u003e JOYSTICK is very similar to the 'analog' joystick on PS2 (Play Station 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.\u003c\/p\u003e   \u003cp style=\"box-sizing:\" color\u003e 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.\u003c\/p\u003e   \u003cimg src=\"https:\/\/docs.m5stack.com\/assets\/img\/product_pics\/unit\/M5GO_Unit_joystick_02.png\"\u003e   \u003cp style=\"box-sizing:\" color\u003e 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.\u003c\/p\u003e   \u003ch2 id=\"product-features\" style=\"box-sizing:\" color\u003e \u003cstrong\u003eProduct Features:\u003c\/strong\u003e\n\u003c\/h2\u003e   \u003cul style=\"box-sizing:\" color\u003e    \u003cli style=\"box-sizing:\"\u003e Output value of X, Y direction: 10 ~ 250\u003c\/li\u003e    \u003cli style=\"box-sizing:\"\u003e Output value of Z direction is (0: released; 1: pressed)\u003c\/li\u003e    \u003cli style=\"box-sizing:\"\u003e Software Development Platform : for , UIFlow(Blockly, Python)\u003c\/li\u003e    \u003cli style=\"box-sizing:\"\u003e Two Le go-compatible holes\u003c\/li\u003e    \u003cli style=\"box-sizing:\"\u003e Product Size: 48.2mm x 24.2mm x 22.5mm\u003c\/li\u003e    \u003cli style=\"box-sizing:\"\u003e Product weight: 11.4g\u003c\/li\u003e   \u003c\/ul\u003e   \u003ch2 id=\"include\" style=\"box-sizing:\" color\u003e \u003cstrong\u003ePackage Included:\u003c\/strong\u003e\n\u003c\/h2\u003e   \u003cul style=\"box-sizing:\" color\u003e    \u003cli style=\"box-sizing:\"\u003e 1x JOYSTICK Unit\u003c\/li\u003e    \u003cli style=\"box-sizing:\"\u003e  \u003c\/li\u003e\n\u003c\/ul\u003e","brand":"ZHIQIAN","offers":[{"title":"Default Title","offer_id":43931968045251,"sku":"ZHIQIAN-029728","price":482.0,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0661\/4355\/1683\/files\/f3ae18d1-e07a-44f2-8f88-c5de9f5ed981.jpg?v=1725834992","url":"https:\/\/wrsss.com\/products\/joystick-module-mega328p-i2c-grove-connector-compatible-x-y-axis-button-cap","provider":"Wrsss","version":"1.0","type":"link"}