How change the name and baud of Bluetooth 2 module Xbee mounted on simpleRTK2B

Q&A forumCategory: QuestionsHow change the name and baud of Bluetooth 2 module Xbee mounted on simpleRTK2B
Marcel asked 3 months ago

Hi,
I need to change the name and the baudrate of Bluetooth module

mounted on simpeRTK2B.
Is the HC-06 default baud 9600?
Can I access it via USB plug J2?
On /dev/ttyUSB0 the plug seems to be mounted, but sending at 9600baud
AT+NAMExxxx\n
AT+BAUD8\n       (I want to change to 115200baud)
nothing happens.
Thank you
Marcel
 

1 Answers
Kaupoi answered 3 months ago

I been trying the same thing. Once managed to change the baud rate through simple board, but instantly after changing, lost connection to xbee module. Tried another module too without success. Today I received XBee adapter: https://www.aliexpress.com/item/XBee-Explorer-Xbee-USB-Mini-Adapter-Module-Board-Base-Shield-Multifunction-New-Free-shipping/
and it works great. Just plug xbee module and usb cable to it. 
Now I only need to figure out what is the correct command to change the name on the module.

marcel replied 3 months ago

With baud=38400 over USB:
AT+NAME=myNiceName\r\n
does the miracle.
Note that you have to put the “KEY” pin of HC-05 to +5V so it enters AT command mode

Ardusimple Staff replied 3 months ago

Nailed it 🙂