I was configuring the HC-05 (VERSION:4.0-20190728) with arduino uno R3 (Chinese), everything was fine in AT configuration mode until I accidentally put AT + ROLE = 2 instead of AT + ROLE = 1, save and went back to normal configuration. When the HC-05 was turned on again, the LED blinked slower than normal, but not as much as in AT configuration mode.
I went back into configuration mode and put any command only towards echo, that is:
:AT
AT
:AT + ORGL
AT + ORGL
I have tried to enter configuration mode using the button, powering the EN port and pin 34 but it seems to just ignore the commands. I was reading and apparently went into a Slave echo loop mode.
My Sketch:
#include <SoftwareSerial.h>
SoftwareSerial BTserial(10, 11); // RX | TX
void setup(){
pinMode(9, OUTPUT);
digitalWrite(9, HIGH);
delay(1000);
Serial.begin(9600);
BTserial.begin(38400);
Serial.println("SERIAL MONITOR NL & CR");
}
void loop(){
if (BTserial.available()){
Serial.write(BTserial.read());
}
if (Serial.available()){
BTserial.write(Serial.read());
}
}