Skip to content

Commit 866921c

Browse files
committed
Documentation update
1 parent 3d26810 commit 866921c

9 files changed

+643
-520
lines changed

doc/boards.md

+48-35
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,36 @@
22
title: Supported Hardware
33
---
44

5-
- [Adafruit HUZZAH ESP8266 (ESP-12)](#adafruit-huzzah-esp8266-esp-12)
6-
- [NodeMCU 0.9](#nodemcu-0-9)
7-
- [NodeMCU 1.0](#nodemcu-1-0)
8-
- [Olimex MOD-WIFI-ESP8266-DEV](#olimex-mod-wifi-esp8266-dev)
9-
- [Olimex MOD-WIFI-ESP8266](#olimex-mod-wifi-esp8266)
10-
- [SparkFun ESP8266 Thing](#sparkfun-esp8266-thing)
11-
- [SweetPea ESP-210](#sweetpea-esp-210)
12-
- [Generic ESP8266 modules](#generic-esp8266-modules)
13-
- [WeMos D1](#wemos-d1)
14-
- [WeMos D1 mini](#wemos-d1-mini)
15-
16-
### Adafruit HUZZAH ESP8266 (ESP-12)
5+
## Table of contents
6+
* [Adafruit HUZZAH ESP8266 (ESP\-12)](#adafruit-huzzah-esp8266-esp-12)
7+
* [NodeMCU 0\.9 <a name="user\-content\-nodemcu\-0\-9"></a>](#nodemcu-09-)
8+
* [Pin mapping](#pin-mapping)
9+
* [NodeMCU 1\.0](#nodemcu-10)
10+
* [Olimex MOD\-WIFI\-ESP8266\-DEV](#olimex-mod-wifi-esp8266-dev)
11+
* [Olimex MOD\-WIFI\-ESP8266](#olimex-mod-wifi-esp8266)
12+
* [SparkFun ESP8266 Thing](#sparkfun-esp8266-thing)
13+
* [SweetPea ESP\-210](#sweetpea-esp-210)
14+
* [Generic ESP8266 modules](#generic-esp8266-modules)
15+
* [Serial Adapter](#serial-adapter)
16+
* [Minimal Hardware Setup for Bootloading and Usage](#minimal-hardware-setup-for-bootloading-and-usage)
17+
* [ESP to Serial](#esp-to-serial)
18+
* [Minimal Hardware Setup for Bootloading only](#minimal-hardware-setup-for-bootloading-only)
19+
* [Minimal Hardware Setup for Running only](#minimal-hardware-setup-for-running-only)
20+
* [Minimal](#minimal)
21+
* [Improved Stability](#improved-stability)
22+
* [Boot Messages and Modes](#boot-messages-and-modes)
23+
* [rst cause](#rst-cause)
24+
* [boot mode](#boot-mode)
25+
* [WeMos D1](#wemos-d1)
26+
* [WeMos D1 mini](#wemos-d1-mini)
27+
28+
## Adafruit HUZZAH ESP8266 (ESP-12)
1729

1830
*TODO: add notes*
1931

20-
### NodeMCU 0.9 <a name="nodemcu-0-9"></a>
32+
## NodeMCU 0.9
2133

22-
#### Pin mapping
34+
### Pin mapping
2335

2436
Pin numbers written on the board itself do not correspond to ESP8266 GPIO pin numbers. Constants are defined to make using this board easier:
2537

@@ -39,7 +51,7 @@ static const uint8_t D10 = 1;
3951

4052
If you want to use NodeMCU pin 5, use D5 for pin number, and it will be translated to 'real' GPIO pin 14.
4153

42-
### NodeMCU 1.0
54+
## NodeMCU 1.0
4355

4456
This module is sold under many names for around $6.50 on AliExpress and it's one of the cheapest, fully integrated ESP8266 solutions.
4557

@@ -51,7 +63,7 @@ The board also features a NCP1117 voltage regulator, a blue LED on GPIO16 and a
5163

5264
Full pinout and PDF schematics can be found [here](https://github.com/nodemcu/nodemcu-devkit-v1.0)
5365

54-
### Olimex MOD-WIFI-ESP8266-DEV
66+
## Olimex MOD-WIFI-ESP8266-DEV
5567

5668
This board comes with 2 MB of SPI flash and optional accessories (e.g. evaluation board ESP8266-EVB or BAT-BOX for batteries).
5769

@@ -65,21 +77,21 @@ UART pins for programming and serial I/O are GPIO1 (TXD, pin 3) and GPIO3 (RXD,
6577

6678
Get the board schematics [here](https://github.com/OLIMEX/ESP8266/blob/master/HARDWARE/MOD-WIFI-ESP8266-DEV/MOD-WIFI-ESP8266-DEV_schematic.pdf)
6779

68-
### Olimex MOD-WIFI-ESP8266
80+
## Olimex MOD-WIFI-ESP8266
6981

7082
This is a stripped down version of the above. Behaves identically in terms of jumpers but has less pins readily available for I/O. Still 2 MB of SPI flash.
7183

72-
### SparkFun ESP8266 Thing ###
84+
## SparkFun ESP8266 Thing ###
7385

7486
Product page: https://www.sparkfun.com/products/13231
7587

7688
*TODO: add notes*
7789

78-
### SweetPea ESP-210
90+
## SweetPea ESP-210
7991

8092
*TODO: add notes*
8193

82-
### Generic ESP8266 modules
94+
## Generic ESP8266 modules
8395

8496
These modules come in different form factors and pinouts. See the page at ESP8266 community wiki for more info:
8597
[ESP8266 Module Family](http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family).
@@ -94,10 +106,10 @@ In order to use these modules, make sure to observe the following:
94106

95107
- **Put ESP8266 into bootloader mode** before uploading code.
96108

97-
### Serial Adapter
109+
## Serial Adapter
98110

99111
There are many different USB to Serial adapters / boards.
100-
To be able to put ESP8266 into bootloader mode using serial handshaking lines, you need the adapter which breaks out RTS and DTR outputs. CTS and DSR are not useful for upload (they are inputs). Make sure the adapter can work with 3.3V IO voltage: it should have a jumper or a switch to select between 5V and 3.3V, or be marked as 3.3V only.
112+
To be able to put ESP8266 into bootloader mode using serial handshaking lines, you need the adapter which breaks out RTS and DTR outputs. CTS and DSR are not useful for upload (they are inputs). Make sure the adapter can work with 3.3V IO voltage: it should have a jumper or a switch to select between 5V and 3.3V, or be marked as 3.3V only.
101113

102114
Adapters based around the following ICs should work:
103115

@@ -107,7 +119,7 @@ Adapters based around the following ICs should work:
107119

108120
PL2303-based adapters are known not to work on Mac OS X. See https://github.com/igrr/esptool-ck/issues/9 for more info.
109121

110-
### Minimal Hardware Setup for Bootloading and Usage
122+
## Minimal Hardware Setup for Bootloading and Usage
111123

112124

113125
| PIN | Resistor | Serial Adapter |
@@ -127,10 +139,10 @@ PL2303-based adapters are known not to work on Mac OS X. See https://github.com/
127139
- GPIO2 is alternative TX for the boot loader mode
128140
- **Directly connecting a pin to VCC or GND is not a substitute for a PullUp or PullDown resistor, doing this can break upload management and the serial console, instability has also been noted in some cases.**
129141

130-
### ESP to Serial
142+
## ESP to Serial
131143
![ESP to Serial](ESP_to_serial.png)
132144

133-
#### Minimal Hardware Setup for Bootloading only ##
145+
### Minimal Hardware Setup for Bootloading only ##
134146
ESPxx Hardware
135147

136148
| PIN | Resistor | Serial Adapter |
@@ -147,7 +159,7 @@ ESPxx Hardware
147159
* Note
148160
- if no RTS is used a manual power toggle is needed
149161

150-
#### Minimal Hardware Setup for Running only ##
162+
### Minimal Hardware Setup for Running only ##
151163

152164
ESPxx Hardware
153165

@@ -159,13 +171,13 @@ ESPxx Hardware
159171
| GPIO15 | PullDown | |
160172
| CH_PD | PullUp | |
161173

162-
### Minimal
174+
## Minimal
163175
![ESP min](ESP_min.png)
164176

165-
### Improved Stability
177+
## Improved Stability
166178
![ESP improved stability](ESP_improved_stability.png)
167179

168-
### Boot Messages and Modes
180+
## Boot Messages and Modes
169181

170182
The ESP module checks at every boot the Pins 0, 2 and 15.
171183
based on them its boots in different modes:
@@ -182,21 +194,21 @@ at startup the ESP prints out the current boot mode example:
182194
rst cause:2, boot mode:(3,6)
183195
```
184196

185-
note:
197+
note:
186198
- GPIO2 is used as TX output and the internal Pullup is enabled on boot.
187199

188-
#### rst cause
200+
### rst cause
189201

190202
| Number | Description |
191203
| ------ | ---------------------- |
192204
| 0 | unknown |
193205
| 1 | normal boot |
194206
| 2 | reset pin |
195207
| 3 | software reset |
196-
| 4 | watchdog reset |
208+
| 4 | watchdog reset |
197209

198210

199-
#### boot mode
211+
### boot mode
200212

201213
the first value respects the pin setup of the Pins 0, 2 and 15.
202214

@@ -214,7 +226,8 @@ the first value respects the pin setup of the Pins 0, 2 and 15.
214226
note:
215227
- number = ((GPIO15 << 2) | (GPIO0 << 1) | GPIO2);
216228

217-
### WeMos D1
229+
## WeMos D1
218230
Product page: http://wemos.cc
219-
### WeMos D1 mini
231+
232+
## WeMos D1 mini
220233
Product page: http://wemos.cc

doc/changes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Change log
2+
title: Change Log
33
---
44

55
*Current release*

0 commit comments

Comments
 (0)