ESP8266 Mini Tutorial





Introduction: ESP8266 Mini Tutorial

In this first introduction to the ESP8266 I will show you what this 5$ wifi board can do and how to handle it properly.

Step 1: Watch the Video!

The video gives you a pretty good idea about what the ESP8266 is and how to handle it. But here I will provide you with some additional info about this board.

Step 2: Where to Buy It?

Here are links for the ESP8266 board on Amazon and Ebay:


Version 1:

Version 3:

Version 1:

Version 3:

Version 1:

Version 3:

Step 3: Useful Sites!

Here is a list of useful sites which can help you when you work with this board:

Commands list, CustomFW, Uploading tool:
Update tutorial:

Datasheet (english):

ESP8266 Forum:

Step 4: Awesome Projects!

Here is a list with awesome projects which involves the ESP8266:

Weather station:
Email notifier:

Online LED dimmer:

Step 5: Make Your Own Projects!

I will definitely find a good project for this little board in the futute. And I hope that so do you.

Feel free to check out my Youtube channel for more awesome projects:
You can also follow me on Facebook, Twitter and Google+ for news about upcoming projects and behind the scenes information.



    • Epilog Challenge 9

      Epilog Challenge 9
    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest

    We have a be nice policy.
    Please be positive and constructive.




    Hi, This video does not work

    good video tutorial


    The only problem I'm facing with 8266 is that the soft AP is restricted to 4, which means simultaneously only 4 users can be connected.

    Please suggest what should I do if the numbers of users to be connected is more than 50.

    Thank you


    Kann auch auf Deutsch fragen stellen ?


    I finally got the 8266 in the mail, but can't get it to respond to "AT\r\n" (or AT\r, or AT\n, for that matter). I powered it with two alkaline AA batteries (which gives 3.2V to the circuit according to my scope), pulled the chip select pin up to VCC with a 3K resistor, and connected the GND, RX and TX pins to the GND, TX and RX pins of a TTL-level serial unit (BrainLink) set to 115200,8,N,1.

    The red LED is on. The blue LED is faintly glowing. But I am not reading any response to the "AT\r\n". I hooked up an oscilloscope, and there is data being sent to the 8266's RX pin, but the 8266's TX pin is showing a constant +3V (I've also seen a constant +0.88V in some experiments).

    I tried removing the pullup, or replacing it with a short, but no luck.

    Any hints what to try?

    you don't need a resistor to bring CH_PD to VCC. i never use this, you should try it without.
    when I plug it in to the computer to re-program, i only use the RX/TX on the USB TTL cable. and i connect the GND to GND on arduino and CH_PD+VCC to 3V3 on arduino on another usb port. no resistors..
    i was even succesfull sometimes with just using the USB TTL cable alone with the 3V3 and GND pins on it, no arduino necessary. but not always, i usually keep switching back and forth between the two connection methods if there is an error..
    when you say "can't get it to respond to "AT\r\n" (or AT\r, or AT\n, for that matter)" is this after the initial setup? are you not even able to re-program it?

    I wasn't reprogramming it: I just wanted to use it as-is.

    Anyway, the seller sent me a second unit, and the second one responds to AT commands just fine. So I must have just had a defective unit.

    If I configure the 8266 module to connect to my home WiFi, will it afterwards automatically connect each time it's powered up, or does some serial command need to be sent for it each time to connect?

    If it connects automatically on powerup, then one can use it as a super-simple wireless sensor (with significant latency, but that's irrelevant for my application). I'm thinking of using it in conjunction with a Leakfrog water leak detector. The idea is that I would wire 8266 modules to Leakfrog units, so that when a water leak is detected the 8266 is powered up, and connects to WiFi. Some other device running on my network (e.g., an old Android phone or tablet, or maybe a router with custom firmware) will be polling the network and will email and text me to tell me which 8266 module has powered up, and will again email and text when the module has powered down.

    But if the 8266 requires a serial command to connect, then a microcontroller is needed to generate that serial command, and that complicates the hardware.

    it doesn't need to be reconfigured. once set, it will connect automatically each time the system is powered up.

    and yes about the super simple wifi sensors, check this out;

    and ther is no latency. I watched my DHT11 upload to thingspeak using ESP, live feed, very smooth.

    we are working on getting simple analog sensors online and even e-mail/txt you once they are triggered..


    Sounds great! I want to run it without any processor attached--just have it fire up when the signal fires, and then have something else on the WiFi network pick up the IP address. This way, the costs per unit are low (I want to do four units) and it's real simple.