<?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[PbHUB V1.1 on ATOM Matrix with MicroPython]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I started some weeks ago playing around with M5Stack components. I love the Atom. It is chosen as the  main "work horse" of my projects.</p>
<p dir="auto">Want to not use the cloud for programming and I also could not bring M5Burner or UIFlow to work locally.<br />
So I flashed MicroPython via esptool and use ampy for bringing my scripts to the ATOM.</p>
<p dir="auto">I worked out successfully a project with the i2c connected Thermal camera unit.</p>
<p dir="auto">Now on my second project I want to connect 3 to 4 Watering Units to the ATOM. With only one connected to the ATOM it works all ok.</p>
<p dir="auto">But now to my problem (sorry for the long intro...).<br />
When I now connect the PbHUB 1.1 to the Atom, it is visible in a i2c.scan() with the right ID, but only until I try to access one of its registers. Whenever I do that, I get an exception from type OSError.ETIMEDOUT. After that also a scan will not find the device again until it is freshly connected.</p>
<p dir="auto">I tested with 2 PbHUB devices and the second was never connected to a watering unit or any other device. So I am quite sure it is not an hardware failure issue.</p>
<p dir="auto">I read in the docs that the PbHUB V1.1 is based on STM32 and the Input/output PINS are only 3,3V. But I don't think that this holds true also for the grove connector, right?</p>
<p dir="auto">Do somebody know what the root cause of my problem is?</p>
<p dir="auto">Thanks for the help in advance!</p>
]]></description><link>https://community.m5stack.com/topic/5320/pbhub-v1-1-on-atom-matrix-with-micropython</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 09:37:44 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5320.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 21 May 2023 06:15:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PbHUB V1.1 on ATOM Matrix with MicroPython on Tue, 23 May 2023 16:29:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">and thanks for the quick reply and help.</p>
<p dir="auto">I checked without any device connected and got the same behavior.</p>
<p dir="auto">To try with the UIFlow firmware like suggested, can you please describe how on an Atom device I can make the firmware to execute the <a href="http://boot.py" target="_blank" rel="noopener noreferrer nofollow ugc">boot.py</a> and <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow ugc">main.py</a> out of the flash, so I can use my tooling how described?</p>
<p dir="auto">It not worked until now. I can connect to the repl, but there is something running, even when I am in the (blue) usb programming mode.<br />
From where the UIFlow firmware executes? Can I put my stuff there with ampy?</p>
<p dir="auto">Thanks for the help again!</p>
]]></description><link>https://community.m5stack.com/post/20949</link><guid isPermaLink="true">https://community.m5stack.com/post/20949</guid><dc:creator><![CDATA[stacklaner]]></dc:creator><pubDate>Tue, 23 May 2023 16:29:42 GMT</pubDate></item><item><title><![CDATA[Reply to PbHUB V1.1 on ATOM Matrix with MicroPython on Sun, 21 May 2023 14:41:33 GMT]]></title><description><![CDATA[<p dir="auto">Check the voltage on the rails, it could be that that many devices is killing the voltage.<br />
The data lines are 3v3 but the voltage lines are 5V.<br />
Switch back to UIFlow firmware (you don't need uiflow guide to code it as it built on micropython.)</p>
<p dir="auto">There is a problem with mainstream micropython that causes issues like the timeout bug when it comes to I2C.write.<br />
I discovered this bug after corrupting a hub</p>
]]></description><link>https://community.m5stack.com/post/20909</link><guid isPermaLink="true">https://community.m5stack.com/post/20909</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 21 May 2023 14:41:33 GMT</pubDate></item></channel></rss>