<?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[M5Stack together with Controllino - Serial transmission problems]]></title><description><![CDATA[<p dir="auto">I want to read data that are send serial from the Controllino Mini USB-B port to M5Stack. Serial transmission is available and can be seen if I connect a PC with the USB-A port. A COM-Port is generated and HTERM can log the data. On M5Stack with the USB-B to USB-C connection, no values are displayed. I successfully tried to transmit Data from the PC to M5Stack with an USB-A to USB-C cable.</p>
<p dir="auto">What is different with the USB-B to USB-C cable?<br />
Is the problem with the Controllino or the M5Stack or the cable?<br />
What is necessary that Controllino Mini sends the data and M5Stack can interprete this data?</p>
<p dir="auto">Thank you for your help?</p>
<p dir="auto">Here the code:</p>
<p dir="auto">'''<br />
#include &lt;M5Stack.h&gt;</p>
<p dir="auto">String receivedString = "";<br />
bool newData = false;</p>
<p dir="auto">void setup() {<br />
M5.begin();<br />
M5.Power.begin();</p>
<p dir="auto">Serial.begin(115200);</p>
<p dir="auto">M5.Lcd.setTextSize(2);<br />
M5.Lcd.setTextColor(WHITE, BLACK);<br />
M5.Lcd.println("Warte auf Daten...");<br />
}</p>
<p dir="auto">void loop() {<br />
while (Serial.available() &gt; 0) {<br />
char incomingChar = Serial.read();<br />
if (incomingChar == '\n') {<br />
newData = true;<br />
} else {<br />
receivedString += incomingChar;<br />
}<br />
}</p>
<p dir="auto">if (newData) {<br />
M5.Lcd.fillScreen(BLACK);<br />
M5.Lcd.setCursor(0, 0);<br />
M5.Lcd.println("Empfangen:");<br />
M5.Lcd.println(receivedString);</p>
<pre><code>receivedString = "";
newData = false;
</code></pre>
<p dir="auto">}</p>
<p dir="auto">M5.update();<br />
}<br />
'''</p>
]]></description><link>https://community.m5stack.com/topic/6794/m5stack-together-with-controllino-serial-transmission-problems</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 09:43:49 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6794.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Sep 2024 07:21:28 GMT</pubDate><ttl>60</ttl></channel></rss>