Instructables.com - ESP8266 mini Tutorial

advertisement
Food
Living
Outside
Play
Technology
Workshop
ESP8266 mini Tutorial
by GreatScottLab on November 23, 2014
Table of Contents
ESP8266 mini Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
Intro: ESP8266 mini Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
Step 1: Watch the video! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
Step 2: Where to buy it? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
Step 3: Useful sites! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
Step 4: Awesome projects! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
Step 5: Make your own projects! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
http://www.instructables.com/id/ESP8266-mini-Tutorial/
Author:GreatScottLab
author's website
Awesome Electronics Tutorials, Projects and How To´s
Intro: 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:
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
http://www.instructables.com/id/ESP8266-mini-Tutorial/
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
Related Instructables
World Wide
Web Control for
under $30.00 by
jimeer01
ESP8266 Wifi
Temperature
Logger by
noelportugal
Easy ESP8266
WiFi Debugging
with Python by
jimk3038
Send sensor
data (DHT11 &
BMP180) to
ThingSpeak
with an Arduino,
using cable or
WiFi (ESP8266)
by diy_bloke
You Have Mail!
Gets the Latest
email and
displays to an
LCD by jimeer01
Checking you
wifi status with
Arduino Yun by
jponczek
Advertisements
Comments
9 comments
Add Comment
arpruss says:
Dec 1, 2014. 6:25 PM REPLY
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.
Akin Yildiz says:
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; http://www.esp8266.com/viewtopic.php?f=8&t=390
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..
http://www.instructables.com/id/ESP8266-mini-Tutorial/
Dec 2, 2014. 7:26 AM REPLY
arpruss says:
Dec 2, 2014. 9:43 AM REPLY
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.
Akin Yildiz says:
Dec 2, 2014. 11:38 AM REPLY
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 !!
arpruss says:
Dec 2, 2014. 12:13 PM REPLY
That's super-cool.
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.
Akin Yildiz says:
Dec 3, 2014. 5:38 AM REPLY
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.
robthebrew says:
Nov 28, 2014. 11:10 AM REPLY
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?
GreatScottLab says:
Dec 1, 2014. 11:48 AM REPLY
I think that is too tiny to solder to. Well at least for me. But they are accessible.
diy_bloke says:
very useful, thanks
http://www.instructables.com/id/ESP8266-mini-Tutorial/
Dec 1, 2014. 11:22 AM REPLY
Download