meta data for this page
  •  

This is an old revision of the document!


lamaPLC: ESP32 / ESP8266

The ESP32 can operate as a standalone system or as a slave device to a host MCU, reducing communication stack overhead on the main application processor. It can interface with other systems to provide Wi-Fi and Bluetooth functionality via its SPI/SDIO or I²C/UART interfaces.

Different between ESP32 and ESP8266

The main differences are that the ESP32 has significantly more processing power (a dual-core CPU), more memory, and Bluetooth, while the ESP8266 is older, single-core, and Wi-Fi-only. The ESP32 is better for complex projects because of its improved performance and peripheral features, while the ESP8266 is a more affordable choice for simple IoT applications.

FeatureESP32ESP8266
ProcessorDual-core LX6/LX7, up to 240 MHzSingle-core L106, up to 160 MHz
ConnectivityWi-Fi and Bluetooth (BLE)Wi-Fi only
RAMUp to 520KB160KB SRAM
GPIO PinsUp to 3417
ADC12-bit ADC10-bit ADC
PeripheralsMore advanced peripherals like Ethernet, USB, touch sensors, CAN, and hall sensorBasic peripherals like SPI, I2C, and UART
CostHigher price pointLower price point
FeatureESP32ESP32-C2ESP32-C3
CPUDual-core Xtensa LX6Single-core RISC-VSingle-core RISC-V
Max Clock Speed240 MHz120 MHz160 MHz
Wi-FiYes (2.4 GHz)Yes (2.4 GHz)Yes (2.4 GHz)
BluetoothYes (v4.2 and 5.0)Yes (v5.0)Yes (v5.0)
SRAM520 KB272 KB400 KB
GPIO34 (with 10 touch sensors)2022 (no touch sensors)
SecuritySecure Boot, Flash Encryption, HmacSecure Boot, Flash EncryptionSecure Boot, Flash Encryption
PriceHigherLowestLower
ApplicationsHigh-performance applicationsSimple applicationsCost-sensitive applications