arduino bluetooth hc-05 does not connect

조회 수: 5 (최근 30일)
johannes Lubben
johannes Lubben 2019년 1월 3일
댓글: Ninh Dang 2020년 4월 14일
i use the MATLAB Support Package for Arduino Hardware but get stuck on setup.
I have Arduino mega2560 with HC-05 bluetooth module. I use this setup succesful with arduino IDE to upload a program, read and write data to the mega on COM port.
I have a sweex bt201 bluetoothdongel with the Bluesoleil software. And a succesful COM serial port connection to the HC-05
I can configure the HC-05 trough Arduino IDE serial monitor with ftdi Serial-USB adapter using AT commands in AT mode.
after succesful upload of the arduino server using USB it fails to pair to HC-05 using adress 98:D3:61:F5:F4:D3 (98D361F5F4D3).
The Hardware setup does not reconize the HC-05 in AT mode on COM port using the ftdi adapter when Arduino IDE works fine with same setup.
it seems matlab (supportpackage) does not work with my sweex bt201 bluetooth dongle >? have instrument control toolbox installed
  댓글 수: 2
johannes Lubben
johannes Lubben 2019년 1월 6일
편집: johannes Lubben 2019년 1월 6일
just got it to work!
i bought i new bluetooth dongel trust 18187-03 but this din't help. Had something to do with the drivers but still no connection in matlab. Reinstalled my windows 10 pc that took me a day. Still no connection...
"for windows GUI Bluetooth features to activate, there cannot be any other installed drivers or interfaces. For me in my case, windows didn't active the features until I had uninstalled the stock drivers (CSR Wireless Stack). Basically, Windows needs to be using the "Generic Bluetooth Radio" drivers for the features to be activated."
Matlab uses the windows GUI for bluetooth recognition but the Arduino IDE does not. So it has to work in windows and not third party software like bluesoleil...
at least a have a clean pc now :-/
Ninh Dang
Ninh Dang 2020년 4월 14일
Hi Johannes,
I encountered the same problem. The Hardware setup does not reconize the HC-05 in AT mode on COM port using the ftdi adapter when Arduino IDE works fine with same setup.
What suggestions do you have to fix it? Thank you.

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

답변 (1개)

Ninh Dang
Ninh Dang 2020년 4월 14일
Hi Johannes,
I encountered the same problem. The Hardware setup does not reconize the HC-05 in AT mode on COM port using the ftdi adapter when Arduino IDE works fine with same setup.
What suggestions do you have to fix it? Thank you.

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by