hc-05 garbled AT command response


i using hc-05 described in this link

i have gotten programming mode.  respond @ commands response garbled.  commands work, if send at+reset resets bt module , kicks out of programming mode.   i have tried changing baud rate every available 1 responds on 38400. have made hardware serial , software serial baud rates same have made com port on pc same 38400 baud rate garbled.  see attached screen shots example

arduino code
code: [select]
#include <softwareserial.h>

softwareserial btserial(10, 11); // rx | tx

void setup()
{

  serial.begin(38400);
  serial.println("enter @ commands:");
  btserial.begin(38400);  // hc-05 default speed in @ command more
}

void loop()
{

  // keep reading hc-05 , send arduino serial monitor
  if (btserial.available())
    serial.write(btserial.read());

  // keep reading arduino serial monitor , send hc-05
  if (serial.available())
    btserial.write(serial.read());
}

this might down software serial, gets unreliable @ speed


Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > hc-05 garbled AT command response


arduino

Comments