HC 06 not replying AT command after baud has been changed through AT commands

connections
G to GND
v t0 3v

D0 to 4 pin
DI to 3rd pin

code
#include <SoftwareSerial.h>
SoftwareSerial BTSerial(4, 3); // RX | TX

void setup()
{
Serial.begin(9600);
Serial.println(“Arduino with HC-06 is ready”);

// HC-06 default baud rate is 9600
BTSerial.begin(9600);
Serial.println(“BTserial started at 9600”);
}

void loop()
{

// Keep reading from HC-06 and send to Arduino Serial Monitor
if (BTSerial.available())
Serial.write(BTSerial.read());

// Keep reading from Arduino Serial Monitor and send to HC-06
if (Serial.available())
BTSerial.write(Serial.read());
}

AT COMMAND WAS WORKING PROPERLY …WHEN I CHANGED BAUD TO 38400 . THE AT COMMANDS ARE NOT RESPONDING… PLEASE HELP.

OK I FIGURED OUT , BECAUSE ONCE YOU CHANGE BAUD RATE YOU HAVE TO CHANGE YOUR SERIAL BAUD TOO

Hi.

I'm having exactly the same problem with an HC-06 after AT+BAUD7.

I've changed both of the Serial and BTSerial to 57600..

void setup()
{
Serial.begin(57600);
Serial.println("Arduino with HC-06 is ready");

// HC-06 default baud rate is 9600
BTSerial.begin(57600);
Serial.println("BTserial started at 9600");
}

...still no "OK" back from an "AT". The same is also true when BTSerial is left at 9600.

FYI - I am matching the Serial rate correctly in the Serial Monitor.

Can you give a bit more detail about what changes you made to get the thing talking again please?

Thanks.

...

Panic possibly over! I switched from an UNO to a MEGA so I'm no longer having to use the SoftwareSerial - and it's said "OK" to me again!