====== ESP 8xxx Family ====== {{:en:iot-open:czapka_b.png?50| General audience classification icon }}{{:en:iot-open:czapka_e.png?50| General audience classification icon }}\\ At the moment, the ESP 8xxx family includes the following chips: * ESP8266EX (figure {{ref>esp8266EX_chip}}), * ESP8285 (figure {{ref>esp8285_chip}}).\\
{{ :en:iot-open:hardware2:esp8266ex-01_0.png?150 | ESP8266EX chip}} ESP8266EX chip
{{ :en:iot-open:hardware2:esp8285.png?150 | ESP8285 chip}} ESP8285 chip
The ESP8285 module continues the ESP8266 line with 1 MB of built-in flash, higher integration, and reduced dimensions. ===== ESP 8266 ===== == ESP 8266 General Information == The ESP8266 is a low-cost system-on-chip (SoC) microcontroller with WiFi and full TCP/IP stack capability ((https://en.wikipedia.org/wiki/ESP8266)). The main advantages of that family are: * Low power consumption, * Availability of WiFi and Bluetooth connections, * Wide availability of low-cost modules from various suppliers, * Wide availability in a variety of form factors, including SoC. The low price and the fact that the module had very few external components, which suggested that it could eventually be very inexpensive in volume, attracted many users to explore it. ==Esp8266 Architecture Overview== The main standard features of the ESP8266EX are: \\ **Processor** \\ * **Main processor:** L106 32-bit RISC microprocessor core based on the Tensilica Xtensa Diamond Standard 106Micro running at 80 MHz. Both the CPU and flash clock speeds can be doubled by overclocking on some devices. CPU can be run at 160 MHz, and flash can be sped up from 40 MHz to 80 MHz. Success varies from chip to chip. \\ **Memory** \\ * **External QSPI flash**: up to 16 MB is supported (512 kB to 4 MB typically included), \\ * 32 kB instruction RAM, \\ * 32 kB instruction cache RAM, \\ * 80 kB user data RAM, \\ * 16 kB ETS system data RAM. \\ **Interfaces** \\ * IEEE 802.11 b/g/n WiFi , \\ * Integrated TR switch, balun, LNA, power amplifier and matching network WEP or WPA/WPA2 authentication, or open networks, \\ * 17 GPIO pins, \\ * SPI, \\ * I²C (software implementation), \\ * I²S interfaces with DMA (sharing pins with GPIO), \\ * UART on dedicated pins, plus a transmit-only UART can be enabled on GPIO2, \\ * 10-bit ADC (successive approximation ADC). \\ Figure {{ref>esp8266_main_f}} shows functional block diagram of ESP8266 chip ((http://espressif.com/sites/default/files/documentation/0a-esp8266ex_datasheet_en.pdf)).
{{ :en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:esp:esp8266_block.jpg?680 | ESP8266&ESP8285 functional block diagram}} ESP8266&ESP8285 functional block diagram
==ESP8266 Modules== Many still popular ESP8266-based modules are on the market ((https://en.wikipedia.org/wiki/ESP8266)). These modules combine the ESP8266EX microcontroller and additional components mounted on the PCB. The most popular are these produced by AI-Thinker and remain the most widely available ((https://www.esp8266.com/wiki/doku.php?id=esp8266-module-family)): * ESP-01 (512 kB Flash), * ESP-01S (1 MB Flash), * ESP-12 (FCC and CE approved), * ESP-12E, * ESP-12F (4 MB Flash, FCC and CE approved). Popular modules from other manufacturers: * Sparkfun ESP8266 Thing, * Wemos D1 mini, D1 mini Pro ((https://www.wemos.cc/)). The Espressif company also produces ready-made modules using the aforementioned chip. This is the series of ESP8266-based modules made by Espressif (table {{ref>esp8266_modules}}). ^**Name**^**Active pins**^**LEDs**^**Antenna**^**Shielded**^**Dimensions (mm)**^**Notes**^ |ESP-WROOM-02((https://en.wikipedia.org/wiki/ESP8266))|18|No|PCB trace|Yes|18 × 20|FCC ID 2AC7Z-ESPWROOM02| |ESP-WROOM-02D((https://en.wikipedia.org/wiki/ESP8266))|18|No|PCB trace|Yes|18 × 20|FCC ID 2AC7Z-ESPWROOM02D. Revision of ESP-WROOM-02 is compatible with both 150-mil and 208-mil flash memory chips| |ESP-WROOM-02U((https://en.wikipedia.org/wiki/ESP8266))|18|No|U.FL socket|Yes|18 × 20|Differs from ESP-WROOM-02D in that includes an U.FL compatible antenna socket connector| |ESP-WROOM-S2((https://en.wikipedia.org/wiki/ESP8266))|20|No|PCB trace|Yes|16 × 23|FCC ID 2AC7Z-ESPWROOMS2|
Espressif ESP8266 modules
The most widely used chipset ESP-01 is presented in (figure {{ref>esp01}}) and its pinout on (figure {{ref>esp01pin}}).
{{ :en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:esp:esp-01-modul-wifi-z-esp8266-i-antena.jpg?150 | ESP-01}} ESP-01
{{ :en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:esp:esp8266-pinout_etch_copper_top.png?200 | ESP-01 pinout}} ESP-01 pinout
Module ESP12F with pinout is presented on (figure {{ref>esp12f}}) and its pinout on (figure {{ref>esp12fpin}}).
{{ :en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:esp:esp-12f.jpg?150 | ESP-12F}} ESP-12F
{{ :en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:esp:esp-12f_20-_20layout01.jpg?250 | ESP-12F pinout}} ESP-12F pinout
Among the other modules, it is worth being interested in WEMOS modules ((https://www.wemos.cc/)) (figure {{ref>WemosD1mini}}, figure {{ref>WemosD1pro}}). The WEMOS company offers dedicated sensor modules and inputs/outputs compatible with the processor modules. They are called WEMOS shields (figure {{ref>Wemosshields}}).
{{ :en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:esp:d1mini.png?250 | Wemos D1 mini with pinout}} {{ :en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:esp:esp8266-wemos-d1-mini-pinout.png?450 | Wemos D1 mini with pinout}} Wemos D1 mini with pinout
{{ :en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:esp:d1minipro.png?250 | Wemos D1 Pro}} Wemos D1 Pro
{{ :en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:esp:wemos_shields.png?450 | Wemos I/O shields}} Wemos I/O shields
===== ESP 8285 ===== ==ESP8285 Architecture Overview== Main differences between ESP8285 and ESP8266 are: \\ **Processor** \\ * L106 32-bit RISC microprocessor core running at 160MHz \\ **Memory** \\ * **Internal 1MB or 2MB** program memory, \\ ** Power consumption **\\ * ESP8285 has a lower power consumption than the ESP8266. The ESP8285 consumes 2.7 mA in deep-sleep mode, vs 10 mA ESP8266, \\ * Wake up within 2 ms. \\ ** Security **\\ * Supports secure boot and flash encryption. \\