email: alihighlands@orange.mu
I have downloaded Blynk app. from play store. Hope it’s the latest.
Setup: One Arduino Uno. Trying to control output. If it works, I will start a home automation system at my place.
Sketch: Libraries are included as needed and
char auth[] = “9fda2b463c384ca0b61ef9e3ac57b7f1”;
IPAddress server_ip (10, 0, 0, 10);
//EthernetServer server(8442);
// 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, 100, 12);
IPAddress dns_ip ( 8, 8, 8, 8);
IPAddress gateway_ip ( 192, 168, 100, 1);
IPAddress subnet_mask(255, 255, 255, 0);
void setup()
{
Serial.begin(9600);
pinMode(11, OUTPUT);
pinMode(12, OUTPUT);
pinMode(13, OUTPUT);
//Blynk.begin(auth, server_ip, 8442, arduino_ip, dns_ip, gateway_ip, subnet_mask, arduino_mac);
// Or like this:
Blynk.begin(auth, “cloud.blynk.cc”, 8442, arduino_ip, dns_ip, gateway_ip, subnet_mask, arduino_mac);
}
void loop()
{
Blynk.run();
}