How send AT Command in HM10 Bluetooth Module?

I buy two HM10 Bluetooth Module from Amazon

https://www.amazon.in/dp/B07DDPD229/ref=cm_sw_r_cp_apa_i_mfCQBbAX88T38

. I make connection with Arduino mega.

Vcc - 5V
Ground - Ground
11Pin of Arduino(TX) by voltage divider to RX of Bluetooth Module
10 Pin of Arduino(RX) to TX of Bluetooth Module

I select default baud rate of HM 10 Bluetooth Module is 9600. I upload this code

#include <SoftwareSerial.h>
#define RX 10
#define TX 11
SoftwareSerial HM10(RX,TX);

void setup() {
  HM10.begin(9600);
  Serial.begin(57600);
  while (!Serial) {
  HM10.println("Connect Serial Commnication");
  }
Serial.println("Goodnight moon!");
HM10.println("Hello, world?");
}

void loop() {
  if (HM10.available()) {
     delay(100);
    Serial.write(HM10.read());
  }
  while (Serial.available()) {
    HM10.write(Serial.read());
  }
}

in Arduino mega using smartphone with Arduino droid IDE and I hold reset button of Bluetooth Module. And power it . try to send AT command. I send "AT" but I not received any response I try again and again but I not received any response from Bluetooth Module. I watch many video in YouTube. I find I need to connect Enable pin to 5V I try again same process circuit is same only change I connect Enable pin to 5V and upload code again and when uploading is finished I hold reset button and power Bluetooth Module and try to send AT command I send again "AT" but no response from Bluetooth Module. When I try to send and received data from Smartphone using Bluetooth Module so it work correctly but it not respond in "AT" Command.I search many website in Google I found "BT05 is clone version of HM10" but I want to pair with two HM10 Bluetooth Module so I need to send "AT" Command but in my both HM 10 Bluetooth Module "AT" Command not respond.

So help me how I send "AT" Command in my Bluetooth Module or How I pair my two Bluetooth Module.

I believe the enable pin and the button are both redundant. HM-10 is in AT mode by default, and baud rate for config is 9600.

What I do for pairing two Bluetooth Module together?

http://www.martyncurrey.com/hm-10-bluetooth-4ble-modules/

Finally after many research I successfully Send AT command. I find problem in my Arduino nano board. If you face same problem so
you check this page.http://forum.arduino.cc/index.php?topic=434951.0

OMg.... thank you so much i have been going through a very stressful two days trying to figure out how to send at commands but it finally worked, feels good thank you.

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