I’ve been trying to set up my Bluetooth module just to change the Baud Rate and the name.
I tried to change the serial baud rate to every one of them and when I try the AT command it won’t return anything in the Serial Monitor.
<I connected the Vcc to 5V, Tx to D10 and Rx to D11>
<I tried to connect Vcc to 3.3V as well>
Here is the Code:
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup() {
// Open serial communications and wait for port to open:
Serial.begin(9600);
mySerial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
Serial.println("Start Communicating");
}
void loop() { // run over and over
if (mySerial.available()) {
Serial.write(mySerial.read());
}
if (Serial.available()) {
mySerial.write(Serial.read());
}
}