0

I'm using Arduino Nano R3(old bootloader) and Serial(hardware serial).

Arduino -> HM-10

5V -> 5V

GND -> GND

RX -> TX

TX -> RX with (1k/2k voltage divider)

Code is below

#include <Arduino.h>

void setup()
{
    delay(100);

    Serial.begin(115200);
    pinMode(13, OUTPUT);
}

void loop()
{
    Serial.println("0|15|2|100");
    digitalWrite(13, !digitalRead(13));
    delay(2000);
}

Baud rate on HM-10 is 115200bps, so that is not problem. I've connected with my phone and I don't see any data from Arduino Nano, but if I send command from phone(eg. AT+VERS) I get V703. AT respondes with AT+OK. Where is the problem?

HM-10 was tested with USB2Serial converter and it works fine. Also, code from above works fine on STM32F103C8 board.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.