COM port not visible in Bluetooth Arduino Setup

5 ビュー (過去 30 日間)
Adarsh
Adarsh 2024 年 12 月 13 日
コメント済み: Adarsh 2024 年 12 月 17 日
I have had some success setting up serial port connection using my HC-05 bluetooth model that is connected using the Rx and Tx ports on my Arduino Uno board. I have been able to execute commands and control LEDs using the following (given that one has already uploaded a working code via Arduino IDE foe the LED or any program for that matter)
bt = bluetooth("device_name",1)
fopen(bt)
fwrite(bt,1)
I also see the COM port that is assigned to HC-05 via my Control Panel's Devices and Printers (image attached). And MATLAB also lists that serial port when you execute the command "serialportlist".
However, when I am trying to setup a serial connection to my Arduino via HC-05 using arduinosetup, I get stuck at the step "Configure Bluetooth Device" (image attached, COM10 is the port that is attached via USB to Arduino, the so called "FTDI connection"). I don't see the COM port that is in serial connection with HC-05. I am able to work with Arduino IDE (it detects the roght COM ports and I have healthy connection). I have referred to the following posts/articles:
Is there a driver I am missing?
Thanks
  2 件のコメント
Shuba Nandini
Shuba Nandini 2024 年 12 月 17 日
Kindly refer to the troubleshooting steps mentioned in the following MATLAB documentation link to troubleshoot the issue:
Adarsh
Adarsh 2024 年 12 月 17 日
@Shuba Nandini I have already tried the steps listed on that link. I am actually able to connect HC-05 via bluetooth of my PC, the serial connection works out okay. However, interfacing that bluetooth for allowing wireless communication with the connected Arduino is the problem here.
Thanks for your help!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by