How do i use Simulink to make an app that allows communication between android and arduino through USB ?
조회 수: 2 (최근 30일)
이전 댓글 표시
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
채택된 답변
Sruthi Yenugula
2019년 6월 20일
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
추가 답변 (1개)
Alireza Ghaderi
2020년 5월 25일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Modeling에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!