I've been trying to change the Baud Rate and the Name of a BT05 - HM-10 bluetooth module and can not do it. I've tried this sketch.
`#include <SoftwareSerial.h>
SoftwareSerial miBT(8,9);
void setup(){
Serial.begin(9600);
Serial.println("Listo");
miBT.begin(9600);
}
void loop(){
if (miBT.available())
Serial.write(miBT.read());
if (Serial.available())
miBT.write(Serial.read());
}`
This is what I did and the module will not keep the new settings.
- I set the RX and TX according to the sketch.
- I upload the sketch to the Arduino Uno
3 I open the serial monitor. - I make sure that the baud rate is 9600.
5 I sent AT+NAMELopez - In some of the sketches, nothing is returned, in this sketch , (Serialln_SerialOut_HM-10_01) it returns what I imput.
7 I unplug the Uno
8 I plug it back up. - I search for the bluetooth module with my phone and the name has not changed.
Does anyone have a sketch to do this that I can use?