How do i use Simulink to make an app that allows communication between android and arduino through USB ?
2 views (last 30 days)
Kiat Nern Yeo on 17 Jun 2019
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?
Sruthi Yenugula on 20 Jun 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