Joystick Panel for M5 FACE ESP32 Development Kit X/Y Axis Push Button Switch with RGB LED Bar and MEGA328 Insi
- 12 RGB Led
- IIC communication
- Simple API for programming
- Product Size: 58.2mm x 54.2mm x 10mm
- Product weight: 30g
Function:
Control single RGB
/* indexOfLED: 0 ~ 11 r, g, b: 0 ~ 254 */ void Led(int indexOfLED, int r, int g, int b){ Wire.beginTransmission(FACE_JOY_ADDR); Wire.write(indexOfLED); Wire.write(r); Wire.write(g); Wire.write(b); Wire.endTransmission(); }
Contact Sales
Your Name* | |
Your Email* | |
Topic* | |
Qty | |
Message | |
SUBMIT |
- Description
Description:
JOYSTICK is a control column module. A joystick is an input device consisting of a stick that pivots on a base and reports its angle or direction to the device it is controlling. Same as ENCODER, it is compatible with FACE Kit. You can have it replace the keycoard panel inside the FACE kit. Through IIC you can get the offset data form (X, Y) axis, also the button status. You can customized the LED behavior as you like.
JOYSTICK IIC address is 0x5E).
Package includes:
- 1x M5Stack JOYSTICK Module board
- 1x Joystick Bar
Related Link:
-
Offical Video: https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w
-
Forum: http://forum.m5stack.com/
-
The Firmware of inside MEGA328: https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/JOYSTICK/firmware_328p/FaceJoystick328
EasyLoader
: https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Module/EasyLoader_FACES_joystick.exe
2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click "Burn" to start burning.
3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned. Click here to view the driver installation tutorial: https://docs.m5stack.com/#/en/related_documents/establish_serial_connectionExample:
IDE
To the complete code
faces_joystick.ino
, click here: https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/JOYSTICK//faces_joystick
Read the offset of each direction
void get_joystick_offset(void){ Wire.requestFrom(FACE_JOY_ADDR, 5); if (Wire.available()) { y_data_L = Wire.read(); y_data_H = Wire.read(); x_data_L = Wire.read(); x_data_H = Wire.read(); button_data = Wire.read();// Z(0: released 1: pressed) }
- 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
7-12V Hands Free bluetooth MP3 Decoder Board With bluetooth Module+FM
7-12V Handsfree bluetooth MP3 Decoder Board With bluetooth Module+FM1 x Decoding panel1 x Remote con..
PoE Base LAN Module W5500 with POE Ethernet Controller RS485/RS232 Data Forwarding ESP-IDF Support
Description: Base PoE is an M5 Base that implements a W5500 Ethernet controller chip with P..
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..
3pcs Universal 12V Battery Anti-discharge Controller with Delay Anti-over-discharge Protection Board Low Voltage Undervoltage Protection
3 x Module..