<?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[Watering Unit U105 with PBHUBUnit ?]]></title><description><![CDATA[<p dir="auto">Is someone Capable of teaching how the Watering Unit U105 with a Port B PBHUBUnit can work?</p>
<p dir="auto">I use the Core S3 Machine.<br />
i try:<br />
from unit import PBHUBUnit<br />
from unit import WateringUnit<br />
global pbhub_0, watering_0 ....</p>
<p dir="auto">i2c1 = I2C(1, scl=Pin(8), sda=Pin(9), freq=400000)<br />
pbhub_0 = PBHUBUnit(i2c1, 0x61)<br />
watering_0 = WateringUnit(PBHUBUnit(i2c=i2c1, channel=0, address=0x61))</p>
<p dir="auto">but this code seems to work only for i2c devices, and not for GPIO Pins to Init the PBHub.<br />
Can someone tell me how i must init the Device and activate the Waterpump or read the Values from the Machine ?</p>
<p dir="auto">Normally i would use the GPIO Pins directly, but i need 1 device more to use:<br />
watering_0 = WateringUnit((8, 9))</p>
<p dir="auto">I read something to write to 0x40, but i get really confused how this will work to read the Value or switch the Pump on or off.<br />
Can someone explain that to me at time, thanks !</p>
]]></description><link>https://community.m5stack.com/topic/6654/watering-unit-u105-with-pbhubunit</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 11:05:11 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6654.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Jul 2024 16:54:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Watering Unit U105 with PBHUBUnit ? on Fri, 26 Jul 2024 02:16:52 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> oh, nice and inexpensive problem solver product. i will use it. For now i have a extra Power Supply for the S3 Device with 12V2A output and set the external Power in UIFlow to Output Mode, but in the Product Page i read on the End it is for Port A and MBus. The MBus is for the Stacked Devices ? But currently there are not many Stackable Modules out that can be used with UIFlow on the S3. And i think Core 2 Modules will not work with the S3 Device when they can´t be added in UIFlow ?</p>
]]></description><link>https://community.m5stack.com/post/25925</link><guid isPermaLink="true">https://community.m5stack.com/post/25925</guid><dc:creator><![CDATA[NoobCheck1]]></dc:creator><pubDate>Fri, 26 Jul 2024 02:16:52 GMT</pubDate></item><item><title><![CDATA[Reply to Watering Unit U105 with PBHUBUnit ? on Thu, 25 Jul 2024 20:10:05 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/noobcheck1" aria-label="Profile: NoobCheck1">@<bdi>NoobCheck1</bdi></a></p>
<p dir="auto">I am glad to hear you got it working.. And thank you for reporting back and letting me know that IO 0 is correct for the pump.</p>
<p dir="auto">The power for the water pump(s) comes from the M5CoreS3. In the PbHub unit 5 V is just wired through. Unfortunately I don't know what the maximum power is that the M5CoreS3 can deliver on its Groove ports.</p>
<p dir="auto">If you want to be on the save side you could use an external / additional power supply for the pump(s). See <a href="https://docs.m5stack.com/en/unit/typec2grove" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/25923</link><guid isPermaLink="true">https://community.m5stack.com/post/25923</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 25 Jul 2024 20:10:05 GMT</pubDate></item><item><title><![CDATA[Reply to Watering Unit U105 with PBHUBUnit ? on Thu, 25 Jul 2024 19:17:17 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> NICE, if i use IO <strong>0</strong> on value <strong>1 or 0</strong> it switches on and off the pump on port C with the PB.Hub.<br />
and also the analog value reading i can read on port c from this device.<br />
I thougt first i must plug the PB.HUBUnit in Port B, but this seems a wrong suggestion.<br />
On port B it tells me always the PB.HUBUnit cannot found and does nothing? Confusing.</p>
<p dir="auto">so for the first step, im happy and thanks.</p>
<p dir="auto">So can you maybe Explain me, or just tell me, is it ok, to use 2 Pumps on this port C with the HUB and Switch them eventually Both on, or use them so much Power that i can destroy the Port or Hole Device with this action ?<br />
How do i calculate this, or what is the Maximum for this Ports.</p>
<p dir="auto">.. on my next step i wanna a a weight Unit to confirm the moisture value of the capacitive sensor..</p>
]]></description><link>https://community.m5stack.com/post/25922</link><guid isPermaLink="true">https://community.m5stack.com/post/25922</guid><dc:creator><![CDATA[NoobCheck1]]></dc:creator><pubDate>Thu, 25 Jul 2024 19:17:17 GMT</pubDate></item><item><title><![CDATA[Reply to Watering Unit U105 with PBHUBUnit ? on Thu, 25 Jul 2024 17:48:23 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/noobcheck1" aria-label="Profile: NoobCheck1">@<bdi>NoobCheck1</bdi></a></p>
<p dir="auto">looking through the source code of UIFlow2 I don't think any of the Port B units are prepared to be used through PBHub (yet).</p>
<p dir="auto">That said, you could try the following: Only add the PBHub unit, connect the watering unit to channel 0 and then try below commands to turn the water pump on for 2 seconds.</p>
<p dir="auto"><img src="/assets/uploads/files/1721929652456-uiflow2pbhubwatering_20240725.png" alt="UIFlow2PbHubWatering_20240725.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Please note: I do not have the necessary M5Stack hardware to actually test this myself, so I could be wrong.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/25921</link><guid isPermaLink="true">https://community.m5stack.com/post/25921</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 25 Jul 2024 17:48:23 GMT</pubDate></item></channel></rss>