arduino bluetooth hc-05 does not connect

5 vues (au cours des 30 derniers jours)
johannes Lubben
johannes Lubben le 3 Jan 2019
Commenté : Ninh Dang le 14 Avr 2020
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 commentaires
johannes Lubben
johannes Lubben le 6 Jan 2019
Modifié(e) : johannes Lubben le 6 Jan 2019
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 le 14 Avr 2020
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.

Connectez-vous pour commenter.

Réponses (1)

Ninh Dang
Ninh Dang le 14 Avr 2020
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.

Catégories

En savoir plus sur MATLAB Support Package for 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!

Translated by