Arduino Support Package with Bluetooth Connection
Show older comments
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 Comment
Jayaram Theegala
on 7 Apr 2017
Edited: Jayaram Theegala
on 7 Apr 2017
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:
Answers (0)
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!