<?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[M5 Core2 and unit UHF-RFID are bugged in UIFlow (bytes index out of range)]]></title><description><![CDATA[<p dir="auto">The default testing code does not work, something seem to be wrong in "units/_uhf_rfid.py"</p>
<p dir="auto"><img src="/assets/uploads/files/1668089767676-b49d56f8-0c83-4dfb-aa85-055afbc7c97e-image.png" alt="0_1668089765880_b49d56f8-0c83-4dfb-aa85-055afbc7c97e-image.png" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1668090018677-04f5389d-0db1-4e86-9939-33936b9b2023-image.png" alt="0_1668090013624_04f5389d-0db1-4e86-9939-33936b9b2023-image.png" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1668090040847-db254f41-1f81-4be8-ba13-0a3f8cee7559-image.png" alt="0_1668090032911_db254f41-1f81-4be8-ba13-0a3f8cee7559-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Changing the region does not help.<br />
Removing the region just moves the error tot the automatiq freq hopping step.</p>
<p dir="auto">Can someone help me figure out how I can find and edit the units/_uhf_rfid.py on the Core2?</p>
<p dir="auto">Thanks in advance</p>
]]></description><link>https://community.m5stack.com/topic/4791/m5-core2-and-unit-uhf-rfid-are-bugged-in-uiflow-bytes-index-out-of-range</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 23:18:30 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4791.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 Nov 2022 14:24:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5 Core2 and unit UHF-RFID are bugged in UIFlow (bytes index out of range) on Mon, 14 Nov 2022 08:38:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/28870">@tinkerer</a></p>
<p dir="auto">I made a quick reader  nothing special and this is on a Basic Core unit<br />
quick video showing it working<br />
<a href="https://youtu.be/qvtr6Vy-HwY" target="_blank" rel="noopener noreferrer nofollow ugc">https://youtu.be/qvtr6Vy-HwY</a></p>
<p dir="auto">The Tags I use are these ones</p>
<p dir="auto"><img src="https://firebasestorage.googleapis.com/v0/b/prjmgnt-caeef.appspot.com/o/IMG_2634.jpeg?alt=media&amp;token=63017c6e-6a97-4aa0-8eba-bb32b3e3ac63" alt="Tag 1" class=" img-fluid img-markdown" /><br />
<img src="https://firebasestorage.googleapis.com/v0/b/prjmgnt-caeef.appspot.com/o/IMG_2635.jpeg?alt=media&amp;token=3698cee3-1078-4b9f-9d3f-a8d2514a21aa" alt="Tag 2" class=" img-fluid img-markdown" /></p>
<p dir="auto">make sure the port is correct otherwise the bytes out of range error pops up</p>
<pre><code>from m5stack import *
from m5ui import *
from uiflow import *
import unit


setScreenColor(0x222222)
uhf_rfid_0 = unit.get(unit.UHF_RFID, unit.PORTA)

uhf_rfid_0.set_region(uhf_rfid_0.REGIN_US)
uhf_rfid_0.automatic_freq_hopping(0xFF)
uhf_rfid_0.set_channel_freq(924.25)
epc_bool = 0
uhf_rfid_0.set_select_mode(0x01)




label0 = M5TextBox(128, 59, "Tag #", lcd.FONT_Default, 0xFFFFFF, rotate=0)
label1 = M5TextBox(22, 106, "waiting ... ", lcd.FONT_Default, 0xFFFFFF, rotate=0)


while True:
        # while not temp:
        temp = uhf_rfid_0.single_polling()

        if temp:
            # label10.setText(str(temp))
            print("-----")
            print(temp[0])
            print(temp[1])
            print("-----")
            label1.setText(temp[0])
        wait(.5)

</code></pre>
]]></description><link>https://community.m5stack.com/post/19295</link><guid isPermaLink="true">https://community.m5stack.com/post/19295</guid><dc:creator><![CDATA[kylebuttress]]></dc:creator><pubDate>Mon, 14 Nov 2022 08:38:24 GMT</pubDate></item><item><title><![CDATA[Reply to M5 Core2 and unit UHF-RFID are bugged in UIFlow (bytes index out of range) on Mon, 14 Nov 2022 07:58:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/28870">@tinkerer</a> I'll extract out what I do for the reading and send it though I will test on my core unit as well</p>
<p dir="auto">I'm off line tomorrow so give me a day to get back to you ok.</p>
]]></description><link>https://community.m5stack.com/post/19294</link><guid isPermaLink="true">https://community.m5stack.com/post/19294</guid><dc:creator><![CDATA[kylebuttress]]></dc:creator><pubDate>Mon, 14 Nov 2022 07:58:28 GMT</pubDate></item><item><title><![CDATA[Reply to M5 Core2 and unit UHF-RFID are bugged in UIFlow (bytes index out of range) on Mon, 14 Nov 2022 07:45:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/2661">@kylebuttress</a> Would you be willing to share the full code, I applied the initialization, but I remain having the same error.</p>
]]></description><link>https://community.m5stack.com/post/19293</link><guid isPermaLink="true">https://community.m5stack.com/post/19293</guid><dc:creator><![CDATA[tinkerer]]></dc:creator><pubDate>Mon, 14 Nov 2022 07:45:23 GMT</pubDate></item><item><title><![CDATA[Reply to M5 Core2 and unit UHF-RFID are bugged in UIFlow (bytes index out of range) on Fri, 11 Nov 2022 13:19:58 GMT]]></title><description><![CDATA[<p dir="auto">Hello everyone,<br />
I have the same problem, I have Core2 and Aton Lite and it doesn't work on any.<br />
The labels are not, since I have the SDK for JRD 4035 and I see them all. The EPC comes out complete with all its characters.</p>
<p dir="auto">With IIFLOW I have only managed to read from the EPC 6 characters.<br />
In Arduino I have not been able to make the EPC read.</p>
<p dir="auto">I have worn € 300 and it is very disappointing.</p>
<p dir="auto">Sorry for my bad English</p>
<p dir="auto">Cheers</p>
]]></description><link>https://community.m5stack.com/post/19264</link><guid isPermaLink="true">https://community.m5stack.com/post/19264</guid><dc:creator><![CDATA[Bat21]]></dc:creator><pubDate>Fri, 11 Nov 2022 13:19:58 GMT</pubDate></item><item><title><![CDATA[Reply to M5 Core2 and unit UHF-RFID are bugged in UIFlow (bytes index out of range) on Thu, 10 Nov 2022 22:54:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/28870">@tinkerer</a></p>
<p dir="auto">I'm using the same Unit with M5Paper and its working very well. I did get a similar error when I was first starting my project.</p>
<p dir="auto">I did eventually get it working with the following set up.</p>
<p dir="auto">uhf_rfid_0.set_region(uhf_rfid_0.REGIN_US)<br />
uhf_rfid_0.automatic_freq_hopping(0xFF)<br />
uhf_rfid_0.set_channel_freq(924.25)<br />
epc_bool = 0<br />
uhf_rfid_0.set_select_mode(0x01)</p>
<p dir="auto">and then start waiting for tags with<br />
def reader():<br />
temp = None<br />
count = None<br />
clean = None<br />
while True:<br />
count += 1</p>
<pre><code>    # while not temp:
    temp = uhf_rfid_0.single_polling()

    if temp:
        # label10.setText(str(temp))
        print("-----")
        print(temp[0])
        print(temp[1])
        print("-----")
</code></pre>
<p dir="auto">this is on a separate thread and works quite well for my requirements.</p>
<p dir="auto">The other issue I had and not sure if it was because I did not read correctly however. it works with the following tags (UHF RFID Tag ISO18000-6C)</p>
<p dir="auto">Not sure if it helps, but I hope it offers some info thats of use.</p>
<p dir="auto">reagrds</p>
<p dir="auto">Kyle</p>
]]></description><link>https://community.m5stack.com/post/19257</link><guid isPermaLink="true">https://community.m5stack.com/post/19257</guid><dc:creator><![CDATA[kylebuttress]]></dc:creator><pubDate>Thu, 10 Nov 2022 22:54:38 GMT</pubDate></item></channel></rss>