Hi,I am going to connect with esp8266 shield to blynk. It connected to the wifi but it not to the blynk. Plaese help me.
Serial monitor:
[9]
___ __ __
/ _ )/ /_ _____ / /__
/ _ / / // / _ / '/
///_, /////_
/__/ v0.5.3 on Arduino Mega
Give Blynk a Github star! => https://github.com/blynkkk/blynk-library
[676] Connecting to ACTIONTEC
[3726] AT version:1.1.0.0(May 11 2016 18:09:56)
SDK version:1.5.4(baaeaebb)
Ai-Thinker Technology Co. Ltd.
Jun 13 2016 11:29:20
OK
[8860] +CIFSR:STAIP,“192.168.1.13”
+CIFSR:STAMAC,“68:c6:3a:de:51:f3”
[8867] Connected to WiFi
Code:
#define BLYNK_PRINT Serial
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>
char auth[] = "71d9d19b17be4da98c3065aa220116f5";
char ssid[] = "ACTIONTEC";
char pass[] = "";
#define EspSerial Serial1
#define ESP8266_BAUD 115200
ESP8266 wifi(&EspSerial);
BlynkTimer timer;
void myTimerEvent()
{
Blynk.virtualWrite(V5, millis() / 1000);
}
void setup()
{
Serial.begin(9600);
EspSerial.begin(ESP8266_BAUD);
delay(10);
Blynk.begin(auth, wifi, ssid, pass);
timer.setInterval(1000L, myTimerEvent);
}
void loop()
{
Blynk.run();
timer.run();
}