Hello, I'm playing with Arduino Zero and the JDY-19 bluetooth module (datasheet: https://robokits.download/downloads/RKI-4640%20Datasheet.pdf)
I tried sending some AT commands. By default, the baud rate is set to 9600. The RST pin is HIGH and I can correctly send the commands with this sample code:
Serial1.begin(9600);
while(!Serial1);
Serial1.println("AT+VER");
Serial1.flush();
String reply = Serial1.readString(); // OK, returns something like "JDY-19-Vxxxxx"
Then I wanted to change the baud rate to 115200. The datasheet is not really clear on this:
It seems that "11520" is just a typo and is should be "115200".
Also, it is written "Param: (1-9)" while the scale goes from 0 to 6.
Anyway..... I supposed that I should send "AT+BAUD0". I did it, and now I cannot communicate anymore with the module
I tried with Serial1.begin(115200);
but also 9600, 11520, 2400 and so on... but now Serial1.readString();
is always empty.
Do you know why? I'm worried that sending "BAUD0" was a bad idea. Any way to do a factory reset via hardware?