Hello!!
Recently I got my HM 10 module and I started exploring it's AT commands.
But accidentally I set the baud rate to 38400 using AT+BAUD2.
Now I am unable to use any AT commands.
some random characters get displayed.
Below is the code I used.
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup() {
Serial.begin(19200);
Serial.println("Enter AT commands:");
mySerial.begin(9600);
}
void loop()
{
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
mySerial.write(Serial.read());
}
I also tried to factory reset it by setting reset b pin to gnd but that too didn't work.
Need help here!!!!!
when you tried the HM-10 at 38400baud did you change the Serial Monitor baudrate?
I suggest changing it to 115200baud
you may have problems with SoftwareSerial at 38400baud
try AltSoftSerial or move to a board with hardware serial ports, e.g. Mega