<?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[How to use PaHub and PbHub at the same time?]]></title><description><![CDATA[<p dir="auto">I'm trying to connect multiple I2C units(red, for example joystick, Env II and Color) and I/O units(black, such as Angle, Light, and Dual Button) to the FIRE. But both PaHub and PbHub are using the PortA. Is there any way that I can make them work? My plan is to connect PaHub to PortA and connect PbHub to one of the channels on PaHub. My question is how to get the values from each unit. I'm using the Arduino IDE.<br />
Thank you very much!</p>
]]></description><link>https://community.m5stack.com/topic/3724/how-to-use-pahub-and-pbhub-at-the-same-time</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 01:29:04 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3724.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 09 Nov 2021 17:55:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to use PaHub and PbHub at the same time? on Wed, 10 Nov 2021 04:11:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> That makes total sense! Thank you so much!<br />
I replaced the PaHub with the Hub expansion unit. Everything works now.</p>
]]></description><link>https://community.m5stack.com/post/15419</link><guid isPermaLink="true">https://community.m5stack.com/post/15419</guid><dc:creator><![CDATA[raychmond]]></dc:creator><pubDate>Wed, 10 Nov 2021 04:11:07 GMT</pubDate></item><item><title><![CDATA[Reply to How to use PaHub and PbHub at the same time? on Tue, 09 Nov 2021 21:05:04 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/raychmond" aria-label="Profile: raychmond">@<bdi>raychmond</bdi></a></p>
<p dir="auto">in order to connect multiple I2C units you don't necessarily need a PaHub - you can simply connect them all in parallel using one or more <a href="https://shop.m5stack.com/products/mini-hub-module" target="_blank" rel="noopener noreferrer nofollow ugc">HUB expansion Units</a>. (A PaHub only is required if you wish to connect two I2C units which have the same I2C address.)</p>
<p dir="auto">In your case that should work as the I2C units you mentioned all have a different I2C address:</p>
<pre><code>M5Stack Fire
 |-- HUB Expansion
      |-- JoyStick (0x52)
      |-- Env II (0x44, 0x76)
      |-- HUB Expansion
           |-- Color (0x29)
           |-- PbHub (0x61)
</code></pre>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/15417</link><guid isPermaLink="true">https://community.m5stack.com/post/15417</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 09 Nov 2021 21:05:04 GMT</pubDate></item></channel></rss>