Difference between revisions of "ESP8266 / ESP8285"

From The TinkerNet Wiki
Jump to navigation Jump to search
Line 7: Line 7:
  
 
*IO13 & IO16 don't seem usable for I2C... (at least under Tasmota...)
 
*IO13 & IO16 don't seem usable for I2C... (at least under Tasmota...)
 +
 +
=== GPIO Pins ===
 +
{| class="wikitable"
 +
|+
 +
!GPIO
 +
!Input
 +
!Output
 +
!Boot State
 +
!Notes
 +
!01
 +
!M3
 +
!07
 +
!12
 +
!D1 mini
 +
|-
 +
|ADC0
 +
|'''Analog Input'''
 +
|(not useable)
 +
|
 +
|
 +
|X
 +
|X
 +
|
 +
|
 +
|
 +
|-
 +
|0
 +
|pulled up
 +
|(caution)
 +
|
 +
|connected to FLASH button, boot fails if pulled LOW
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
|1
 +
|'''TX pin'''
 +
|(caution)
 +
|'''HIGH'''
 +
|debug output at boot, boot fails if pulled LOW
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
|2
 +
|pulled up
 +
|(caution)
 +
|'''HIGH'''
 +
|boot fails if pulled LOW
 +
|
 +
|on-board LED
 +
|
 +
|
 +
|on-board LED
 +
|-
 +
|3
 +
|(caution)
 +
|RX pin
 +
|'''HIGH'''
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
|4
 +
|
 +
|
 +
|
 +
|often used as <code>SDA</code> (I2C)
 +
|X
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
|5
 +
|
 +
|
 +
|
 +
|often used as <code>SCL</code> (I2C)
 +
|X
 +
|X
 +
|
 +
|
 +
|
 +
|-
 +
|6
 +
|
 +
|
 +
|
 +
|connected to the flash chip
 +
|X
 +
|X
 +
|X
 +
|
 +
|X
 +
|-
 +
|7
 +
|
 +
|
 +
|
 +
|connected to the flash chip
 +
|X
 +
|X
 +
|X
 +
|
 +
|X
 +
|-
 +
|8
 +
|
 +
|
 +
|
 +
|connected to the flash chip
 +
|X
 +
|X
 +
|X
 +
|
 +
|X
 +
|-
 +
|9
 +
|
 +
|
 +
|'''HIGH'''
 +
|connected to the flash chip
 +
|X
 +
|X
 +
|X
 +
|
 +
|X
 +
|-
 +
|10
 +
|
 +
|
 +
|'''HIGH'''
 +
|connected to the flash chip
 +
|X
 +
|X
 +
|X
 +
|
 +
|X
 +
|-
 +
|11
 +
|
 +
|
 +
|
 +
|connected to the flash chip
 +
|X
 +
|X
 +
|X
 +
|
 +
|X
 +
|-
 +
|12
 +
|
 +
|
 +
|
 +
|<code>SPI</code> (MISO)
 +
|X
 +
|X
 +
|
 +
|
 +
|
 +
|-
 +
|13
 +
|
 +
|
 +
|
 +
|<code>SPI</code> (MOSI)
 +
|X
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
|14
 +
|
 +
|
 +
|
 +
|<code>SPI</code> (SCLK)
 +
|X
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
|15
 +
|pulled to GND
 +
|(caution)
 +
|'''LOW'''
 +
|<code>SPI</code> (CS)
 +
 +
Boot fails if pulled HIGH
 +
|X
 +
|X
 +
|
 +
|
 +
|
 +
|-
 +
|16
 +
|no interrupt
 +
|no PWM or I2C support
 +
|'''HIGH'''
 +
|used to wake up from deep sleep
 +
|X
 +
|
 +
|
 +
|
 +
|
 +
|}
  
 
==Modules==
 
==Modules==

Revision as of 23:00, 30 October 2020

ESP8266-Pinout.jpeg
ESP8266-Basic-circuit.png


ESP8266-symbol.png

Notes

  • IO13 & IO16 don't seem usable for I2C... (at least under Tasmota...)

GPIO Pins

GPIO Input Output Boot State Notes 01 M3 07 12 D1 mini
ADC0 Analog Input (not useable) X X
0 pulled up (caution) connected to FLASH button, boot fails if pulled LOW
1 TX pin (caution) HIGH debug output at boot, boot fails if pulled LOW
2 pulled up (caution) HIGH boot fails if pulled LOW on-board LED on-board LED
3 (caution) RX pin HIGH
4 often used as SDA (I2C) X
5 often used as SCL (I2C) X X
6 connected to the flash chip X X X X
7 connected to the flash chip X X X X
8 connected to the flash chip X X X X
9 HIGH connected to the flash chip X X X X
10 HIGH connected to the flash chip X X X X
11 connected to the flash chip X X X X
12 SPI (MISO) X X
13 SPI (MOSI) X
14 SPI (SCLK) X
15 pulled to GND (caution) LOW SPI (CS)

Boot fails if pulled HIGH

X X
16 no interrupt no PWM or I2C support HIGH used to wake up from deep sleep X

Modules

Sonoff

Most (all?) of these are basically ESP8266 or ESP8265 controlled relays

Firmware

ESP8266 WiFi Connection manager

Original?

ESP8266 AT-Command firmware

Tasmota

Go Here!

Espruino

Home

ESPurna

Home

ESP-MQTT

Home

ESP-go

Home

NodeMcu

Home

ESP Easy

ESPHelper

Home

WLED

  • Home
    • Many bugs seem to appear with version changes...
      • 0.8.6 seems functional on my D1 Minis. (Tho it self-reports as 0.8.4)

Setting up Modules


Information Links

ESP8266 Datasheet
Kolban’s book on the ESP8266

Usage Links

 

Programming

Hardware

Ethernet

& More


Projects

Random

Bits & Pieces