🤖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

    Scheduled Pinned Locked Moved UIFlow
    1 Posts 1 Posters 2.1k Views 2 Watching
    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 Offline
      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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post