<?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[Connecting Env Unit and RFID Unit via Grove Hub on M5StickC]]></title><description><![CDATA[<p dir="auto">Individually connect to the Grove Hub works. But if I put both on the hub, it will gives</p>
<blockquote>
<p dir="auto">ENV unit maybe not connect</p>
</blockquote>
<p dir="auto">This is the code from UIFlow:</p>
<pre><code>from m5stack import *
from m5ui import *
from uiflow import *
import unit

setScreenColor(0x111111)
rfid0 = unit.get(unit.RFID, unit.PORTA)
env1 = unit.get(unit.ENV, unit.PORTA)

wait(1)
while True:
  lcd.print((('C: ' + str((env1.temperature)))), 0, 0, 0x3366ff)
  lcd.print((('RFID: ' + str((rfid0.readUid())))), 0, 10, 0x3366ff)
  wait_ms(200)
</code></pre>
<p dir="auto">Even if I manually switched the order to:</p>
<pre><code>env1 = unit.get(unit.ENV, unit.PORTA)
rfid0 = unit.get(unit.RFID, unit.PORTA)
</code></pre>
<p dir="auto">I still get:</p>
<blockquote>
<p dir="auto">ENV unit maybe not connect</p>
</blockquote>
<p dir="auto">What am I doing wrong?  Thanks in advance!</p>
]]></description><link>https://community.m5stack.com/topic/1164/connecting-env-unit-and-rfid-unit-via-grove-hub-on-m5stickc</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Mar 2026 01:42:45 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1164.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 31 Jul 2019 08:34:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Connecting Env Unit and RFID Unit via Grove Hub on M5StickC on Fri, 02 Feb 2024 10:35:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1776">@ws1088</a> said in <a href="/post/4930">Connecting Env Unit and RFID Unit via Grove Hub on M5StickC</a>:</p>
<blockquote>
<p dir="auto">I use the following code to test:</p>
<pre><code>from m5stack import *
from m5ui import *
from uiflow import *
import i2c_bus

setScreenColor(0x111111)


devices = None
scan = None

i2c0 = i2c_bus.easyI2C(i2c_bus.PORTA, 0x68)
devices = []
while True:
  scan = i2c0.scan()
  if devices != scan:
    lcd.clear()
    lcd.print(str(scan), 0, 0, 0xffffff)
  devices = scan
  wait_ms(2)
</code></pre>
<p dir="auto">I can see the I2C addresses for the Env unit and RFID unit combinations when I plug them into the Grove Hub. I can plug the Env unit in to see addresses 92 and 118, then add RFID unit to see [40, 92, 118] etc.</p>
<p dir="auto">So I am pretty clueless why the following will fail:</p>
<pre><code>rfid0 = unit.get(unit.RFID, unit.PORTA)
env1 = unit.get(unit.ENV, unit.PORTA)
</code></pre>
<p dir="auto">Looks like I need to go to the source code and see what's going on...</p>
</blockquote>
<p dir="auto">are modules working ok on their own and you see issue when both connected?</p>
]]></description><link>https://community.m5stack.com/post/23593</link><guid isPermaLink="true">https://community.m5stack.com/post/23593</guid><dc:creator><![CDATA[robski]]></dc:creator><pubDate>Fri, 02 Feb 2024 10:35:58 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting Env Unit and RFID Unit via Grove Hub on M5StickC on Fri, 02 Feb 2024 08:35:23 GMT]]></title><description><![CDATA[<p dir="auto">Fellow users from the past, I encountered the same problem but managed to get it working. The problem lies in the paralell access of the RFID and ENV module. If the access is isolated in a paralell process and saved in to variables, further getting the values by using these variables, you should be able to use the two modules in unison.</p>
]]></description><link>https://community.m5stack.com/post/23590</link><guid isPermaLink="true">https://community.m5stack.com/post/23590</guid><dc:creator><![CDATA[maknis3]]></dc:creator><pubDate>Fri, 02 Feb 2024 08:35:23 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting Env Unit and RFID Unit via Grove Hub on M5StickC on Sun, 11 Aug 2019 10:30:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1776">@ws1088</a> said in <a href="/post/5089">Connecting Env Unit and RFID Unit via Grove Hub on M5StickC</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a> said in <a href="/post/4952">Connecting Env Unit and RFID Unit via Grove Hub on M5StickC</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1776">@ws1088</a> Confirmed, the RFID Unit will not work with the ENV unit and will not work with the ENV hat</p>
</blockquote>
<p dir="auto">wow, RFID unit will not work with ENV hat even? I though RFID unit is I2C (G32 and G33) and ENV hat is on G26 and G36...</p>
</blockquote>
<p dir="auto">I could not get them to work together but then i am not a good programmer.</p>
]]></description><link>https://community.m5stack.com/post/5090</link><guid isPermaLink="true">https://community.m5stack.com/post/5090</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 11 Aug 2019 10:30:27 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting Env Unit and RFID Unit via Grove Hub on M5StickC on Sun, 11 Aug 2019 10:14:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a> said in <a href="/post/4952">Connecting Env Unit and RFID Unit via Grove Hub on M5StickC</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1776">@ws1088</a> Confirmed, the RFID Unit will not work with the ENV unit and will not work with the ENV hat</p>
</blockquote>
<p dir="auto">wow, RFID unit will not work with ENV hat even? I though RFID unit is I2C (G32 and G33) and ENV hat is on G26 and G36...</p>
]]></description><link>https://community.m5stack.com/post/5089</link><guid isPermaLink="true">https://community.m5stack.com/post/5089</guid><dc:creator><![CDATA[ws1088]]></dc:creator><pubDate>Sun, 11 Aug 2019 10:14:26 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting Env Unit and RFID Unit via Grove Hub on M5StickC on Sun, 11 Aug 2019 10:12:07 GMT]]></title><description><![CDATA[<p dir="auto">Could this be related?</p>
<p dir="auto"><a href="http://community.m5stack.com/topic/523/problems-with-the-i2c-grove-interface" target="_blank" rel="noopener noreferrer nofollow ugc">http://community.m5stack.com/topic/523/problems-with-the-i2c-grove-interface</a></p>
]]></description><link>https://community.m5stack.com/post/5088</link><guid isPermaLink="true">https://community.m5stack.com/post/5088</guid><dc:creator><![CDATA[ws1088]]></dc:creator><pubDate>Sun, 11 Aug 2019 10:12:07 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting Env Unit and RFID Unit via Grove Hub on M5StickC on Thu, 01 Aug 2019 19:12:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1776">@ws1088</a> said in <a href="/post/4958">Connecting Env Unit and RFID Unit via Grove Hub on M5StickC</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a> said in <a href="/post/4952">Connecting Env Unit and RFID Unit via Grove Hub on M5StickC</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1776">@ws1088</a> Confirmed, the RFID Unit will not work with the ENV unit and will not work with the ENV hat</p>
</blockquote>
<p dir="auto">Is the reason as you mentioned that there is not enough power? I guess not because you test it on the ENV hat with RFID unit. I noticed a lot of bus error (timeout), maybe it's a software issue? I am using UIFlow, btw. Are you using Arduino IDE and C++?</p>
</blockquote>
<p dir="auto">Nope, only UIFlow as I'm trying to write the book on it.</p>
]]></description><link>https://community.m5stack.com/post/4960</link><guid isPermaLink="true">https://community.m5stack.com/post/4960</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Thu, 01 Aug 2019 19:12:56 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting Env Unit and RFID Unit via Grove Hub on M5StickC on Thu, 01 Aug 2019 18:46:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a> said in <a href="/post/4952">Connecting Env Unit and RFID Unit via Grove Hub on M5StickC</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1776">@ws1088</a> Confirmed, the RFID Unit will not work with the ENV unit and will not work with the ENV hat</p>
</blockquote>
<p dir="auto">Is the reason as you mentioned that there is not enough power? I guess not because you test it on the ENV hat with RFID unit. I noticed a lot of bus error (timeout), maybe it's a software issue? I am using UIFlow, btw. Are you using Arduino IDE and C++?</p>
]]></description><link>https://community.m5stack.com/post/4958</link><guid isPermaLink="true">https://community.m5stack.com/post/4958</guid><dc:creator><![CDATA[ws1088]]></dc:creator><pubDate>Thu, 01 Aug 2019 18:46:08 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting Env Unit and RFID Unit via Grove Hub on M5StickC on Thu, 01 Aug 2019 16:15:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1776">@ws1088</a> Confirmed, the RFID Unit will not work with the ENV unit and will not work with the ENV hat</p>
]]></description><link>https://community.m5stack.com/post/4952</link><guid isPermaLink="true">https://community.m5stack.com/post/4952</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Thu, 01 Aug 2019 16:15:59 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting Env Unit and RFID Unit via Grove Hub on M5StickC on Wed, 31 Jul 2019 19:02:56 GMT]]></title><description><![CDATA[<p dir="auto">All I can think is that the two sensors are drawing too much power for the bus.</p>
<p dir="auto">I have both units and also the hat versions. if I find time over the week end I may  have some time to test but I may need a reminder on saturday.</p>
<p dir="auto">Double check the address's. The published addresses are in Hex but they are displayed in binary on the screen!</p>
]]></description><link>https://community.m5stack.com/post/4933</link><guid isPermaLink="true">https://community.m5stack.com/post/4933</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 31 Jul 2019 19:02:56 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting Env Unit and RFID Unit via Grove Hub on M5StickC on Wed, 31 Jul 2019 18:30:27 GMT]]></title><description><![CDATA[<p dir="auto">It looks like Env unit has 2 I2C addresses (92, 118)? But many times 92 will go away in the scan loop. Strange...</p>
]]></description><link>https://community.m5stack.com/post/4932</link><guid isPermaLink="true">https://community.m5stack.com/post/4932</guid><dc:creator><![CDATA[ws1088]]></dc:creator><pubDate>Wed, 31 Jul 2019 18:30:27 GMT</pubDate></item><item><title><![CDATA[Reply to Connecting Env Unit and RFID Unit via Grove Hub on M5StickC on Wed, 31 Jul 2019 17:11:00 GMT]]></title><description><![CDATA[<p dir="auto">I use the following code to test:</p>
<pre><code>from m5stack import *
from m5ui import *
from uiflow import *
import i2c_bus

setScreenColor(0x111111)


devices = None
scan = None

i2c0 = i2c_bus.easyI2C(i2c_bus.PORTA, 0x68)
devices = []
while True:
  scan = i2c0.scan()
  if devices != scan:
    lcd.clear()
    lcd.print(str(scan), 0, 0, 0xffffff)
  devices = scan
  wait_ms(2)
</code></pre>
<p dir="auto">I can see the I2C addresses for the Env unit and RFID unit combinations when I plug them into the Grove Hub. I can plug the Env unit in to see addresses 92 and 118, then add RFID unit to see [40, 92, 118] etc.</p>
<p dir="auto">So I am pretty clueless why the following will fail:</p>
<pre><code>rfid0 = unit.get(unit.RFID, unit.PORTA)
env1 = unit.get(unit.ENV, unit.PORTA)
</code></pre>
<p dir="auto">Looks like I need to go to the source code and see what's going on...</p>
]]></description><link>https://community.m5stack.com/post/4930</link><guid isPermaLink="true">https://community.m5stack.com/post/4930</guid><dc:creator><![CDATA[ws1088]]></dc:creator><pubDate>Wed, 31 Jul 2019 17:11:00 GMT</pubDate></item></channel></rss>