簡體   English   中英

如何使用 QT 應用程序在 android 設備和 arduino 之間建立串行通信?

[英]How to establish serial communication between android device and arduino using a QT app?

I'm building an App using QT C++ that controls an Arduino(Mega or Uno) using serial communication by USB, I got it to work on a linux PC using Qextserialport library, now I need that App to work on android phone using the micro USB端口,可以嗎? 如果是這樣,我該如何做到這一點? 提前致謝

例如,在任何網絡搜索(如谷歌)中輸入“Arduino Android USB”。

點擊https://www.instructables.com/id/Arduin-Adroid-USB-Serial-Communication/

並發現您實際上可以使用 USB OTG 電纜/適配器來執行此操作。

rest 只是軟件。 您可以從頭開始實現它,也可以使用Physicaloid之類的庫

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM