loading

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:

Ebay:

Version 1: http://goo.gl/dH2ttJ

Version 3: http://goo.gl/yHukns

Amazon.de:

Version 1:http://amzn.to/1vBRee4

Version 3: http://amzn.to/1tsLtYJ

Amazon.com:

Version 1:http://amzn.to/10FZ8Vl

Version 3:http://amzn.to/1GDx320

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:http://www.electrodragon.com/w/Wi07c
Update tutorial: http://defcon-cc.dyndns.org/wiki/ESP8266#Update

Datasheet (english): http://defcon-cc.dyndns.org/wiki/ESP8266#Update

ESP8266 Forum:http://www.esp8266.com/

Step 4: Awesome Projects!

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

Weather station: http://zeflo.com/2014/esp8266-weather-display/
Email notifier: http://hackaday.com/2014/11/03/checking-email-wit...

Online LED dimmer:https://github.com/imjosh/espLedDimmer

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:

http://www.youtube.com/user/greatscottlab
You can also follow me on Facebook, Twitter and Google+ for news about upcoming projects and behind the scenes information.

https://twitter.com/GreatScottLab

https://www.facebook.com/greatscottlab

<p>Hi, This video does not work</p>
<p>good video tutorial</p>
<p>Hello,</p><p>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. </p><p>Please suggest what should I do if the numbers of users to be connected is more than 50.</p><p>Thank you </p>
<p>Hallo,</p><p>Kann auch auf Deutsch fragen stellen ?</p><p>Danke.</p>
<p>I finally got the 8266 in the mail, but can't get it to respond to &quot;AT\r\n&quot; (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. </p><p>The red LED is on. The blue LED is faintly glowing. But I am not reading any response to the &quot;AT\r\n&quot;. 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).</p><p>I tried removing the pullup, or replacing it with a short, but no luck.</p><p>Any hints what to try?</p>
<p>you don't need a resistor to bring CH_PD to VCC. i never use this, you should try it without.<br>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.. <br>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.. <br>when you say &quot;can't get it to respond to &quot;AT\r\n&quot; (or AT\r, or AT\n, for that matter)&quot; is this after the initial setup? are you not even able to re-program it?</p>
<p>I wasn't reprogramming it: I just wanted to use it as-is.</p><p>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.</p>
<p>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?</p><p>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.</p><p>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.</p>
<p>it doesn't need to be reconfigured. once set, it will connect automatically each time the system is powered up.</p><p>and yes about the super simple wifi sensors, check this out; <a href="http://www.esp8266.com/viewtopic.php?f=8&t=390" rel="nofollow">http://www.esp8266.com/viewtopic.php?f=8&amp;t=390</a></p><p>and ther is no latency. I watched my DHT11 upload to thingspeak using ESP, live feed, very smooth.</p><p>we are working on getting simple analog sensors online and even e-mail/txt you once they are triggered..</p>
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.
<p>something called an SDK attachment for the ESP, which i believe eliminates the need for an arduino.. i don't know what it is exactly, i'm not experienced enough.. you should check out the above useful links for sure, especially the forum !!</p>
<p>That's super-cool.</p><p>Do you have any actual numbers on the latency? For another application (wireless foil/epee fencing equipment), it would be really great to have something with latency, in the 1-2 ms range.</p>
<p>i'm going to say that it is more like 3-5ms when it comes to uploading to thingspeak.. on the data sheet it mentions 1-2ms from boot up to send data BUT there are lots of obstacles here. i'm sure you can cut the time down to 1-2ms if you didn't use thingspeak but maybe your own server?! it connects to the wifi network only 1 time as well, only at boot up. afterwards it stays connected until turned off.</p>
<p>Another question: If you power up the device out of the box, without any setup, does it show up as a hotspot? I saw one writeup that suggested they do that, and if so, it would help with troubleshooting. (I.e., if it isn't showing up as a hotspot, it's probably defective.) And it would mean that it could be useful for simple 0-1 sensor communications without ANY serial communications with it ever--since one could have another device detect if the hotspot is up.</p>
<p>if your module is pre-set to AT+CWMODE=3 it should show up as an access point on your phone right away, no setup necessary. usually they are sent as AT+CWMODE=2 however. </p><p>=1 is STA</p><p>=2 is AP</p><p>=3 is both..</p><p>but either way you would have to connect to it with a usb ttl cable to list your network address first and then connect to it. it needs to know your SSID,PASS.. I always check with my phone to see if it shows up under wireless networks, it always has showed up..<br>hope this helps</p>
<p>Nice introduction! Are the GPIOS that do not have breakouts on your version accessible to a skilled solderer by tying in to the chip pins?</p>
<p>I think that is too tiny to solder to. Well at least for me. But they are accessible.</p>
<p>very useful, thanks</p>

About This Instructable

134,272views

289favorites

License:

Bio: Awesome Electronics Tutorials, Projects and How To´s
More by GreatScottLab:DIY Arduino Soldering Station Make Your Own GPS SMS Security Tracking System DIY Portable LED Panel 
Add instructable to: