MATLAB Answers

0

How do i use Simulink to make an app that allows communication between android and arduino through USB ?

Asked by Kiat Nern Yeo on 17 Jun 2019
Latest activity Commented on by Kiat Nern Yeo on 23 Jun 2019
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 Comments

Sign in to comment.

1 Answer

Answer by Sruthi Yenugula on 20 Jun 2019
 Accepted Answer

  1 Comment

Hi Sir Thanks for replying
Will this mean that i will need to make another application to run in the background, in order to send the data through a USB cable ?
I understand that this ToApp and FromApp requires me to edit the generated code in Android Studio.
Cheers

Sign in to comment.