Good day!
Hardware: Arduino Mega 2560 + W5500
Smartphone OS: iOS
Blynk Library version: 1.0.1
#define BLYNK_TEMPLATE_ID "TMPLOq4wvVxk"
#define BLYNK_DEVICE_NAME "Outdoor Light"
#define BLYNK_AUTH_TOKEN "LHG48riEM0pUfhXB1-oPH04WD8BkrV18"
#define BLYNK_PRINT Serial
#define BLYNK_DEBUG
#define APP_DEBUG
#include <SPI.h>
#include <Ethernet2.h>
#include <BlynkSimpleEthernet2.h>
char auth[] = BLYNK_AUTH_TOKEN;
void setup()
{
Serial.begin(115200);
Blynk.begin(auth);
}
void loop()
{
Blynk.run();
}
Answer console after run MCU:
[0] Getting IP...
[3213] IP:192.168.111.68
[3214]
___ __ __
/ _ )/ /_ _____ / /__
/ _ / / // / _ \/ '_/
/____/_/\_, /_//_/_/\_\
/___/ v1.0.1 on Arduino Mega
[3223] Connecting to blynk.cloud:80
[35368] Connecting to blynk.cloud:80
[67512] Connecting to blynk.cloud:80
[99655] Connecting to blynk.cloud:80
[131800] Connecting to blynk.cloud:80
[163943] Connecting to blynk.cloud:80
[196087] Connecting to blynk.cloud:80
[228231] Connecting to blynk.cloud:80
[260374] Connecting to blynk.cloud:80
[292517] Connecting to blynk.cloud:80
[324662] Connecting to blynk.cloud:80
[356805] Connecting to blynk.cloud:80
[388948] Connecting to blynk.cloud:80
[421093] Connecting to blynk.cloud:80
[453236] Connecting to blynk.cloud:80
[485381] Connecting to blynk.cloud:80
[517524] Connecting to blynk.cloud:80
[549667] Connecting to blynk.cloud:80
[581811] Connecting to blynk.cloud:80
[613954] Connecting to blynk.cloud:80
[646098] Connecting to blynk.cloud:80
[678242] Connecting to blynk.cloud:80
[710385] Connecting to blynk.cloud:80
[742529] Connecting to blynk.cloud:80
[774673] Connecting to blynk.cloud:80
[806816] Connecting to blynk.cloud:80
[838961] Connecting to blynk.cloud:80
[871104] Connecting to blynk.cloud:80
Ping at blynk.cloud:
C:\>ping -t blynk.cloud
Обмен пакетами с blynk.cloud [46.101.217.214] с 32 байтами данных:
Ответ от 46.101.217.214: число байт=32 время=75мс TTL=46
Ответ от 46.101.217.214: число байт=32 время=87мс TTL=46
Ответ от 46.101.217.214: число байт=32 время=73мс TTL=46
Ответ от 46.101.217.214: число байт=32 время=70мс TTL=46
Статистика Ping для 46.101.217.214:
Пакетов: отправлено = 4, получено = 4, потеряно = 0
(0% потерь)
Приблизительное время приема-передачи в мс:
Минимальное = 70мсек, Максимальное = 87 мсек, Среднее = 76 мсек
Control-C
^C
C:\>
Device stay offline. Please, tell me what or where the mistake is?