How to connect QtQuick Desktop App with Arduino Microcontroller?
-
Hey, I am new to this stuff. I can develop just a basic desktop application in Qt Framework.
I would like to know:- How can I control my Arduino Uno by giving inputs from desktop app?
- 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.
-
@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 ...
-
Hi,
- Yes
- 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.