Guide to Selecting WIFI Chips: The Best Choices for Secondary Development

In today’s rapidly developing Internet of Things (IoT) landscape, WIFI chips serve as critical components connecting devices to the internet, making their selection crucial for project success.

Key Factors in Selecting WIFI Chips

When choosing a WIFI chip for secondary development, the following key factors must be considered:

  1. 1. Memory Resources: The size of RAM and ROM/Flash directly affects the complexity and functionality of the application.
  2. 2. Processing Power: The type, architecture, and frequency of the CPU determine processing speed and energy efficiency.
  3. 3. Peripheral Resources: The number and types of interfaces such as GPIO, UART, I2C, SPI, etc.
  4. 4. Network Capabilities: Supported WIFI standards, antenna configurations, and transmission rates.
  5. 5. Power Consumption Characteristics: Power performance under different operating modes.
  6. 6. Development Ecosystem: SDK support, community activity, and documentation completeness.
  7. 7. Cost Factors: Chip price, development costs, and mass production costs.
  8. 8. Reliability: Stability, security, and certification status.

Comparison of Mainstream WIFI Chips

ESP32 Series

ESP32 is a powerful SoC chip launched by Espressif, integrating a dual-core processor, rich peripherals, and WIFI + Bluetooth dual-mode communication capabilities.

Main Features:

  • Processor: Dual-core Tensilica Xtensa LX6, with a maximum frequency of 240MHz.
  • Memory: 520KB SRAM, with support for up to 16MB external Flash.
  • Network Capabilities: Supports IEEE 802.11 b/g/n, operates in the 2.4GHz band, with a maximum transmission rate of 150Mbps.
  • Bluetooth: Integrated Bluetooth 4.2 and BLE.
  • Peripherals: Rich GPIO (34), multiple UART/SPI/I2C/I2S interfaces, 12-bit ADC, DAC, etc.
  • Special Features: Built-in Hall sensor, touch sensor, temperature sensor, hardware encryption unit.
  • Development Support: Official ESP-IDF framework, also supports Arduino environment, with an active community.

The ESP32 series also includes several variants, such as ESP32-S2 (single-core, no Bluetooth), ESP32-C3 (RISC-V architecture, compatible with ESP8266 pins), and ESP32-S3 (AI acceleration, more RAM), optimized for different application scenarios.

ESP8266 Series

ESP8266 is a classic WIFI chip launched by Espressif, known for its low cost and ease of use, and is still widely used in entry-level IoT projects.

Main Features:

  • Processor: Single-core Tensilica L106, with a frequency of 80MHz (can be overclocked to 160MHz).
  • Memory: Approximately 80KB usable RAM, supports up to 4MB external Flash.
  • Network Capabilities: Supports IEEE 802.11 b/g/n, only in the 2.4GHz band.
  • Peripherals: Limited GPIO (usually 11 available), 1 UART, 1 SPI, limited I2C support (via software emulation).
  • Development Support: Official SDK, NodeMCU firmware, Arduino support.
  • Advantages: Extremely low cost, low power consumption, rich community resources.
  • Limitations: Limited processing power and memory, fewer peripheral interfaces.

RTL8710/RTL8720 Series

RTL8710/RTL8720 are WIFI chips launched by Realtek, providing a balanced choice between ESP8266 and ESP32 in certain aspects.

Main Features:

  • Processor: RTL8710 uses ARM Cortex-M3 core, while RTL8720 adopts a dual-core design (Cortex-M4F + M0).
  • Memory: RTL8710 has approximately 512KB ROM and 128KB RAM; RTL8720 has larger memory.
  • Network Capabilities: Supports IEEE 802.11 b/g/n, in the 2.4GHz band.
  • Bluetooth: RTL8720 supports BLE 5.0.
  • Peripherals: Multiple GPIO, UART, SPI, I2C interfaces.
  • Special Features: Low power design, with deep sleep current as low as 5μA.
  • Development Support: Official SDK, but community resources are relatively scarce.

MT7688 Series

MT7688 is a high-performance WIFI SoC launched by MediaTek, primarily aimed at routers, gateways, and high-performance IoT applications.

Main Features:

  • Processor: MIPS 24KEc processor, with a maximum frequency of 580MHz.
  • Memory: MT7688AN supports up to 256MB DDR2 memory, while MT7688KN has 64Mb DDR1 built-in.
  • Network Capabilities: Supports IEEE 802.11 b/g/n, in the 2.4GHz band, with a maximum of 300Mbps (2T2R).
  • Peripherals: Rich interfaces, including PCIe, USB, Ethernet, SD-XC, I2S/PCM, etc.
  • Special Features: Integrated 5-port Ethernet switch, suitable for gateway applications.
  • Development Support: Based on Linux OpenWrt system, suitable for complex application development.

Memory Resource Comparison

Memory resources directly determine the complexity of applications and the feasibility of functionality. The table below compares the memory resources of each chip in detail:

Chip Model RAM ROM/Flash External Flash Support External RAM Support
ESP32 520KB 448KB ROM Up to 16MB Up to 8MB PSRAM
ESP32-S2 320KB 128KB ROM Up to 4MB Up to 2MB PSRAM
ESP32-C3 400KB 384KB ROM Up to 4MB 8KB RTC SRAM
ESP8266 ~80KB usable ~35KB usable Up to 4MB Not supported
RTL8710 128KB 512KB Supports external Not supported
RTL8720 320KB 128KB Up to 16MB Not supported
MT7688AN Up to 256MB DDR2 Supports external DDR2
MT7688KN Built-in 64Mb DDR1 Not supported

Analysis:

  • • The ESP32 series offers the most balanced memory configuration, especially with support for external PSRAM, significantly expanding application space.
  • • The ESP8266 has the most limited memory resources, suitable only for simple applications.
  • • The MT7688 series supports the largest memory capacity, suitable for complex gateway and server applications.
  • • The RTL8720 has memory resources that fall between the ESP8266 and ESP32, suitable for applications of moderate complexity.

Peripheral Resource Comparison

The number and types of peripheral interfaces directly affect the functionality and expansion capabilities of the product. The table below compares the main peripheral resources of each chip:

Chip Model GPIO UART SPI I2C ADC DAC Other Special Interfaces
ESP32 34 3 4 2 18 channels 12-bit 2 channels 8-bit I2S, JTAG, PWM, touch sensor
ESP8266 17 2 2 Software emulation 1 channel 10-bit None PWM (software)
RTL8710/8720 Multiple Multiple Supported Supported Supported Unknown PWM
MT7688 Up to 41 3 Supported Supported Limited Unknown PCIe, USB2.0, Ethernet, SD-XC, I2S/PCM

Analysis:

  • • The ESP32 has the richest general peripheral resources, especially leading in the number of analog interfaces (ADC/DAC).
  • • The MT7688 has a clear advantage in high-speed interfaces, particularly PCIe, USB, and Ethernet interfaces.
  • • The ESP8266 has the most limited peripheral resources, but is sufficient for simple projects.
  • • The RTL8710/8720 provides a moderate level of peripheral resources.

Feature Comparison

Each chip has its own focus in terms of functional features, and the following comparison is made across several key dimensions:

Network Capabilities

Chip Model WIFI Standard Maximum Rate Antenna Configuration Special Network Features
ESP32 802.11 b/g/n 150Mbps 1T1R Mesh networking (ESP-MESH)
ESP8266 802.11 b/g/n 72.2Mbps 1T1R Simple AP+STA mode
RTL8710/8720 802.11 b/g/n 150Mbps 1T1R Low power design
MT7688 802.11 b/g/n 300Mbps 2T2R Routing capabilities, supports OpenWrt

Bluetooth Functionality

Chip Model Bluetooth Support BLE Support Bluetooth Version
ESP32 Supported Supported 4.2 BR/EDR + BLE
ESP32-C3 Supported Supported 5.0
ESP8266 Not supported Not supported
RTL8720 Supported Supported 5.0
MT7688 Not supported Not supported

Power Consumption Characteristics

Chip Model Deep Sleep Current Normal Operating Current Energy Saving Features
ESP32 ~10μA ~80mA Multiple sleep modes, ULP co-processor
ESP8266 ~20μA ~70mA Basic sleep mode
RTL8710/8720 ~5μA ~80mA Optimized low power design
MT7688 Higher ~200mA Mainly optimized for performance, with higher power consumption

Security Features

Chip Model Hardware Encryption Secure Boot Other Security Features
ESP32 AES, SHA, RSA, ECC Supported Flash encryption, secure storage
ESP8266 Basic encryption Limited support WPA/WPA2
RTL8710/8720 AES, SHA-2, RSA Supported Secure OTA
MT7688 Supported Supported OpenWrt security mechanisms

Development Ecosystem Comparison

The maturity of the development ecosystem directly affects development efficiency and project success rate:

Chip Model Official SDK Third-party Framework Support Development Tools Community Activity Documentation Quality
ESP32 ESP-IDF Arduino, MicroPython, Mongoose OS, etc. ESP-IDF toolchain, Arduino IDE Very active Comprehensive, multilingual
ESP8266 RTOS SDK, NonOS SDK Arduino, NodeMCU, MicroPython, etc. Various IDE support Very active Relatively comprehensive
RTL8710/8720 Ameba SDK Arduino (limited) Ameba development tools Average Limited
MT7688 OpenWrt SDK OpenWrt ecosystem Linux development tools Active (OpenWrt community) Relatively comprehensive

Analysis:

  • • The ESP32 and ESP8266 have the most mature development ecosystems, especially the Arduino compatibility, which lowers the entry barrier significantly.
  • • The MT7688 is based on the Linux/OpenWrt ecosystem, suitable for developers with Linux experience.
  • • The development resources for RTL8710/8720 are relatively scarce, with a steeper learning curve.

Application Scenario Analysis

Different chips are suitable for different application scenarios:

ESP8266 is best suited for:

  • • Simple sensor data collection and reporting.
  • • Cost-sensitive consumer electronics products.
  • • Simple smart home control devices.
  • • Entry-level IoT projects and educational purposes.

ESP32 is best suited for:

  • • Devices requiring dual-mode communication (Bluetooth and WIFI).
  • • Smart home products with a certain level of complexity.
  • • Control devices requiring rich peripheral interfaces.
  • • Applications with balanced power and performance requirements.

RTL8710/8720 is best suited for:

  • • Battery-powered devices with high power consumption requirements.
  • • Applications requiring Bluetooth 5.0 features.
  • • Moderately complex network devices.

MT7688 is best suited for:

  • • Smart gateways and routers.
  • • Edge computing devices requiring high-performance processing.
  • • Complex multi-protocol conversion devices.
  • • Applications requiring a complete Linux system.

Leave a Comment