I am having problems connecting to the blynk servers using an ESP8266 as a shield for arduino uno:
I am getting the following response in the serial monitor:
[19] Blynk v0.3.7 on Arduino Uno
[520] Connecting to AKs
[5671] IP: +CIFSR:STAIP,“192.168.0.57”
+CIFSR:STAMAC,“5c:cf:7f:81:9f:72”
OK
[5806] Connected to WiFi
Nothing happens afterwards and on my mobile application it says your arduino UNO is not in network!
Please help
Thanks in advance!
Code used:
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "***";
// Hardware Serial on Mega, Leonardo, Micro...
//#define EspSerial Serial1
// or Software Serial on Uno, Nano...
#include <SoftwareSerial.h>
SoftwareSerial EspSerial(2, 3); // RX, TX
// Your ESP8266 baud rate:
#define ESP8266_BAUD 9600
ESP8266 wifi(&EspSerial);
void setup()
{
// Set console baud rate
Serial.begin(9600);
delay(10);
// Set ESP8266 baud rate
EspSerial.begin(ESP8266_BAUD);
delay(10);
Blynk.begin(auth, wifi, "***", "***");
}
void loop()
{
Blynk.run();
}