loading

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

how to install libraries
Its showing error compiling while verifying the sketch but it is also showing 1 file included
<p>The library in the sketch can not be found anywhere :(</p><p>#include &lt;ESP8266_Lib.h&gt;</p><p>please help</p>
<p>download ESP8266.h library and Rename it to #include &lt;ESP8266.h&gt;</p><p>it worked for me</p>
<p>Thank you,</p><p>by now realized i did not download the whole lib,</p><p>so now all is working fine</p>
<p>Help me please?</p><p>i copied the sketch, and found out that the library was missing,</p><p>so i found a esp8266 library on this website: https://github.com/blynkkk/blynk-library/releases/tag/v0.3.8</p><p>then when i uploaded everything, my app says the arduino uno is not connected, what should i do thanks</p><p>Sincerely Gabriel</p>
<p>i dont know what you are taking:(</p>
<p>Great intro to Arduino project. Projects like this are a great way to teach people for to combine different modules together.</p>

About This Instructable

3,224views

32favorites

License:

More by ElettrizzatiD:Arduino and LabVIEW  Blynk and module ESP8266 with Arduino UNO 
Add instructable to: