ESP8266-12 Blynk Wireless Simple Virtual Led

7,876

25

3

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)

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

Be the First to Share

    Recommendations

    • Anything Goes Contest 2021

      Anything Goes Contest 2021
    • One Board Contest

      One Board Contest
    • Photography Challenge

      Photography Challenge

    3 Comments

    0
    AndersonL9
    AndersonL9

    5 years ago

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

    0
    catoplepa
    catoplepa

    6 years ago

    Hi iolanda1

    I'm glad I helped

    0
    iolanda1
    iolanda1

    6 years ago

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