<?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[M5STATION USB communication with computer while RS485 is in use - how to?]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I'm using M5Station 485 as a  Modbus RTU CLient, I'd also like to have USB communications to send debug messages to the Arduino IDE.<br />
Is it possible?</p>
<p dir="auto">Is I'm not reading the schematic "wrong" the USB port at the bottom is connected "in parallel" with the 485 interface so it's not available for communication while the 485 is in use, correct?</p>
<p dir="auto">What about the USB port "at the top" of it?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://community.m5stack.com/topic/4755/m5station-usb-communication-with-computer-while-rs485-is-in-use-how-to</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 23:06:27 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4755.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Oct 2022 16:50:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5STATION USB communication with computer while RS485 is in use - how to? on Sat, 05 Nov 2022 01:55:18 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/caterpillaraoz" aria-label="Profile: Caterpillaraoz">@<bdi>Caterpillaraoz</bdi></a></p>
<p dir="auto">you could try something like this every time you want to log something:</p>
<pre><code>  Serial.begin(115200);
  Serial.println("Hello World");
  Serial.end(true);
  ModbusRTUClient.begin(115200, SERIAL_8N1);
</code></pre>
<p dir="auto">Please note that all debug output you send this way will also be sent to the Modus RTU server. This could potentially lead to unwanted results, should the parser in the Modbus RTU server choke on it.<br />
In addition you'll see everything the Modbus RTU server is sending back in the log as well.</p>
<p dir="auto">As an alternative you could use a second serial connection for debug output through one of the Groove ports using a separate USB Serial converter. E.g. like this:</p>
<pre><code>  Serial1.begin(115200, SERIAL_8N1, 16, 17);
  Serial1.println("Hello world");
</code></pre>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/19203</link><guid isPermaLink="true">https://community.m5stack.com/post/19203</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 05 Nov 2022 01:55:18 GMT</pubDate></item><item><title><![CDATA[Reply to M5STATION USB communication with computer while RS485 is in use - how to? on Fri, 04 Nov 2022 17:09:04 GMT]]></title><description><![CDATA[<p dir="auto">So you are telling me that there is NO way to use the RS485 and a computer serial communication at the same time?</p>
]]></description><link>https://community.m5stack.com/post/19198</link><guid isPermaLink="true">https://community.m5stack.com/post/19198</guid><dc:creator><![CDATA[Caterpillaraoz]]></dc:creator><pubDate>Fri, 04 Nov 2022 17:09:04 GMT</pubDate></item><item><title><![CDATA[Reply to M5STATION USB communication with computer while RS485 is in use - how to? on Wed, 02 Nov 2022 18:21:09 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/caterpillaraoz" aria-label="Profile: Caterpillaraoz">@<bdi>Caterpillaraoz</bdi></a></p>
<p dir="auto">I am afraid the top USB Type-A port is for power only.</p>
<p dir="auto">From the <a href="https://docs.m5stack.com/en/core/station_485" target="_blank" rel="noopener noreferrer nofollow ugc">M5Station</a> documentation: <em>USB Tpye-A power supply output only, no signal pins</em>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/19189</link><guid isPermaLink="true">https://community.m5stack.com/post/19189</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 02 Nov 2022 18:21:09 GMT</pubDate></item><item><title><![CDATA[Reply to M5STATION USB communication with computer while RS485 is in use - how to? on Wed, 02 Nov 2022 10:48:56 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> Bottom USB is wired in parallel with the RS485 port &amp; is the one to be used for FW loading, TOP usb I'm trying to figure out how to talk over it!</p>
]]></description><link>https://community.m5stack.com/post/19186</link><guid isPermaLink="true">https://community.m5stack.com/post/19186</guid><dc:creator><![CDATA[Caterpillaraoz]]></dc:creator><pubDate>Wed, 02 Nov 2022 10:48:56 GMT</pubDate></item><item><title><![CDATA[Reply to M5STATION USB communication with computer while RS485 is in use - how to? on Fri, 28 Oct 2022 14:58:37 GMT]]></title><description><![CDATA[<p dir="auto">As far as I’m aware, the bottom usb is power only and the top port is data!</p>
]]></description><link>https://community.m5stack.com/post/19140</link><guid isPermaLink="true">https://community.m5stack.com/post/19140</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 28 Oct 2022 14:58:37 GMT</pubDate></item></channel></rss>