====== 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}}).\\ 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)). ==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}}).