Current Product Don't Have Test Firmware
Note: pls, use PC chrome/edge browser, if can't connect, refresh the webpage.
1. Click connect button
2. After connected successfully, pick a firmware
3. Click the burn button
4. After burning successfully, Unplug the device and restart.
JOYSTICK, M5Stack has two types of JOYSTICKs: one is compatible with FACES Kit and this one, which is a M5Unit version of ther other JOYSTICK device.
JOYSTICK is very similar to the 'analog' joystick on PS2 (PlayStation 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.
Based on 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.
|X、Y Axis output value range||10-250|
|Z Axis output value range||0-1|
EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification.
Show joystick XY data and button status.
Mega328 ISPDownload interface Pin foot definition
JOYSTICK REG 0x52
|0x52||3||Read joystick status|| X VALUE
 Y VALUE
 BTN STATUS
The joystick is actually a potentiometer that can be automatically reset, sliding different displacements to output different voltage signals.
Get X Return data on the X axis
Get Y Return data from the Y axis
Get is pressed Return the value of the button
Get Reverse X Return X-axis reverse data
Get Reverse Y Return Y-axis reverse data