Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. arduino
    Log in to post

    • UNSOLVED Qt Bluetooth keeps on "Connecting state"
      General and Desktop • bluetooth ubuntu arduino • • Manu_NaFu  

      6
      0
      Votes
      6
      Posts
      139
      Views

      @mrjj Hi Again, I just noticed that despite not being able to pair, I can connect to the bluetooth module using connect (in bluetoothctl). Could it be that Qt internally always tries to pair before connect, and that's why it cannot connect?
    • SOLVED QSerialPort Timeout Using waitForReadyRead on Windows
      General and Desktop • linux windows qserialport arduino • • cfallon61  

      4
      0
      Votes
      4
      Posts
      346
      Views

      Ok well here's an interesting discovery I've made, for anyone who finds this thread in the future: There seems to be an issue with the driver for the off-brand Arduino Nanos possibly not signalling to the OS correctly, or the implementation that Qt uses just really doesn't like the way that the driver responds. I am referring specifically to the nano clone which uses the QinHeng HL-340 serial peripheral. Not sure why this caused a problem, but there it is. Once I used an official Uno the code worked no problem. If I were more patient and had better resources I could possibly trace back the issue, but I do not, so sorry everyone lol. As such I'm marking this as resolved.
    • SOLVED QSerial - Can't read Arduino serial data
      Mobile and Embedded • arduino qserial • • LuizSabbagh  

      5
      0
      Votes
      5
      Posts
      790
      Views

      @J-Hilk Thanks man, your answer saved my time also, I had Qt 5.13.1 and serial read was not working, I updated to 5.14.0 and now it works.
    • SOLVED Qt - Serialport : Read multiple Analog Inputs from Arduino at the same time
      General and Desktop • qcustomplot arduino plot read serial qt serialport • • Suneclipt  

      4
      0
      Votes
      4
      Posts
      805
      Views

      @aha_1980 Thank you alot Sir your answer was correct and helped to clean up the problem! Regards
    • UNSOLVED How to integrate Qt Creator with Arduino IDE ?
      3rd Party Software • arduino • • Lazy93  

      1
      0
      Votes
      1
      Posts
      996
      Views

      No one has replied

    • UNSOLVED Reading from Arduino using QSerialPort stops after a few bytes
      General and Desktop • windows qserialport arduino • • FlyingDude  

      3
      0
      Votes
      3
      Posts
      1740
      Views

      I figured out, it was nescessary to set DTR: port.setDataTerminalReady(true); Thanks & br, Clemens
    • Serial Data "reading" disorder
      General and Desktop • arduino buffer series • • ftsm  

      16
      0
      Votes
      16
      Posts
      5099
      Views

      @ftsm Congratulations with the baby ;)
    • Qt to arduino Serial number
      3rd Party Software • serial port serial arduino • • r31lly  

      2
      0
      Votes
      2
      Posts
      2325
      Views

      Hi and welcome to devnet, Why the double conversion to stdString and c_str ? You can use something like toLatin1 if you want a QByteArray to write to your serial port.
    • QSerialport with arduino problem
      General and Desktop • qserialport arduino • • lotin  

      3
      0
      Votes
      3
      Posts
      1731
      Views

      Yes, i made this program by the terminal example. I solve it. I use QStringList to delete the first response. But, i thank you for for answer.
    • Arduino Serial Port Communications - Can't Open Arduino
      General and Desktop • serial port serialport read arduino write • • MagicalJourney  

      6
      0
      Votes
      6
      Posts
      3415
      Views

      Workaround: Start an application (QProcess) that pipes the serialport to a localhost socket.
    • I miss some bytes from Serial Port using Qt
      General and Desktop • qserialport threading arduino readyread • • LostInSpace  

      9
      0
      Votes
      9
      Posts
      4005
      Views

      #2 is wasteful way indeed! but in low baud rates it will help, but in this case I don't think this is a low baud rate. EDIT : I said for example 1ms, you really don't need it this fast, it depends on the frequency of getting bytes, for example for 20Hz you will have 20bytes every second which means you need a timer with at least 50ms refresh time and of course you read from serial port in asynchronous way then you can't 100% trust this way to read byte by byte, So as @JKSH said you better don't use this way if you don't have a specific reason.
    • Servo control GUI slider problem
      General and Desktop • serial arduino slider servo • • domcsidd  

      2
      0
      Votes
      2
      Posts
      1135
      Views

      Hi, Did you check the values that you are sending ? Do you have any code running on the Arduino that your wrote ?
    • Serial problem , segmentation fault
      QML and Qt Quick • signal serial arduino sisegv • • domcsidd  

      10
      0
      Votes
      10
      Posts
      3262
      Views

      Oh yeah :) ! Finally i have found the bug . The problem was the Load() func. it was before the ,,arduino = new QSerialPort ;" . Thanks for all of the help :) !!!