this is driving me nuts!
I have an Arduino Nano connected to the HM-10 I can send AT and receive OK but any other command and i get no response! I can connect to it via bluetooth.
When sending the AT commands I'm not connected and I don't have any line termination and the red LED is flashing.
I try to send AT+BAUD2 and i get nothing back same for AT+VERS?
But i send AT and i get OK so the serial interface is ok!
I once managed to get it to take a name change but cannot even get it to do that again!
AT+NAMETESTNAME
on other boards you need to bring a pin low to enter AT mode this board has a BRK pin but in the data sheet it doesn't mention needed to use it... the HM-10 is on the per soldered logic level board that only has 6 pins:
Status
VCC
GND
TXD
RXD
BRK
Any help please!?
#include <SoftwareSerial.h>
SoftwareSerial BTSerial(11, 10); // RX | TX
void setup()
{
Serial.begin(38400);
Serial.println("Enter AT commands:");
BTSerial.begin(9600); // HM-10 default speed in AT command more
}
void loop()
{
// Keep reading from HC-05 and send to Arduino Serial Monitor
if (BTSerial.available())
Serial.write(BTSerial.read());
// Keep reading from Arduino Serial Monitor and send to HC-05
if (Serial.available())
BTSerial.write(Serial.read());
}