🤖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

    Scheduled Pinned Locked Moved Core2 for AWS
    3 Posts 2 Posters 5.4k Views
    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 Offline
      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 Offline
        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 Offline
          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

          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
          • First post
            Last post