George Kartsonas
Published

Industruino

Cost effective and highly reliable industrial automation solution using the power of Arduino.

IntermediateFull instructions provided2 hours13,357

Things used in this project

Hardware components

Arduino Yun
Arduino Yun
×1
4-CHANNEL RELAY CONTROLLER FOR I2C
ControlEverything.com 4-CHANNEL RELAY CONTROLLER FOR I2C
×1

Software apps and online services

Arduino IDE
Arduino IDE
Blynk
Blynk

Story

Read more

Code

Arduino YUN Blynk Code

Arduino
#define BLYNK_PRINT Serial


#include <Bridge.h>
#include <BlynkSimpleYun.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "Token Code From Blynk";


void setup()
{
  // Debug console
  Serial.begin(9600);

  Blynk.begin(auth);
  // You can also specify server:
  //Blynk.begin(auth, "blynk-cloud.com", 80);
  //Blynk.begin(auth, IPAddress(192,168,1,100), 8080);
}

void loop()
{
  Blynk.run();
}

Credits

George Kartsonas

George Kartsonas

1 project • 44 followers

Comments

Add projectSign up / Login