ESP8266 ESP-12(Standalone)+ Blynk 101




Hello everyone.. This is my first instructable! I am new to Arduino. I want to share some of my experiences as a newbie.
I got an ESP8266 board. more info here :
I want to use the board as standalone and use the Arduino IDE to program it.


1. ESP8266 board
2. USB-TTL/FDTI adapter 3.3V
2. Smartphone (IOS/Android)
3. Dupont wires
4. LED
5. Breadboard
6. Power Source 3.3V.. Note: separate power source required for ESP board

Step 1: The Software: Arduino IDE

1.Download the latest IDE which comes with ESP8266 compatibiliy.

2.After installing, add ESP support to the IDE
Go to File - Preferences - in Preferences window go to "additional boards manager URL's" where you need to paste the following link: adafruit link down(thx FrankHerrmann)

use this instead

- Click OK button.- Go to Tools - Boards - > Boards manager, in the Boards manager window select "contributed" from the TYPE drop - Select ESP8266 by ESP8266 community forum.
Press Install.
Before programming always remember to change board as ESP8266.

3. Also, I recommend adding the following libraries:

ESP8266 Arduino add-on by Sandeep mistry; follow instructions here
Add the blynk library
If you do not know how to add library, go here

Step 2: The Blynk App

1.Download the app corresponding to your samartphone platform
Apple IOS
Google Android

2. Instructions on how to setup the App
-Open Blynk app. Add widgets. You can hold and drag them to reposition. Tap once to get to Widget Settings. The main thing you need to set is PIN you want to control
-Paste Auth Token to your sketch and upload it to hardware. Press PLAY in the app.

3. Remember to select ESP8266 as board in Blynk app

Step 3: Flash/Power an LED With Blynk

Setup hardware as shown in pic...

Connect the USB-TTL to pc and upload sketch to ESP-12
Note: GPIO0 should be LOW and CH_PD and RST should be HIGH for first time flashing the board

GPIO0 should be LOW when uploading sketches
Remember use a 3.3V USB-TTL
connect RX of board to TX of usb and TX of board to RX
edit auth code, ssid and pass

Step 4: Results

Credits to
Tracker J
Sandeep Mistry

2 People Made This Project!


  • Optics Contest

    Optics Contest
  • Plastics Contest

    Plastics Contest
  • Make it Glow Contest 2018

    Make it Glow Contest 2018

20 Discussions


Please check the Adafruit link, no esp8266 in this Boards json file. I used:

1 reply

1 year ago

Very nice article, indeed Blynk is the only development framework that can offer a friendly environment for non-programmers. It still remains a problem with finding a decent 3.3v stable power solution. A similar example can be found in the link below. Thanks!

ESP8266 Blynk IoT project


2 years ago

"Setup hardware as shown in pic..."

Unclear... can you please send us a picture more in focus?


2 years ago


2 years ago

Hi I have installed the Node MCU firmware as recommended and have tried to select the NodeMCU 0.9 (and also 1.0) under Boards. Baud rate set to 115200. But I do not get any response on the serial monitor when typing 'AT'. What could I be doing wrong? Thanks, Adi


Reply 2 years ago

Yeah . Your router settings. just replace values


2 years ago

This thing comes with preloaded library. I am having trouble reflashing it. I Searched the whole internet for this and didn't find solution. Can you tell me the procedure, tools, connections and step to flash it.?

1 reply

Reply 2 years ago

if it comes with preloaded chinese firmware first install nodemcu firmware. trying to program directly with arduino won't work.

if you already have node mcu on it just follow step one in the tutorial i made. adding esp library and selecting proper board. arduino ide will flash it


3 years ago

Thanks for the detailed steps, could follow just fine and it worked. Had a quick question is there any way I can avoid the internet connection and connect directly to ESP ? So i guess something like the ESP will be configured as an access point, phone will be connected to the ESP access point and the Blynk app controls the ESP's i/o like a remote. Appreciate help.

1 reply

Reply 3 years ago

i want to do this myself but its currently not possible. From what i understand, this requires major changes on app end dur to the fact that esp uses tcp while app uses ssl. check my other instructables for a workaround. its a rather crude method and no blynk used. but gets the job done


3 years ago

Thanks for your tutorial.

How to read the photoresistor? It seems its connected via the ACC-Pin

1 reply

Reply 3 years ago

hey. thanks fot the review. you can read ldr value using analog pin ao in blink directly without any other code.

Toshi Bass

3 years ago

Thanks for this great instructable easy to follow and worked out of the box and as its the first thing I tried its given me some insight into how blynk works, however I noticed one surprising thing, when I toggle gp5 & gp13 on the esp it also toggles gpio5 & gpio13 on my raspberry pi, didn't expect that ?

I guess I can try to get over it by toggling a couple of virtual pins and modifying the esp script to switch onboard gpio pins but I am confused why its happening ?



3 years ago on Introduction

Finally - progress. I found a espflasher that WORKS. It has a program XTCOM_UTIL.EXE and FOUR .bin files!!!

Please download these bins to the specified address.

Bin Address

Reconnect com port and reset the board between uploading the files.

With a terminal program, I get 'ready', but still no luck with the AT commands

Hookup is normal, but with GPIO2 being left unconnected.

With Arduino I have 7 of the 9 LEDs on the 12-e board blinking! (2,4,5,12,13,14,)

Onward with Arduino..I'm too lazy to tinker with the LUA stuff. :)