Maker Pro
Maker Pro

bluetooth hc-05 doesnt work with arduino (its on, but no response)

i am using this guide: http://www.carobot.cc/how-to/hc-05-guide/
my goal is communicating with the hc-05 as it says in the guide.
whats happening now is the bluetooth isnt getting/responding to the messages i send. there are the messages in the code and also i send messages from the arduino IDE.
i know its on, and i can "pair" with it with my phone, but cant "connect" like usual bluetooth stuff. i also tried using a bluetooth terminal android app, but still i didnt get any answer.

heres the code i have uploaded:
#include <SoftwareSerial.h>
SoftwareSerial BT(17, 16);
void setup()
{
BT.begin(9600);
Serial.begin(9600);
}
void loop()
{
BT.write("AT");
BT.print("AT");//trying this too
if (BT.available()){
Serial.println("hc-05 got the message!");
Serial.write(BT.read());
}
if (Serial.available()){
BT.print(Serial.read());
}
}
i will appreciate any sort of help.
 
Last edited:
Top