🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Problems with READING serial data thermal printer

    UIFlow
    1
    1
    1.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      samsambenben
      last edited by

      Hi there!

      I'm kinda new here but I've been experimenting a little with the M5Core2.
      I am working on a project where I want to read the serial data coming out of a thermal printer.

      Currently I am using UiFlow (Blockly) for the ease of use.
      I have setup a "virtual" printer by doing the following (windows):

      Printers & Scanners > Add Printer or Scanner > Add local printer > Use COM3 > Generic > Generic Text Only
      Also changing the baud rate of the printer to 115200.

      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.

      In Blockly read the UART data with the following blocks:
      0_1614386484763_db873532-08c2-4acd-bb6f-5947a4b878e8-image.png

      This set-up works... sometimes...
      A few times, I get some data from the "printed" text file. Other times, my M5Core just freezes and reboots.

      My question: How can I get this working?

      Thanks in advance!

      Greetings,

      Sam :)

      1 Reply Last reply Reply Quote 1
      • First post
        Last post