<?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[Pb.HUB will not connect. [Fixed]]]></title><description><![CDATA[<p dir="auto">Here is a copy of the Python,,Terminal, and Blocks. I erased and burned the firmware again. I looked and didn't see anything that was similar for trouble shooting. The miniscule amount of code I kind of understand, I don't see anything that  stands out. Any help would be appreciated.</p>
<p dir="auto">---PYTHON---</p>
<p dir="auto">from m5stack import *<br />
from m5stack_ui import *<br />
from uiflow import *<br />
import unit</p>
<p dir="auto">screen = M5Screen()<br />
screen.clean_screen()<br />
screen.set_screen_bg_color(0xFFFFFF)<br />
pbhub_0 = unit.get(unit.PBHUB, unit.PORTA)</p>
<p dir="auto">label0 = M5Label('label0', x=102, y=101, color=0x000, font=FONT_MONT_38, parent=None)</p>
<p dir="auto">pbhub_0.init_i2c_address(0x61)<br />
while True:<br />
label0.set_text(str(pbhub_0.read_status(0xFE)))<br />
wait_ms(2)</p>
<p dir="auto">---From Terminal---</p>
<p dir="auto">Connected to Serial Port!<br />
ets Jul 29 2019 12:21:46</p>
<p dir="auto">rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)<br />
configsip: 0, SPIWP:0xee<br />
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00<br />
mode:DIO, clock div:1<br />
load:0x3fff0018,len:4<br />
load:0x3fff001c,len:5228<br />
load:0x40078000,len:13424<br />
load:0x40080400,len:3568<br />
entry 0x4008063c</p>
<pre><code>   _  __ _               
</code></pre>
<p dir="auto">_   <em>(</em>)/ <em>| | _____      __<br />
| | | | | |</em>| |/ _ \ \ /\ / /<br />
| |<em>| | |  <em>| | (</em>) \ V  V /<br />
_</em>,<em>|</em>|<em>| |</em>|___/ _/_/</p>
<blockquote>
<blockquote>
<blockquote>
<p dir="auto">gc.collect()</p>
</blockquote>
</blockquote>
</blockquote>
<h1>paste mode; Ctrl-C to cancel, Ctrl-D to finish<br />
=== from m5stack import *<br />
=== from m5stack_ui import *<br />
=== from uiflow import *<br />
=== import unit<br />
=== screen = M5Screen()<br />
=== screen.clean_screen()<br />
=== screen.set_screen_bg_color(0xFFFFFF)<br />
=== pbhub_0 = unit.get(unit.PBHUB, unit.PORTA)<br />
=== label0 = M5Label('label0', x=102, y=101, color=0x000, font=FONT_MONT_38, parent=None)<br />
=== pbhub_0.init_i2c_address(0x61)<br />
=== while True:<br />
===   label0.set_text(str(pbhub_0.read_status(0xFE)))<br />
===   wait_ms(2)</h1>
<p dir="auto">Traceback (most recent call last):<br />
File "&lt;stdin&gt;", line 8, in &lt;module&gt;<br />
File "<a href="http://unit.py" target="_blank" rel="noopener noreferrer nofollow ugc">unit.py</a>", line 190, in get<br />
File "&lt;string&gt;", line 1, in &lt;module&gt;<br />
File "units/_pbhub.py", line 15, in <strong>init</strong><br />
File "units/_pbhub.py", line 21, in _available<br />
Unit: Pb.hub unit maybe not connect</p>
<p dir="auto"><img src="/assets/uploads/files/1691874580702-uiflow_block_pb_fault.png" alt="0_1691874595634_uiflow_block_PB_Fault.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/topic/5570/pb-hub-will-not-connect-fixed</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 04:47:46 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5570.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 12 Aug 2023 21:13:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Thu, 17 Aug 2023 07:15:10 GMT]]></title><description><![CDATA[<p dir="auto">@pandian-nano Thank you. I have read through that several times and it makes no more sense than the time before. I'll eventually come across something that I understand and it will sink in. Thanks again.</p>
]]></description><link>https://community.m5stack.com/post/21971</link><guid isPermaLink="true">https://community.m5stack.com/post/21971</guid><dc:creator><![CDATA[IsoEek]]></dc:creator><pubDate>Thu, 17 Aug 2023 07:15:10 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Thu, 17 Aug 2023 07:04:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/isoeek" aria-label="Profile: IsoEek">@<bdi>IsoEek</bdi></a> <a href="https://docs.m5stack.com/en/quick_start/m5core/uiflow" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/en/quick_start/m5core/uiflow</a></p>
]]></description><link>https://community.m5stack.com/post/21970</link><guid isPermaLink="true">https://community.m5stack.com/post/21970</guid><dc:creator><![CDATA[pandian.nano]]></dc:creator><pubDate>Thu, 17 Aug 2023 07:04:53 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Thu, 17 Aug 2023 06:23:11 GMT]]></title><description><![CDATA[<p dir="auto">@pandian-nano said in <a href="/post/21968">Pb.HUB will not connect.</a>:</p>
<blockquote>
<p dir="auto">97</p>
</blockquote>
<p dir="auto">I now get [97] and True. I just tried using digital and analog read. Both are working as expected. That was a really cool party trick! Where can I read more about what you walked me through. I obviously have no issues making bad code. I need to know how to clean up my own messes and how to debug. Thank you so much for the help. I appreciate it more than you know.</p>
]]></description><link>https://community.m5stack.com/post/21969</link><guid isPermaLink="true">https://community.m5stack.com/post/21969</guid><dc:creator><![CDATA[IsoEek]]></dc:creator><pubDate>Thu, 17 Aug 2023 06:23:11 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Thu, 17 Aug 2023 03:42:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/isoeek" aria-label="Profile: IsoEek">@<bdi>IsoEek</bdi></a><br />
<img src="/assets/uploads/files/1692243239922-e2335b7e-3939-4742-abac-042470089fdb-image-resized.png" alt="0_1692243253849_e2335b7e-3939-4742-abac-042470089fdb-image.png" class=" img-fluid img-markdown" /></p>
<ul>
<li>
<p dir="auto">Please check again and check the result 0x61[97]</p>
</li>
<li>
<p dir="auto">If you get 0x61 result then your pbhub i2c address was changed from 0x60 to 0x61</p>
</li>
</ul>
<p dir="auto"><img src="/assets/uploads/files/1692243754951-1ad5c729-6942-4943-a699-6257d3a3432d-image.png" alt="0_1692243768795_1ad5c729-6942-4943-a699-6257d3a3432d-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/21968</link><guid isPermaLink="true">https://community.m5stack.com/post/21968</guid><dc:creator><![CDATA[pandian.nano]]></dc:creator><pubDate>Thu, 17 Aug 2023 03:42:43 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Thu, 17 Aug 2023 01:16:58 GMT]]></title><description><![CDATA[<p dir="auto">@pandian-nano Thanks. This is the out come. I looked up the Hex for 96 and I get 0x60. I believe I need to set init and/or set the new address. Is the answer as simple as using the Write Memory Data under I2C Master? Is the included block what I need to burn? I'm doing my best to learn this, but damn there is a lot to learn!</p>
<p dir="auto"><img src="/assets/uploads/files/1692218094779-i2c-scan-resized.jpg" alt="0_1692218108337_I2C Scan.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1692220284263-uiflow_block_1692220224825.png" alt="0_1692220299736_uiflow_block_1692220224825.png" class=" img-fluid img-markdown" /><br />
I tried using this code and I had no change.</p>
]]></description><link>https://community.m5stack.com/post/21965</link><guid isPermaLink="true">https://community.m5stack.com/post/21965</guid><dc:creator><![CDATA[IsoEek]]></dc:creator><pubDate>Thu, 17 Aug 2023 01:16:58 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Wed, 16 Aug 2023 06:28:13 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
<img src="/assets/uploads/files/1692166928143-b7264557-1bd6-4644-85a7-13606f0708ec-image.png" alt="0_1692166943010_b7264557-1bd6-4644-85a7-13606f0708ec-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1692167254899-7e4f250d-e7a6-4a0f-87f9-fff2bafa0fd7-a90fa071078c2fe2db6a48d44bc9637-resized.jpg" alt="0_1692167268589_7e4f250d-e7a6-4a0f-87f9-fff2bafa0fd7-a90fa071078c2fe2db6a48d44bc9637.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">Please check again and check the result</p>
]]></description><link>https://community.m5stack.com/post/21946</link><guid isPermaLink="true">https://community.m5stack.com/post/21946</guid><dc:creator><![CDATA[pandian.nano]]></dc:creator><pubDate>Wed, 16 Aug 2023 06:28:13 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Wed, 16 Aug 2023 03:59:47 GMT]]></title><description><![CDATA[<p dir="auto">I have lost track of how many times ive erased and downloaded the firmware. This is the last Terminal screen.</p>
<p dir="auto">Connected to Serial Port!<br />
( �m�!0ϟ��( �m�!0���<br />
_  __ _<br />
_   <em>(</em>)/ <em>| | _____      __<br />
| | | | | |</em>| |/ _ \ \ /\ / /<br />
| |<em>| | |  <em>| | (</em>) \ V  V /<br />
_</em>,<em>|</em>|<em>| |</em>|___/ _/_/</p>
<p dir="auto">APIKEY: 2F9D3FE8<br />
Traceback (most recent call last):<br />
File "<a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow ugc">main.py</a>", line 12, in &lt;module&gt;<br />
File "<a href="http://unit.py" target="_blank" rel="noopener noreferrer nofollow ugc">unit.py</a>", line 190, in get<br />
File "&lt;string&gt;", line 1, in &lt;module&gt;<br />
File "units/_pbhub.py", line 15, in <strong>init</strong><br />
File "units/_pbhub.py", line 21, in _available<br />
Unit: Pb.hub unit maybe not connect<br />
MicroPython b0cb55176-dirty on 2023-08-03; M5Stack with ESP32<br />
Type "help()" for more information.</p>
<blockquote>
<blockquote>
<blockquote></blockquote>
</blockquote>
</blockquote>
<p dir="auto">I felt I was making decent progress at first. I have had so many failures now, I question the little bit I do know. Tried Uiflow V2 but Pb.Hub is not available.</p>
]]></description><link>https://community.m5stack.com/post/21941</link><guid isPermaLink="true">https://community.m5stack.com/post/21941</guid><dc:creator><![CDATA[IsoEek]]></dc:creator><pubDate>Wed, 16 Aug 2023 03:59:47 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Wed, 16 Aug 2023 03:17:44 GMT]]></title><description><![CDATA[<p dir="auto">@pandian-nano Thanks for the suggestion and help. This is what is in the terminal.</p>
<h1>=== from m5stack import *<br />
=== from m5stack_ui import *<br />
=== from uiflow import *<br />
=== import i2c_bus<br />
=== import time<br />
=== import unit<br />
=== screen = M5Screen()<br />
=== screen.clean_screen()<br />
=== screen.set_screen_bg_color(0xFFFFFF)<br />
=== pbhub_0 = unit.get(unit.PBHUB, unit.PORTA)<br />
=== i2c0 = i2c_bus.easyI2C(i2c_bus.PORTA, 0x00, freq=400000)<br />
=== i2c0.addr=(0x68)<br />
=== while True:<br />
===   print(i2c0.scan())<br />
===   wait_ms(200)<br />
===   wait_ms(2)</h1>
<p dir="auto">Traceback (most recent call last):<br />
File "&lt;stdin&gt;", line 10, in &lt;module&gt;<br />
File "<a href="http://unit.py" target="_blank" rel="noopener noreferrer nofollow ugc">unit.py</a>", line 190, in get<br />
File "&lt;string&gt;", line 1, in &lt;module&gt;<br />
File "units/_pbhub.py", line 15, in <strong>init</strong><br />
File "units/_pbhub.py", line 21, in _available<br />
Unit: Pb.hub unit maybe not connect</p>
]]></description><link>https://community.m5stack.com/post/21940</link><guid isPermaLink="true">https://community.m5stack.com/post/21940</guid><dc:creator><![CDATA[IsoEek]]></dc:creator><pubDate>Wed, 16 Aug 2023 03:17:44 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Tue, 15 Aug 2023 04:33:33 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1692073769504-398fc519-6e86-4b3c-a921-debdf65b563a-image.png" alt="0_1692073783955_398fc519-6e86-4b3c-a921-debdf65b563a-image.png" class=" img-fluid img-markdown" /><br />
First check if pbhub is connected or not? Check whether the i2c scan device result is [0x61] or [97].</p>
]]></description><link>https://community.m5stack.com/post/21927</link><guid isPermaLink="true">https://community.m5stack.com/post/21927</guid><dc:creator><![CDATA[pandian.nano]]></dc:creator><pubDate>Tue, 15 Aug 2023 04:33:33 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Mon, 14 Aug 2023 22:23:37 GMT]]></title><description><![CDATA[<p dir="auto">I can't connect PbHUB V1.1 to Atom Lite or Tough.</p>
]]></description><link>https://community.m5stack.com/post/21923</link><guid isPermaLink="true">https://community.m5stack.com/post/21923</guid><dc:creator><![CDATA[IsoEek]]></dc:creator><pubDate>Mon, 14 Aug 2023 22:23:37 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Mon, 14 Aug 2023 23:02:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> Still no joy. 🤔This is from the terminal.</p>
<p dir="auto">ets Jun  8 2016 00:22:57</p>
<p dir="auto">rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)<br />
configsip: 188777542, SPIWP:0xee<br />
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00<br />
mode:DIO, clock div:1<br />
load:0x3fff0018,len:4<br />
load:0x3fff001c,len:5228<br />
load:0x40078000,len:12908<br />
ho 0 tail 12 room 4<br />
load:0x40080400,len:3512<br />
entry 0x4008063c</p>
<pre><code>   _  __ _               
</code></pre>
<p dir="auto">_   <em>(</em>)/ <em>| | _____      __<br />
| | | | | |</em>| |/ _ \ \ /\ / /<br />
| |<em>| | |  <em>| | (</em>) \ V  V /<br />
_</em>,<em>|</em>|<em>| |</em>|___/ _/_/</p>
<p dir="auto">APIKEY: A2DCA138<br />
Traceback (most recent call last):<br />
File "flow/m5cloud.py", line 82, in _exec_fun<br />
File "&lt;string&gt;", line 9, in &lt;module&gt;<br />
File "<a href="http://unit.py" target="_blank" rel="noopener noreferrer nofollow ugc">unit.py</a>", line 186, in get<br />
File "&lt;string&gt;", line 1, in &lt;module&gt;<br />
File "units/_pbhub.py", line 15, in <strong>init</strong><br />
File "units/_pbhub.py", line 21, in _available<br />
Unit: Pb.hub unit maybe not connect</p>
<p dir="auto"><img src="/assets/uploads/files/1692054141612-uiflow_block_pb_hub_atom.png" alt="1_1692054157240_uiflow_block_PB_Hub_Atom.png" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1692054141642-atom-pb-hub-wiring-sm-resized.png" alt="0_1692054157240_Atom Pb Hub Wiring sm.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/21911</link><guid isPermaLink="true">https://community.m5stack.com/post/21911</guid><dc:creator><![CDATA[IsoEek]]></dc:creator><pubDate>Mon, 14 Aug 2023 23:02:27 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Mon, 14 Aug 2023 05:17:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> I have a few Type C 2 Grove. I cant believe I didnt think about that. Thank you. I'll let you know how it goes.</p>
]]></description><link>https://community.m5stack.com/post/21910</link><guid isPermaLink="true">https://community.m5stack.com/post/21910</guid><dc:creator><![CDATA[IsoEek]]></dc:creator><pubDate>Mon, 14 Aug 2023 05:17:59 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Mon, 14 Aug 2023 05:01:26 GMT]]></title><description><![CDATA[<p dir="auto">Ahh power draw issues.</p>
<p dir="auto">Try providing separate power to the devices but only connect the signal and GND pins to the PbHub.</p>
]]></description><link>https://community.m5stack.com/post/21908</link><guid isPermaLink="true">https://community.m5stack.com/post/21908</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Mon, 14 Aug 2023 05:01:26 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Sun, 13 Aug 2023 20:32:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/isoeek" aria-label="Profile: isoeek">@<bdi>isoeek</bdi></a> Okay, I think I'm the cause of the fault as it's not working now. All I'm trying to do is run 2 maybe 3 mosfet dc speed controllers with a PWM signal from the Pb.HUB. If its not capable I'll use the EXT.IO2.</p>
]]></description><link>https://community.m5stack.com/post/21904</link><guid isPermaLink="true">https://community.m5stack.com/post/21904</guid><dc:creator><![CDATA[IsoEek]]></dc:creator><pubDate>Sun, 13 Aug 2023 20:32:20 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Sun, 13 Aug 2023 20:59:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> Oh, okay. I'm using the STM32 F030 and Uiflow V1. I'm using the Tough Core as well. What dosen't make sense is I had it working with blocks/code, then it stopped working. I tried different cables and ports with no joy. I even checked to make sure everything was plugged in. 😂.</p>
]]></description><link>https://community.m5stack.com/post/21902</link><guid isPermaLink="true">https://community.m5stack.com/post/21902</guid><dc:creator><![CDATA[IsoEek]]></dc:creator><pubDate>Sun, 13 Aug 2023 20:59:02 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Sun, 13 Aug 2023 07:46:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/isoeek" aria-label="Profile: isoeek">@<bdi>isoeek</bdi></a> said in <a href="/post/21894">Pb.HUB will not connect.</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/isoeek" aria-label="Profile: isoeek">@<bdi>isoeek</bdi></a> Update! I did nothing new or different, now it works. I guess this is "normal" as no one replied.</p>
</blockquote>
<p dir="auto">More of a case that there was no one around yesterday.<br />
Is it the Mega328 Pb.Hub you have?</p>
<p dir="auto">Which UIFlow are you using as I have one on my bench waiting to start a guide.</p>
]]></description><link>https://community.m5stack.com/post/21895</link><guid isPermaLink="true">https://community.m5stack.com/post/21895</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 13 Aug 2023 07:46:25 GMT</pubDate></item><item><title><![CDATA[Reply to Pb.HUB will not connect. [Fixed] on Sun, 13 Aug 2023 03:05:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/isoeek" aria-label="Profile: isoeek">@<bdi>isoeek</bdi></a> Update! I did nothing new or different, now it works. I guess this is "normal" as no one replied.</p>
]]></description><link>https://community.m5stack.com/post/21894</link><guid isPermaLink="true">https://community.m5stack.com/post/21894</guid><dc:creator><![CDATA[IsoEek]]></dc:creator><pubDate>Sun, 13 Aug 2023 03:05:40 GMT</pubDate></item></channel></rss>