Introduction: 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

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


10k resistor

power regulator 3,3v

Step 2: Connections


VCC +3,3v

CH-PD +3.3v

gpio13---- button (pulldown resistor)

GND ground

GPIO5 ground

Step 3: 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