<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Zigbee unit - examples and Micropython support]]></title><description><![CDATA[<p dir="auto">Hi Folks,</p>
<p dir="auto">Just thought I'd try using UIFlow 2.0 with my Atom S3 before I go down the Arduino rabbit hole.<br />
<a href="https://docs.m5stack.com/en/unit/zigbee" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/en/unit/zigbee</a></p>
<p dir="auto">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 ?</p>
<p dir="auto">I tried using the UART and got as far as:</p>
<pre><code>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)
</code></pre>
<p dir="auto">But given how proprietary the CC2630 is, I expect that's as far as I'm going to get.</p>
<p dir="auto">I found these examples here in C:<br />
<a href="https://github.com/m5stack/M5Stack/tree/master/examples/Unit/Zigbee_CC2630" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Stack/tree/master/examples/Unit/Zigbee_CC2630</a></p>
<p dir="auto">.. 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 ?</p>
]]></description><link>https://community.m5stack.com/topic/5138/zigbee-unit-examples-and-micropython-support</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 07:56:49 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5138.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Mar 2023 23:28:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Zigbee unit - examples and Micropython support on Wed, 28 Jun 2023 12:50:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/exie" aria-label="Profile: Exie">@<bdi>Exie</bdi></a>, have you managed to talk to the Zigbee unit through UART or managed to comprehend the example code given by M5Stack?</p>
<p dir="auto">Regards,<br />
Ameer</p>
]]></description><link>https://community.m5stack.com/post/21363</link><guid isPermaLink="true">https://community.m5stack.com/post/21363</guid><dc:creator><![CDATA[ameero95]]></dc:creator><pubDate>Wed, 28 Jun 2023 12:50:35 GMT</pubDate></item></channel></rss>