<?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[Stamp Pico and connecting more than one unit]]></title><description><![CDATA[<p dir="auto">I am creating a project using a Stamp Pico with a PIR sensor connected to the grove port. I want to connect a single relay unit to the Pico also. As there are no other grove ports I specified ‘custom’ for the port for the relay unit. I chose what came up initially, that was pins 21 and 22. My question is do I need to define the GPIO pins in UI flow (v1.13.2) in Python or can I stay using Blockley and they will be automatically defined?<br />
Am I indeed using suitable pins for connecting the relay unit to the Pico?<br />
Thanks for any/all help offered.</p>
]]></description><link>https://community.m5stack.com/topic/6139/stamp-pico-and-connecting-more-than-one-unit</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 05:35:58 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6139.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Feb 2024 12:03:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Stamp Pico and connecting more than one unit on Tue, 27 Feb 2024 10:39:30 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> said in <a href="/post/24066">Stamp Pico and connecting more than one unit</a>:</p>
<blockquote>
<p dir="auto">PIR unit only needs one input GPIO and the relay unit only needs one output GPIO.</p>
</blockquote>
<p dir="auto">Thanks felmue I did get this working.</p>
]]></description><link>https://community.m5stack.com/post/24167</link><guid isPermaLink="true">https://community.m5stack.com/post/24167</guid><dc:creator><![CDATA[Kombistack]]></dc:creator><pubDate>Tue, 27 Feb 2024 10:39:30 GMT</pubDate></item><item><title><![CDATA[Reply to Stamp Pico and connecting more than one unit on Fri, 23 Feb 2024 13:07:24 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/kombistack" aria-label="Profile: Kombistack">@<bdi>Kombistack</bdi></a></p>
<p dir="auto"><a href="https://docs.m5stack.com/en/unit/PIR" target="_blank" rel="noopener noreferrer nofollow ugc">PIR unit</a> only needs one <strong>input</strong> GPIO and the <a href="https://docs.m5stack.com/en/unit/relay" target="_blank" rel="noopener noreferrer nofollow ugc">relay unit</a> only needs one <strong>output</strong> GPIO. You can combine both to the same Groove port with default GPIOs using a <a href="https://docs.m5stack.com/en/accessory/converter/grove_t" target="_blank" rel="noopener noreferrer nofollow ugc">Groove-T</a> connector.<br />
Below UIFlow blocks turn the relay on and off, depending on what the PIR sensor reports:</p>
<p dir="auto"><img src="/assets/uploads/files/1708693639251-ui1_stamp_pir_relay_20240223.png" alt="0_1708693638060_UI1_Stamp_PIR_Relay_20240223.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/24066</link><guid isPermaLink="true">https://community.m5stack.com/post/24066</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 23 Feb 2024 13:07:24 GMT</pubDate></item></channel></rss>