🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5Core2 AWS with COM.X Zigbee Module

    Core2 for AWS
    2
    3
    4.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      earthphisek
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • E
        earthphisek
        last edited by

        @m5stack
        Do you have M5core2 example code for COM.X Zigbee Module ?
        I find in Github but haven't example code for M5core2

        1 Reply Last reply Reply Quote 0
        • felmueF
          felmue
          last edited by

          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); with Serial2.begin(38400, SERIAL_8N1, 13, 14);.

          Hardware: in the COM.X Zigbee module set the two dip switches 16 and 17 to on and leave the other four in off position.

          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

          GPIO translation table M5Stack / M5Core2
          Information about various M5Stack products.
          Code examples

          1 Reply Last reply Reply Quote 1
          • First post
            Last post