Introduction: ESP8266-12 Blynk Wireless Simple Virtual Led

Picture of ESP8266-12 Blynk Wireless Simple Virtual Led

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

Picture of Materials

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


10k resistor

power regulator 3,3v

Step 2: Connections

Picture of Connections


VCC +3,3v

CH-PD +3.3v

gpio13---- button (pulldown resistor)

GND ground

GPIO5 ground

Step 3: Blynk App

Picture of Blynk App



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


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


by catoplepa


AndersonL9 (author)2016-04-06

HI, can you show how to programming the ESP8266 with an FT232? Thank you

catoplepa (author)2015-11-08

Hi iolanda1

I'm glad I helped

iolanda1 (author)2015-11-08

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!!

About This Instructable




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