<?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[ENV+Relay]]></title><description><![CDATA[<p dir="auto">Why are ENV and Relay not working on the same port A?</p>
]]></description><link>https://community.m5stack.com/topic/2319/env-relay</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Mar 2026 14:49:29 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2319.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 21 Sep 2020 08:52:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ENV+Relay on Wed, 23 Sep 2020 09:27:11 GMT]]></title><description><![CDATA[<p dir="auto">I see.</p>
]]></description><link>https://community.m5stack.com/post/10178</link><guid isPermaLink="true">https://community.m5stack.com/post/10178</guid><dc:creator><![CDATA[Kris]]></dc:creator><pubDate>Wed, 23 Sep 2020 09:27:11 GMT</pubDate></item><item><title><![CDATA[Reply to ENV+Relay on Mon, 21 Sep 2020 11:40:03 GMT]]></title><description><![CDATA[<p dir="auto">Check the pin layout of the two units:</p>
<p dir="auto"><img src="/assets/uploads/files/1600688379905-img_20200921_203452-resized.jpg" alt="0_1600688353034_IMG_20200921_203452.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/10158</link><guid isPermaLink="true">https://community.m5stack.com/post/10158</guid><dc:creator><![CDATA[liemph]]></dc:creator><pubDate>Mon, 21 Sep 2020 11:40:03 GMT</pubDate></item><item><title><![CDATA[Reply to ENV+Relay on Mon, 21 Sep 2020 11:33:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/2029">@Kris</a> The ENV unit uses I2C interface while the Relay unit uses a single bus (simple digital i/o) interface. For example, if you use M5Stack Fire, as default, the ENV unit is connected to Port A (I2C) and the Relay unit to Porb B (I/O). For some reason, if you really need to use Port A for your Relay unit, of course, you can. But you have to carefully program the correct pin of Port A to work as an output port to control the relay. To be more precise, the pin for SDA of (I2C) (yellow color) of Port A should be programmed to be an output pin (corresponding to the REL pin of your Relay unit). For this particular case, the fourth pin (SCL, white color) of the Port A is not used. The same grove cable can be used for both units. Good luck.</p>
]]></description><link>https://community.m5stack.com/post/10157</link><guid isPermaLink="true">https://community.m5stack.com/post/10157</guid><dc:creator><![CDATA[liemph]]></dc:creator><pubDate>Mon, 21 Sep 2020 11:33:32 GMT</pubDate></item></channel></rss>