M5Core2 AWS with COM.X Zigbee Module
-
I have a problem with M5Core2 AWS. I test COM.X Zigbee module with example code but can't communication with each other.
can anyone use this module with M5Core2? please explain the solution, thank you. -
@m5stack
Do you have M5core2 example code for COM.X Zigbee Module ?
I find in Github but haven't example code for M5core2 -
Hello @earthphisek
I do not have the COM.X Zigbee module so I cannot test this myself. However with the following modifications the M5Stack example should work with an M5Core2 too.
- Replace
#define <M5Stack.h>with#define <M5Core2.h>. - Replace
Serial2.begin(38400, SERIAL_8N1, 16, 17);withSerial2.begin(38400, SERIAL_8N1, 13, 14);.
Hardware: in the COM.X Zigbee module set the two dip switches 16 and 17 to
onand leave the other four inoffposition.Explanation: On the M5Core2 GPIO16 and GPIO17 have been replaced with GPIO13 and GPIO14. But the labeling in most modules still follow the numbering used with M5Stack devices.
Thanks
Felix - Replace
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login