loading

This simple project is to show how you can activate a virtual LED in Blynk.

Pressing the button turns on the virtual LED on the app Blynk, releasing the button turns off the LED

It will be useful for applications such as PIR sensor or reed sensor and many others.

Step 1: Materials

ESP8266-12 (esp8266-7, ...... , esp8266-12e)

button

10k resistor

power regulator 3,3v

Step 2: Connections

ESP8266-12

VCC +3,3v

CH-PD +3.3v

gpio13---- button (pulldown resistor)

GND ground

GPIO5 ground

Step 3: Blynk App

www.blynk.cc

------------------------------------------

store

app Blynk Apple Store

Blynk Google Play store

------------------------------------------

configure blynk

create new project ( use hardware model esp8266 )

generate AUTH TOKEN send E-mail TOKEN ( copy TOKEN in the esp8266 sketch)

in the app Blynk use Led

Step 4: Sketch

sketch

blynk library

----------------------------------------------------------
to programming the ESP8266-12, I use ide arduino 1.6.5 and CP2102 3.3V USB To UART Serial Interface Module Adaptor ( do not connect the power of the CP2102 to esp8266-12).

----------------------------------------------------------

SP8266 sketch change the sketch in the following lines with your data

char auth[] = "xxxxxxxxxx"; //insert here your token generated by Blynk

Blynk.begin(auth, "ssid", "password!"); //insert here your SSID and password

----------------------------------------------------------

Step 5: Thanks

thanks

by catoplepa

<p>HI, can you show how to programming the ESP8266 with an FT232? Thank you</p>
<p>Hi iolanda1</p><p>I'm glad I helped</p>
<p>Hey there thank you for this great info, this is the first time that works for me ,I couldn't find and example at the Blynk website but yours which works great once again thank you!!</p>

About This Instructable

5,949views

25favorites

License:

More by catoplepa:ESP8266-12 blynk wireless simple virtual led ESP8266-12 blynk wireless temperature LM35 sensor ESP8266-12 blynk wireless temperature, humidity DHT22 sensor 
Add instructable to: