Hello, I tried a lot to get my HC06 Module paired with my smartphone but I have no luck. With AT Mode (and Arduino Uno) I get the version hc06V2.2_le. I can set the BAUD rate, I can change the name of the module. One Problem is I cannot change the pin code. If I use AT+PIN1234 no reaction also AT+PSWD="1234" does nothing.
When I turn on BT on my smartphone I can see my HC06. The first try to pair gives me the message "please go to the app of your device to pair it". When I try again, the pairing dialog of the smartphone opens and I can type in the code. I tried 1234, 0000 and may others but always the smarphone gives the response "There was an error pairing with the device". I am so helpless and it would be great anyone knows a solution.
I build a robot car with pupils. The car can be controlled over BT with an android app (with RFO-BASIC). An older HC06 module is working fine.
It seems there are HC06's and then there are HC06's....
Not all HC06's appear to be HC06s or even HC05's. Possibly your newer board is a version with the weird behavior as described somewhat down along this thread.
According to the AT command sheet, it might also be possible to use AT+PWD="1234" but I somehow doubt that's the issue here.
Thank you for your hints. I found out that I can change the ROLE (master slave) of the HC-06. I thought the 06 only can be slave. When I change to master it doesn't appear in the smartphone under BT devices for pairing. But my problem is not solved ;-(
The commnad AT+PWD="1234" does unfortunately not work.
If the HC-06 supports the firmware version command, tell us what the result is: AT+VERSION
Correct.
Clearly, it isn't an HC-06.
If it looks like an HC-06 but has 6 pins on the breakout board, it is probably an HC-05 - a faulty one(?)
Hello, I found out some resolutions. The Module is HC-06 but low energy version (BLE). They changed die Pin-Code to "123456" so six digits now. Then it pairs very well. The Pin can be changed with AT+PIN123456 (six digits).
With the app "Serial Bluetooth Terminal" I can pair and send data to the module. Unfortunately my RFO-Basic App I want to use does not work with BLE. There is a so called "Grau Basic!" but I had no luck finding / pairing the Module with that. Has someone experience with the BLE Module and Basic?
The version is 2.0 or 2.1 I must check.
Then it's not an HC-06...
Sending a picture would have helped others to help you
If you haven't read How to get the best out of this forum topic yet, it's time to do it.
There is no such thing but it is probably an HM-10, for which there is a library available on GitHub.
This is a PIC. It is definitve a HC-06 because the default name "HC-06" is saved on the module.
It is now working. PIN: 123456. I got it working with serial bluetooth terminal app and with "Grau Basic" with bluetooth ble support.
The correct version is:
hc06V2.2_le
So, not BLE. Post a link to the product page for this particular radio module.
This ist the page I bought:
The pic on ebay is wrong. I can only connect to the module with serial bluetooth terminal in Bluetooth LE mode not in classic mode. Grau Basic! hast built in BLE and also connects well.
From the product page, the seller apparently has no idea what they are actually selling, and it certainly is not clear from this thread what you have.
I'm glad it is working, though. Have fun!
Here is a link to a recent thread where another poster had an HC05 which turned out to be a BLE module. All sorts of junk is circulating around with these low cost versions.
https://forum.arduino.cc/t/no-response-on-at-commands-from-hc-05/1307313/74
Your post #10 surely shows an HC-06, which is not BLE. Graubasic implies it also supports HC-06.
The description of the HC-06 from the supplier is the same as any other HC-06, with no suggestion that it is a BLE device.
I suggest you double-check that the terminal is indeed in BLE mode.
You may find that the last two digits in the password are actually redundant.
Read post #14 again.