I try to connect my arduino uno with a HM-10 bluetooth shield. I using the example code but there is always shown a login timeout. Please can you help me?
Code
#define BLYNK_DEBUG
#define BLYNK_PRINT Serial
#include <BlynkSimpleSerialBLE.h>
#include <SoftwareSerial.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "fa73e531ja4e4149a48j55f9cdf695a62";
SoftwareSerial SerialBLE(10, 11); // RX, TX
void setup()
{
// Debug console
Serial.begin(9600);
SerialBLE.begin(9600);
Blynk.begin(SerialBLE, auth);
Serial.println("Waiting for connections...");
}
void loop()
{
Blynk.run();
}
Serial Log:
[0]
___ __ __
/ _ )/ /_ _____ / /__
/ _ / / // / _ / '/
///_, /////_
/__/ v0.4.3 on Arduino Uno
[82] Free RAM: 1616
[5001] Connecting...
[5001] <[02|00|01|00] fa73e531ja4e414
[5062] <9a48j55f9cdf695a62
[10122] Connecting...
[10122] <[02|00|01|00] fa73e531ja4e414
[10183] <9a48j55f9cdf695a62
[15243] Connecting...
[15243] <[02|00|01|00] fa73e531ja4e414
[15304] <9a48j55f9cdf695a62
[17364] Login timeout
[20364] Connecting...
[20364] <[02|00|01|00] fa73e531ja4e414
[20425] <9a48j55f9cdf695a62
[22486] Login timeout