Introduction: Blynk and Module ESP8266 With Arduino UNO

The ESP8266 module is a module that allows our micro controller to connect to a WiFi network or to create an access point for our devices.

The application that we will use for our form is "Blynk" downloaded for free from the Play Store. Through "Blynk" we can control the switching on and off of an LED through our WiFi network.

Step 1: Materials and Warnings

Used materials:

  • Arduino UNO
  • ESP8266
  • An Android device
  • Cables and a breadboard

It is important to point out before mounting the circuit module that ESP8266 works with 3.3V voltages higher then you risk burning it.

Step 2: Electrical Connections

ESP8266:____________ Arduino:

GND -------------------------- GND

GP2 -------------------------- Non collegato

GP0 -------------------------- GND

RXD -------------------------- Pin 3

TXD -------------------------- Pin 2

CHPD ------------------------ 3.3V

RST -------------------------- Non collegato

VCC -------------------------- 3.3V

LED:____________ Arduino:

Anode -------------------------- GND

Cathode ------------------------Pin 13


Step 3: Sketch

After making the connections we need to download the APP for Android and the library for use with Arduino then go on http://www.blynk.cc/getting-started/

Now that we have the APP installed on our device we should install the library so we download the .zip file and unzip in the directory: C: \ Users \ yourusername \ Documents \ Arduino \ libraries After installing the libraries we open the IDE Aduino we open an empty sketch and copy the sketch from this site:

http://elettrizzatidiy.blogspot.it/2016/07/blynk-e...

Step 4: Blynk!

Now we need to download Blynk from google play.

Open Blynk from your smartphone and create our first program as in pictures.

Send via E-mail the Auth Token Code.

Now that we have created our own mini program we would modify the sketch nell'Arduino IDE, so we're going to copy our authtoken in the string:

auth char [] = "YourAuthToken";

in void setup () we find the string:

Blynk.begin (auth, wifi, "SSID", "pass");

it replaces the SSID, the name of our WiFi network and pass the corresponding password. We just now that load our program on Arduino and start the application!

For more projects vist our blog on:

http://elettrizzatidiy.blogspot.it/

and our facebook page on:

https://www.facebook.com/elettrizzati

Sorry for the bad english but we have translated with Google Translate an Italian Article

Comments

author
matys292 (author)2017-07-13

Why havent you copied program in instructions? Code is not acessible and the instructions is useless!

author
rahul surana (author)2017-06-06

the codes have been taken down from elettrizzatidiy.blogspot can u send me codes on my email id rasuru04@gmail.com

author
NihaludeenK (author)rahul surana2017-06-30

do u get the code..

author
NihaludeenK (author)2017-06-30

can u send me the arduino code to this mail id:

nihaludeenkaisome48@gmail.com

author
kartik00013 (author)2016-10-14

how to install libraries

author
kartik00013 (author)2016-09-29

Its showing error compiling while verifying the sketch but it is also showing 1 file included

author
mohir (author)2016-07-28

The library in the sketch can not be found anywhere :(

#include <ESP8266_Lib.h>

please help

author
ubaz27 (author)mohir2016-09-25

download ESP8266.h library and Rename it to #include <ESP8266.h>

it worked for me

author
mohir (author)ubaz272016-09-25

Thank you,

by now realized i did not download the whole lib,

so now all is working fine

author
GabrielC115 (author)2016-08-30

Help me please?

i copied the sketch, and found out that the library was missing,

so i found a esp8266 library on this website: https://github.com/blynkkk/blynk-library/releases/tag/v0.3.8

then when i uploaded everything, my app says the arduino uno is not connected, what should i do thanks

Sincerely Gabriel

author
GabrielC115 (author)2016-08-29

i dont know what you are taking:(

author
DIY Hacks and How Tos (author)2016-07-25

Great intro to Arduino project. Projects like this are a great way to teach people for to combine different modules together.