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

    Zigbee unit - examples and Micropython support

    Scheduled Pinned Locked Moved SOFTWARE
    2 Posts 2 Posters 3.9k Views 1 Watching
    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.
    • ExieE Offline
      Exie
      last edited by

      Hi Folks,

      Just thought I'd try using UIFlow 2.0 with my Atom S3 before I go down the Arduino rabbit hole.
      https://docs.m5stack.com/en/unit/zigbee

      I noticed in the configuration panel on the left, it only had Pa.HUB, ENV, ENVII and ENVIII, not the Zigbee unit with the blue grove plug. So I might assume this unit is not supported in UIFlow 2 ?

      I tried using the UART and got as far as:

      from hardware import *
      
      uart0 = UART(0, baudrate=38400, bits=8, parity=None, stop=1, tx=2, rx=1)
      
      while True:
          if uart0.any():
              print("\nFound Data:", end="")
              print(str(uart0.readline()))
          else:
              print(".", end="")
          sleep(1000)
      

      But given how proprietary the CC2630 is, I expect that's as far as I'm going to get.

      I found these examples here in C:
      https://github.com/m5stack/M5Stack/tree/master/examples/Unit/Zigbee_CC2630

      .. which do not show how to pair sensor and read data from them. Has anyone got examples of how to do this with the UART interface ?

      1 Reply Last reply Reply Quote 0
      • A Offline
        ameero95
        last edited by

        Hi @Exie, have you managed to talk to the Zigbee unit through UART or managed to comprehend the example code given by M5Stack?

        Regards,
        Ameer

        1 Reply Last reply Reply Quote 0

        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