- 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.
Connecting Bluetooth Module and Arduino without using arduinosetup command
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hossameldin Gaballa
le 7 Juin 2024
Réponse apportée : MathWorks MATLAB Hardware Team
le 11 Juin 2024
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.
0 commentaires
Réponses (1)
MathWorks MATLAB Hardware Team
le 11 Juin 2024
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,
Also feel free to contact MathWorks Technical Support to get help on resolving this issue.
Thanks,
MATLAB Hardware Team
MathWorks
0 commentaires
Voir également
Catégories
En savoir plus sur Arduino Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!