Clear Filters
Clear Filters

Connecting Bluetooth Module and Arduino without using arduinosetup command

5 views (last 30 days)
I'm connecting IMU9250 sensor and Bluetooth module HC-05 to my arduino and I want to get the data of the IMU using the Bluetooth module instead of using the Arduino cable.
I'm trying to use arduinosetup command but it fails at last step while testing the connection between Arduino and Bluetooth module.
I've tested the connection of the Bluetooth module only usning blutooth() function and it connects fine!
My question is: Is there a way to establish the connection between MATLAB and the HC-05 Bluetooth module connected to my Arduino Uno without using arduinosetup. Just by using objects and functions step by step manually.

Answers (1)

MathWorks MATLAB Hardware Team
Hi,
We suggest using arduinosetup function to configure the arduino board and then use functions from MATLAB Support Package for Arduino Hardware to read the IMU9250 sensor data. Here are the steps that could help you,
  • Disconnect the HC05 module from the Arduino and connect the Arduino to your computer using a USB cable.
  • Execute the arduinosetup command, following the instructions for setting up Bluetooth connections.
  • Once the setup is complete, reconnect the HC05 module and use the functions from the Arduino support package to read sensor data.
Also feel free to contact MathWorks Technical Support to get help on resolving this issue.
Thanks,
MATLAB Hardware Team
MathWorks

Categories

Find more on Instrument Control Toolbox 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!