How do i use Simulink to make an app that allows communication between android and arduino through USB ?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Kiat Nern Yeo
il 17 Giu 2019
Risposto: Alireza Ghaderi
il 25 Mag 2020
Hello all
Is it possible to use SImulink to make an app that allows android and arduino to communicate with each other via an USB-OTG cable ?
I understand that there is a serial receive and send within the Arduino support package.
However, there is no such block within the android support package.
I would like to see if this is possible directly, or is it always necessary to create a separate application that runs in the backgroun to send and receive the serial data?
Cheers !
0 Commenti
Risposta accettata
Sruthi Yenugula
il 20 Giu 2019
Currently Android Support package does'nt have USB-OTG support, you can use ToApp/FromApp block and implement your own USB communication in Android Studio
Check below examples on how to use fromApp and toApp blocks
Più risposte (1)
Alireza Ghaderi
il 25 Mag 2020
i think it is supported now... I havent done that but there is a Serial send/receive in Simulink suport packages for android. I think that would do the job
0 Commenti
Vedere anche
Categorie
Scopri di più su Modeling in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!