Arduino Support Package with Bluetooth Connection

I'm looking to receive data from multiple analog ports of an Arduino MEGA 2560 using the Arduino Support Package, however, I'd like to do so over Bluetooth rather than the standard USB. I would prefer not to have to use the Arduino IDE so that the entire functionality is contained within Matlab and I can change sampling frequency easily. How could I go about this? Does the Support Package allow for Bluetooth connection rather than USB?

댓글 수: 1

Jayaram Theegala
Jayaram Theegala 2017년 4월 7일
편집: Jayaram Theegala 2017년 4월 7일
Currently, "MATLAB Support Package for Arduino" enables communication over a USB cable. However, you can use Instrument Control Toolbox's "Bluetooth" function to create a "bluetooth" object in MATLAB, and communicate using that.
This workflow has been explained in the following MATLAB Answers posts:

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Arduino Hardware에 대해 자세히 알아보기

질문:

2017년 4월 4일

편집:

2017년 4월 7일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by