BT05 - HM-10 bluetooth module

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.

  1. I set the RX and TX according to the sketch.
  2. I upload the sketch to the Arduino Uno
    3 I open the serial monitor.
  3. I make sure that the baud rate is 9600.
    5 I sent AT+NAMELopez
  4. 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.
  5. 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?

Have you checked the wiring Rx to Tx and TX to Rx?

Hi, I made sure that I matched whatever the scketch called out. Some of the sketch designate the RX to pin 8 and TX to pin 9. Some are RX to TX and TX to RX. There are several sketches to do this, but I haven't been able to.

You code is for connection a BT module to pins 8 & 9.
What is your actual connections?

No, all are Tx to Rx and Rx to Tx, whether they say it or not. As you have called it, Arduino Rx is pin 8, so make sure Bluetooth Tx is connected to it.

What sketch do you use?

RX to pin 8 and TX to pin 9. I'll shoot a quick video and post it so we can all see what I'm doing.

Yes. I'll post a video later showing everyone what I'm doing.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.