Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. read serial
    Log in to post
    • All categories
    • G

      Unsolved Read from serial port not working when "connect" method is used to call the read method.
      General and Desktop • qt serialport read serial arduino readonly • • Greeshma

      2
      0
      Votes
      2
      Posts
      46
      Views

      SGaist

      Hi and welcome to devnet,

      Several users on this forum are successfully using QSerialPort to communicate with Arduino boards so it should be a good solution.

      Can you share the code you use ?

    • T

      Solved Unable to read from QSerialPort using MSVC compiler
      General and Desktop • qserialport mingw msvc read serial • • Turi

      25
      0
      Votes
      25
      Posts
      954
      Views

      Christian Ehrlicher

      Here the bug report for this issue: https://bugreports.qt.io/browse/QTBUG-78086

    • S

      Solved Qt - Serialport : Read multiple Analog Inputs from Arduino at the same time
      General and Desktop • qt serialport arduino read serial qcustomplot plot • • Suneclipt

      4
      0
      Votes
      4
      Posts
      983
      Views

      S

      @aha_1980 Thank you alot Sir your answer was correct and helped to clean up the problem!

      Regards

    • F

      Solved QSerialPort Issue:: reading an undesired write message.
      General and Desktop • qserialport readyread read serial write issue • • Factao

      4
      0
      Votes
      4
      Posts
      660
      Views

      F

      @aha_1980 I'm expecting to read and write data with a serial port, but, for some reason, the data sent by my pc is also read by my pc, so the problems is that the data sent is somehow triggering the readyRead signals.

      @J-Hilk I noticed that ,effectively, the echo wasn't turned off on the pi. For whatever reason, it completely broke my programs when I'm turning it of, so I'm going to install qt and try again on the pi before calling it a win.

    • M

      Solved How we can read particular string/data from any device to print on particular LCD in qt?
      Mobile and Embedded • qtcreator qtwidgets qt5.5 qt4 read serial • • Mohit Tripathi

      25
      0
      Votes
      25
      Posts
      6683
      Views

      SGaist

      Don't @ the moderators unless you have an issue requiring moderation.

      Depending on the content of your line edit, you can use toLatin1() or toUtf8() rather than making these two conversions.

    • M

      Unsolved Change values on Qt according to a serial port string
      QML and Qt Quick • bluetooth rfcom serial port label circulargauge read serial • • maxime.armand

      4
      0
      Votes
      4
      Posts
      1840
      Views

      aha_1980

      @maxime.armand

      Have you actually tried it? It does exactly what you demand in step 1.

      And if you look in http://doc.qt.io/qt-5/qtserialport-creaderasync-main-cpp.html you will see that the serial port and the baud rate are given as command line parameters.

      Just (cross-)compile the program for the Raspberry, and run it. It should work like your HypterTerminal test.