here's some notes I had when i was using them. Basically Daytripprs notes with a couple of points added to suit the modules i was using.
I added a picture of the ones i used.
FOR THE HC-05:
Tools - Serial Monitor to launch the Arduino terminal session
The Serial Monitor should be set to 9600 baud, 1 stop bit, no parity bit, no flow control
Both NL & CR and 38400 baud used
The BT/Serial Module LED should be blinking slowly.
Note: Dialogue commands and responses are framed with single quotes for clarity.
Do not use quotes in commands.
Change the HC-05 operating baud rate:
Check to see if HC-05 is alive:
Need to remove the “EN” pin after entering the UART mode in the serial interface in the arduino Ide otherwise you wont get a response when you type into the Arduino terminal session
Type: 'AT' and click the Send button Response should be 'OK'
Check the operating baud rate:
Type: 'AT+UART?' Response could be '+UART:9600,0,0' followed by 'OK'
Change the operating baud rate to 57600 1 stop no parity:
Type: 'AT+UART=57600,0,0' and click Send. Response should be 'OK'
You can check to see if the command "took":
Type: 'AT+UART?' Response should be '+UART:57600,0,0' followed by 'OK'
Optional: The "name" the HC-05 provides to inquiries can be displayed and changed:
Display the current BT/Serial module name:
Some commands dont work unless you follow this procedure with the board
type in the command then HOLD DOWN THE BUTTON ON THE hc05 BOARD then hit enter OTHERWIZE COMMAND WONT WORK
Type: 'AT+NAME?'
Response will be '+NAME: HC-05' followed by 'OK'
Change the module name to 'BT_AGENT1' Type: 'AT+NAME=BT_AGENT1'
See if it took:
Type: 'AT+NAME?' Response should be '+NAME: HC-05_2' followed by 'OK'
hope this helps. cheers gerry