HC-05 Not working with Blynk!

Arduino Nano with HC-05
Android 5.1.1
Blynk Server
Blynk Library 5.0

My Code:


// You could use a spare Hardware Serial on boards that have it (like Mega)
#include <SoftwareSerial.h>
SoftwareSerial DebugSerial(2, 3); // RX, TX

#define BLYNK_PRINT DebugSerial
#include <BlynkSimpleSerialBLE.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "************";

void setup()
  // Debug console

  DebugSerial.println("Waiting for connections...");

  // Blynk will work through Serial
  // 9600 is for HC-06. For HC-05 default speed is 38400
  // Do not read or write this serial manually in your sketch
  Blynk.begin(Serial, auth);

void loop()

I am just using a switch widget to toggle onboard LED. But it’s not working…! I connected the HC05s tx rx vice versa to the Nano’s Hardware Serial Pins. The HC-05s Onboard LED blinks 1 time per maybe a second before connecting after connecting it blinks twice per 5 seconds…I tried to put it in AT Command Mode but I wasn’t really able to…So what do I do…? :sob:

First, you need to know how to do this (Google it if you don’t), so that you can set the BAUD rate of the BT module… then match that rate in your sketch…

If using Serial to connect the module to the Arduino (pins 0 &1 - and only if not plugged into the USB at same time) then you can try 115200.

Otherwise you need to use SoftwareSerial, whatever other pins chosen, 9600, and adjust your sketch to use that SoftwareSerial port instead of Serial for the Blynk connection.

Search this site for similar BT/BLE posts… there are very many :wink:

It’s still not switching in AT Command Mode! I used this guide: http://www.instructables.com/id/Modify-The-HC-05-Bluetooth-Module-Defaults-Using-A/

And its blinking rapidly… :sob::sob::sob::sob::sob::sob::sob: