Getting started with idIoTware 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.

IntermediateFull instructions provided1 hour2,076
Getting started with idIoTware and Blynk

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
idIoTware Shield
idIoTware Shield
×1
USB-A to B Cable
USB-A to B Cable
×1
ESP8266 ESP-01
Espressif ESP8266 ESP-01
ESP-01 should be programmed with a specific firmware. Follow guidelines here http://www.instructables.com/id/Connect-to-Blynk-using-ESP8266-as-Arduino-Uno-wifi/
×1
Generic Jumper (0.1")
Generic Jumper (0.1")
×2
9V 1A Switching Wall Power Supply
9V 1A Switching Wall Power Supply
×1

Software apps and online services

Arduino IDE
Arduino IDE
Blynk
Blynk

Story

Read more

Schematics

idiotware-shield

Code

Getting started with idIoTware Shield and BLYNK

Arduino
please install libraries ESP8266_Lib.h and BlynkSimpleShieldEsp8266.h to make communication between arduino and Blynk app. Libraries and documentation can be downloaded here https://github.com/blynkkk/blynk-library/releases
/*
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();
}

Credits

Ravi Parmar

Ravi Parmar

13 projects • 42 followers
I am an Electronics and telecom graduate engineer with passion in embedded technology and making new stuff .
Rupin Chheda

Rupin Chheda

35 projects • 83 followers
Resident Maker at CuriosityGym! Electronics Engineer, CAD Modeller, Educator
Siddhesh Murudkar

Siddhesh Murudkar

6 projects • 12 followers
Jehangir Khajotia

Jehangir Khajotia

14 projects • 19 followers

Comments