Hello Guys
I am working on the HC-05 bluetooth module and Arduino UNO.
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup() {
Serial.begin(9600);
pinMode(9,OUTPUT); digitalWrite(9,HIGH);
Serial.println("Enter AT commands:");
mySerial.begin(38400);
}
void loop()
{
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
mySerial.write(Serial.read());
}
This is the code I am using.
As wire connection is really simple, I am not adding it.
Once I upload the code and open the serial monitor with Baudrate 38400 and Both NL&CR option,
what I can see it "⸮x⸮⸮x⸮⸮x⸮xxxx⸮⸮" This very weird characters. If I change the baud to 9600, I can see
"Enter AT commands" this message. But, I cannot give any AT Commands.
Please advise me guys. Thanks