I’m having a heck of a time here. Here’s what I am having problems with. I have an Arduino Uno with Ethernet Shield hooked up and I can see it on my router. But the Blynk app says that its not hooked up to the network. Here’s a copy of my sketch.
#include <ESP8266_Lib.h>
#include <BlynkSimpleEthernet.h>
#include <SPI.h>
#include <Dhcp.h>
#include <Dns.h>
#include <Ethernet.h>
#include <EthernetClient.h>
#include <EthernetServer.h>
#include <EthernetUdp.h>
#include <ESP8266_Lib.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = “25dd6baa21d74f329246a2102e979d4a”;
IPAddress server_ip (50, 93, 150, 130);
// Mac address should be different for each device in your LAN
byte arduino_mac[] = { 0xDE, 0xED, 0xBA, 0xFE, 0xFE, 0xED };
IPAddress arduino_ip ( 192, 168, 1, 101);
IPAddress dns_ip ( 4, 2, 2, 2 );
IPAddress gateway_ip ( 192, 168, 1, 1 );
IPAddress subnet_mask(255, 255, 255, 0);
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, server_ip, 8443, arduino_ip, dns_ip, gateway_ip, subnet_mask, arduino_mac);
// Or like this:
//Blynk.begin(auth, “server.org”, 8443, arduino_ip, dns_ip, gateway_ip, subnet_mask, arduino_mac);
}
void loop()
{
Blynk.run();
}
Any help would be greatly appreciated. I have an Asus RTAC47U router.