HC 06 NO RESPOND ON AT COMMANDS

PROBLEM:

I am using arduino UNO R3 and HC 06 BLUETOOTH MODULE

  1. WHEN I TYPE "AT" COMMANDS ON SERIAL MONITOR NO RESPOND "OK".

HOW WILL I KNOW THAT HC 06 BLUETOOTH MODULE IS STILL OK?

Arduino UNO R3 - HC 06
0 - RX --> Divider --> TX
1 - TX ---------------> RX
VCC 5V ----------------> VCC

code:

#include <SoftwareSerial.h>

SoftwareSerial mySerial(0, 1); // RX, TX

void setup()
{
Serial.begin(9600);
Serial.println("Enter AT Commands:");
mySerial.begin(9600);
}

void loop() // run over and over
{
if (mySerial.available()){
Serial.write(mySerial.read()); //Receive from hc06
}
if (Serial.available()){
mySerial.write(Serial.read()); //send to hc06
}

}
GRND ----------------> GRND

You are using the hardware serial ports D0,D1 but are running the bluetooth module under software serial. I don't know what pair of pins you use for software serial, there is probably something in the library examples, but it isn't D0,D1.

what should I do? I'm using Arduino UNO R3.

try pins 2,3, or use a programme which does the job with hardware serial