Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to connect QtQuick Desktop App with Arduino Microcontroller?

How to connect QtQuick Desktop App with Arduino Microcontroller?

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt desktoparduinoserial port com
3 Posts 3 Posters 351 Views
  • 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
    S Offline
    Sajjad Ali
    wrote on 17 Dec 2023, 05:49 last edited by
    #1

    Hey, I am new to this stuff. I can develop just a basic desktop application in Qt Framework.
    I would like to know:

    1. How can I control my Arduino Uno by giving inputs from desktop app?
    2. How can I plot sensor data on desktop app?

    Please just outline the steps and let me know if its possible.
    And any necessary readings to get this stuff done. Video lectures or readings?

    Thanks for your time.

    G 1 Reply Last reply 17 Dec 2023, 16:43
    0
    • S Sajjad Ali
      17 Dec 2023, 05:49

      Hey, I am new to this stuff. I can develop just a basic desktop application in Qt Framework.
      I would like to know:

      1. How can I control my Arduino Uno by giving inputs from desktop app?
      2. How can I plot sensor data on desktop app?

      Please just outline the steps and let me know if its possible.
      And any necessary readings to get this stuff done. Video lectures or readings?

      Thanks for your time.

      G Offline
      G Offline
      gfxx
      wrote on 17 Dec 2023, 16:43 last edited by gfxx
      #2

      @Sajjad-Ali so you use arduino uno for grab data from some sensor, than you would plot the data on desktop pc app??? why these ? QT have mttq, modbus, canbus, opcua and bluethoot support so pc can grab data directly from a sensor using a commercial low cost "datalogger" (not know why these strange name ... but is it) .... you would transform your arduino uno into a datalogger .... some datalogger price is more or less 5usd .... so .....

      After these if you would self learn .... you can use QSerialBus and libmodbus library that work into arduino uno and qt too .... you can use serial port, usb port or rj45 port as you prefer ...

      bkt

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 17 Dec 2023, 19:48 last edited by
        #3

        Hi,

        1. Yes
        2. Yes

        That noted, there might be several ways to do that depending on the model you use.

        However, the classic way to do that is to use the serial port to exchange data as well as control the device.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        3/3

        17 Dec 2023, 19:48

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved