A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | GPIO | function | ESP8266 notes / restrictions | default behaviour on boot | recc. for sensors | for flash | for run | snf thxx | snf 4ch | |||||||||||
2 | 0 | I/O, CS | for normal run, must be HIGH during boot / reset (has built in pull-up) | oscillates, than stabilizes HIGH after ~100ms | NO | LOW | HIGH | btn | btn 1 | |||||||||||
3 | 1 | TXD | reserved for frimware upload and serial monitor. not reccomended as GPIO pin | LOW for ~50ms, then HIGH | NO | |||||||||||||||
4 | 2 | I/O | built-in led (active LOW). must be HIGH during boot / reset / wakeup (has built in pull-up) | oscillates, than stabilizes HIGH after ~100ms | NO | HIGH | HIGH | breakout | ||||||||||||
5 | 3 | RXD | reserved for firmware upload and serial monitor. not reccomended as GPIO pin | LOW for ~50ms, then HIGH | NO | |||||||||||||||
6 | 4 | I/O, SCL | safe pin (first choice) | LOW | YES | jack ring 1 | relay 3 | |||||||||||||
7 | 5 | I/O, SDA | safe pin (first choice) | LOW | YES | relay 2 | ||||||||||||||
8 | 6 - 11 | these pins are reserved for mcu - flash communication, do not use! | NO | btn 2, 3 | ||||||||||||||||
9 | 12 | I/O, MISO (SDO) | quite safe pin | HIGH for ~100ms, then LOW | YES | relay | relay 1 | |||||||||||||
10 | 13 | I/O, MOSI (SDI) | quite safe pin | HIGH for ~100ms, then LOW | YES | blue led | blue led | |||||||||||||
11 | 14 | I/O, SCK | quite safe pin | HIGH for ~100ms, then LOW | YES | jack tip | btn 4 | |||||||||||||
12 | 15 | I/O | must be LOW during boot / reset / wakeup (has built in pull-down) | LOW | NO | LOW | LOW | relay 4 | ||||||||||||
13 | 16 | I/O (no interrupt) | for sleep mode, connect to EXT_RSTB, on wakeup will output LOW for reset | HIGH for ~100ms, then falls to ~1V? | NO | |||||||||||||||
14 | ||||||||||||||||||||
15 | max source current / pin: 12mA | |||||||||||||||||||
16 | max drain current / pin: 20mA | |||||||||||||||||||
17 | GPIO pins total current: 16 x 12mA | |||||||||||||||||||
18 | ||||||||||||||||||||
19 | nfo: | http://rabbithole.wwwdotorg.org/2017/03/28/esp8266-gpio.html | ||||||||||||||||||
20 | http://reflowster.com/blog/2015/05/11/esp8266.html | |||||||||||||||||||
21 | ||||||||||||||||||||
22 | ||||||||||||||||||||
23 | ||||||||||||||||||||
24 | ||||||||||||||||||||
25 | ||||||||||||||||||||
26 | ||||||||||||||||||||
27 | ||||||||||||||||||||
28 | ||||||||||||||||||||
29 | ||||||||||||||||||||
30 | ||||||||||||||||||||
31 | ||||||||||||||||||||
32 | ||||||||||||||||||||
33 | ||||||||||||||||||||
34 | ||||||||||||||||||||
35 | ||||||||||||||||||||
36 | ||||||||||||||||||||
37 | ||||||||||||||||||||
38 | ||||||||||||||||||||
39 | ||||||||||||||||||||
40 | ||||||||||||||||||||
41 | ||||||||||||||||||||
42 | ||||||||||||||||||||
43 | ||||||||||||||||||||
44 | ||||||||||||||||||||
45 | ||||||||||||||||||||
46 | ||||||||||||||||||||
47 | ||||||||||||||||||||
48 | ||||||||||||||||||||
49 | ||||||||||||||||||||
50 | ||||||||||||||||||||
51 | ||||||||||||||||||||
52 | ||||||||||||||||||||
53 | ||||||||||||||||||||
54 | ||||||||||||||||||||
55 | ||||||||||||||||||||
56 | ||||||||||||||||||||
57 | ||||||||||||||||||||
58 | ||||||||||||||||||||
59 | ||||||||||||||||||||
60 | ||||||||||||||||||||
61 | ||||||||||||||||||||
62 | ||||||||||||||||||||
63 | ||||||||||||||||||||
64 | ||||||||||||||||||||
65 | ||||||||||||||||||||
66 | ||||||||||||||||||||
67 | ||||||||||||||||||||
68 | ||||||||||||||||||||
69 | ||||||||||||||||||||
70 | ||||||||||||||||||||
71 | ||||||||||||||||||||
72 | ||||||||||||||||||||
73 | ||||||||||||||||||||
74 | ||||||||||||||||||||
75 | ||||||||||||||||||||
76 | ||||||||||||||||||||
77 | ||||||||||||||||||||
78 | ||||||||||||||||||||
79 | ||||||||||||||||||||
80 | ||||||||||||||||||||
81 | ||||||||||||||||||||
82 | ||||||||||||||||||||
83 | ||||||||||||||||||||
84 | ||||||||||||||||||||
85 | ||||||||||||||||||||
86 | ||||||||||||||||||||
87 | ||||||||||||||||||||
88 | ||||||||||||||||||||
89 | ||||||||||||||||||||
90 | ||||||||||||||||||||
91 | ||||||||||||||||||||
92 | ||||||||||||||||||||
93 | ||||||||||||||||||||
94 | ||||||||||||||||||||
95 | ||||||||||||||||||||
96 | ||||||||||||||||||||
97 | ||||||||||||||||||||
98 | ||||||||||||||||||||
99 | ||||||||||||||||||||
100 |