I finally got my 2 BT modules working.
What I type on one terminal can I read on the other terminal!!
Only on different baud rate!
HC-05 runs 38400 Bd and HC-06 9600 Bd ONLY !!
How come ![]()
/Bertil
I finally got my 2 BT modules working.
What I type on one terminal can I read on the other terminal!!
Only on different baud rate!
HC-05 runs 38400 Bd and HC-06 9600 Bd ONLY !!
How come ![]()
/Bertil
Because, while most HC-05 come at 9600 by default, you bought one that is 38400.
Can I change that ?
/Bertil
Sorry, I thought by "working" you had them talking to each other and thus know about AT mode.
Since you do have them working, there is no real need to change anything.
I submit there are only two speeds you need to use for bluetooth on Arduino.
The default speed - no configuration required.
115200, the maximum speed, after due consideration that you actually need it. Anything else is pointless.
The only caveat to this is that a device on 38400 by default may be unreliable under software serial. The real solution to this is to not use software serial.
If you do want to change anything, you need to configure the modules in AT made and they require different procedures. This guy has the best tutorial on this
http://www.martyncurrey.com/arduino-with-hc-05-bluetooth-module-at-mode/
Note that the HC-06 is in AT mode by default whenever it is not actually connected to the phone.