Build sources need the compiler + source + firmware packaging
1. ESPTOOL
Down from here.
Compile with 'make'. And has binary 'esptool' put in /usr/bin/
2. ESPTOOL.PY
Python utility to communicate with the ROM bootloader in Espressif ESP8266. (Can use ESP8266Flasher on Window)
3. Compiler & SDK Source
Espressif SDK way:
Easy way : use esp-open-sdk
; Howto :http://www.penninkhof.com/2015/03/esp8266-open-sdk/
On Ubuntu 14.04
git clone https://github.com/esp8266/source-code-examples.git
cd source-code-examples/blinky
sed -i 's/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/esp-open-sdk/xtensa-lx106-elf/bin/g' Makefile
sed -i 's/Espressif/ESP8266_SDK/esp-open-sdk/sdk/g' Makefile
sed -i 's/Espressif/esp-open-sdk/g' Makefile
make
cd /opt/esp-open-sdk
make clean
git pull
git submodule update
See below diagrams:
CH_PD : + | GPIO-0 : - | GPIO-2 : + | GPIO-15 : - |
GPIO | INPUT | OUTPUT | PWM | UART Programming |
Start from Flash |
Start from SD Card |
Note |
0 | Y | N | N | H | L | x | bootmode : pull up for *normal* boot |
1 | Y | normally UART0 TX | |||||
2 | Y | N | N | H | H | x | bootmode : pull up for *normal* boot |
3 | Y | normally UART0 RX ; you can use [stdout] to use it as GPIO | |||||
4 | Y | Y | sometimes mislabeled as GPIO5 (esp-12) | ||||
5 | Y | Y | sometimes mislabeled as GPIO4 (esp-12) | ||||
12 | Y | Y | Y | x | x | x | |
13 | Y | Y | Y | x | x | x | |
14 | Y | Y | Y | x | x | x | |
15 | Y | Y | Y | L | L | H | bootmode : pull down for *normal* boot |
16 | Y | Y | not implemented yet (no interrupt on this pin) |
RST | TXD ADC | RXD CH_PD | -05 LCD-CE -16 | -04 LCD-RST -14 LCD-CLK | -00 Boot:H, Flash:L -12 LCD-DC | -02 Boot:H -13 LCD-Din | -15 Boot:L VCC | GND
here is my current list of links for the ESP8266:
COMPILING YOUR OWN PROGRAMS FOR THE ESP8266.
NodeMCU info & guides.
http://espressif.com/en/products/esp8266/ : Espressif is the manufacturer of the ESP8266. Their site is pretty much a bunch of marketing hoo-hah and you'll have to "contact" them for more information. Not too useful.
https://nurdspace.nl/ESP8266 : This is the homepage for a lot of ESP8266 information.
Electrodragon was one of the earlier companies to distribute ESP8266 modules. This is some documentation for their module which looks very similar to the ones I received.
http://scargill.wordpress.com : Peter Scargill has been pretty thorough in documenting his experiences in getting the ESP8266 up and running and delving into some of the capabilities of the chip.
https://www.zybuluo.com/kfihihc/note/31135: This is the earliest design example I have found. It uses the ESP8266 WiFi module to grab a static page from the internet.
http://rayshobby.net/?p=9734 : This is another early, complete design example. (This site seems to be up and down, so keep checking if you can't get to it.)
http://hackaday.io/project/3072/instructions : This is another complete example that uses the ESP8266 to provide the internet link for a simple web browser hosted on an Arduino.
http://www.esp8266.com/ : This is a community forum centered around the ESP8266. Everything is here, but probably best to read this stuff after going through a complete design example.
This is a list of all the Github repositories I could find with ESP8266 code.
Here's a list of all the ESP8266 tutorials I've made using the information provided from the above sources. Hopefully I've accurately distilled their knowledge into a concentrated elixir that will answer your questions on certain, specific topics:
Labels: my.