HC-05 doesn't respond on AT Mode.

Hello fellows,

I plug the HC-05 module on Arduino Due, press the little button, start everything pluggin that on USB and the blinking pattern indicates that it is on AT Mode (Blinking at 1Hz rate). I then send Serial Monitor commands but I get no response!

It is not burned since it responds with the blinking pattern. I can see the HC-05 with my smartphone, I can connect to it using the default PIN "1234" and it changes the blinking pattern again. So I think it is working.

What am I doing wrong??

Serial1 on due is 18,19 pins.

String command = "";
    
void setup()   
{  
  Serial.begin(9600);  
  Serial.println("Type commands for AT:");  
  Serial1.begin(38400);  
}  
    
void loop()  
{  
  if (Serial.available())
  {  
    while (Serial.available()) {
      command += (char)Serial.read();
    } 
    delay(10);
    Serial1.println(command);  
  }  
  command = "";
  if (Serial1.available())
  {  
    while (Serial1.available()) {
      command += (char)Serial1.read();
    } 
    delay(10);
    Serial.println(command);  
  }  
  command = "";

The default baud rate for HC-05 is 9600 baud. So unless you've changed this with AT- commands you will run into issues.

DON'T CROSS-POST!!!!!!!!!!!!!!!! http://forum.arduino.cc/index.php?topic=474065 REPORTED

What do I do when there are 2 subjects included? May be a Due issue, or a general communication Issue...

I've tried all the baudrates... No response.

Chose the most appropriate subject.

Just passing by to confess my intellectual smallness.

I was connecting HC-05 RX to Arduino RX and HC-05 TX to Arduino Tx.

After the wiring fixed everything works great.

Sorry for the inconvenience.

Thanks!