Getting started with Idiotware Shield and Blynk

/**/

Getting started with Idiotware Shield and Blynk

In this project, I am going to demonstrate how you can turn on/off LED on idIoTware shield with the help of Blynk app.

Things used in this project

Hardware components

Software apps and online services

  • Arduino IDE
  • Blynk

Story

In this project we are going to learn how to use the idIoTware Shield and an Arduino Uno with Blynk.

What is Blynk?

Blynk is a Platform with iOS and Android apps to control Arduino, Raspberry Pi over the Internet. It’s a digital dashboard where you can build a graphic interface for your project by simply dragging and dropping widgets.

It’s really simple to set everything up and you’ll start tinkering in less than 5 mins.

Blynk is not tied to some specific board or shield. Instead, it’s supporting hardware of your choice. Whether your Arduino or Raspberry Pi is linked to the Internet over Wi-Fi, Ethernet or new ESP8266 chip, Blynk will get you online and ready for the Internet Of Your Things.

Configuring Blynk App

You need to have an iOS/Android device available to you, and install the Blynk app from the app store.

For more info on Blynk app visit http://docs.blynk.cc/

After installing, you’ll need to sign up, and create a New Project in Blynk App. Follow the steps below (use the Left-Right arrows to navigate):

Configuring Arduino IDE and idIoTware shield

Schematics

Code

/*
Getting started with idIoTware Shield and BLYNK.
Attention: Please install all libraries from our Github Repository to enable this example to run.

In this example we are using ESP8266-01 Wifi Module.

Blynk is a platform with iOS and Android apps to control Arduino, Raspberry Pi and the likes over the Internet. You can easily build graphic interfaces for all your projects by simply dragging and dropping widgets.

Downloads, docs, tutorials: http://www.blynk.cc Blynk community: http://community.blynk.cc

To send data from Blynk to arduino or get data from arduino to blynk app you need to install Blynk app on your smartphone, create account to log in to the app then you will get a unique token number then use that token number in this code to create your own project.

In this example we have used ESP8266_Lib.h and BlynkSimpleShieldEsp8266.h library to make communication between arduino and Blynk app

*/
#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[] = "xxxxxxxxxxxxxxxxxxxx";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "abcd";
char pass[] = "**********";

// Hardware Serial on Mega, Leonardo, Micro...
#define EspSerial Serial

// or Software Serial on Uno, Nano...
#include <SoftwareSerial.h>
SoftwareSerial debugSerial(10, 9); // RX, TX

// Your ESP8266 baud rate:
#define ESP8266_BAUD 9600

ESP8266 wifi(&EspSerial);

void setup()
    {
      // Set console baud rate
      debugSerial.begin(9600);
      delay(10);
      // Set ESP8266 baud rate
      EspSerial.begin(ESP8266_BAUD);
      delay(10);

      Blynk.begin(auth, wifi, ssid, pass);
      strip.begin();
      strip.show();
    }


             

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

Video