<?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[Problems with READING serial data thermal printer]]></title><description><![CDATA[<p dir="auto">Hi there!</p>
<p dir="auto">I'm kinda new here but I've been experimenting a little with the M5Core2.<br />
I am working on a project where I want to <strong>read</strong> the serial data coming out of a thermal printer.</p>
<p dir="auto">Currently I am using UiFlow (Blockly) for the ease of use.<br />
I have setup a "virtual" printer by doing the following (windows):</p>
<p dir="auto"><em>Printers &amp; Scanners &gt; Add Printer or Scanner &gt; Add local printer &gt; Use COM3 &gt; Generic &gt; Generic Text Only</em><br />
Also changing the baud rate of the printer to 115200.</p>
<p dir="auto">This allows me to print test data like it is being printed, this time not on a real printer but COM 3, where my M5Core is connected to.</p>
<p dir="auto">In Blockly read the UART data with the following blocks:<br />
<img src="/assets/uploads/files/1614386485804-db873532-08c2-4acd-bb6f-5947a4b878e8-image-resized.png" alt="0_1614386484763_db873532-08c2-4acd-bb6f-5947a4b878e8-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">This set-up works... sometimes...<br />
A few times, I get some data from the "printed" text file. Other times, my M5Core just freezes and reboots.</p>
<p dir="auto">My question: How can I get this working?</p>
<p dir="auto">Thanks in advance!</p>
<p dir="auto">Greetings,</p>
<p dir="auto">Sam :)</p>
]]></description><link>https://community.m5stack.com/topic/3012/problems-with-reading-serial-data-thermal-printer</link><generator>RSS for Node</generator><lastBuildDate>Wed, 06 May 2026 01:28:12 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3012.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 27 Feb 2021 00:46:40 GMT</pubDate><ttl>60</ttl></channel></rss>