ATmega328P vs ESP8266EX
The same measures, side by side. A dot marks the stronger figure where two numbers can be ranked.
Microchip (Atmel)ATmega328PThe 8-bit chip at the heart of the Arduino Uno. Simple, well understood, and happy on 5 V. | Espressif SystemsESP8266EXA 32-bit processor and a complete 2.4 GHz Wi-Fi radio in a 5 mm package.Not recommended for new designs. Espressif suggests the ESP8684 instead. | |
|---|---|---|
| Core and memory | ||
| Architecture | AVR, 8-bit | Tensilica L106, 32-bit |
| Cores | 1 | 1 |
| Max clock | 20 MHz | 160 MHz (stronger) |
| RAM | 2 kB | Under 50 kB (stronger) |
| On-chip flash | 32 kB | None |
| External flash | None | Up to 16 MB, SPI |
| Connectivity | ||
| Wireless | None | Wi-Fi 802.11 b/g/n |
| USB | None | None |
| Inputs and outputs | ||
| GPIO pins | 23 (stronger) | 17 |
| ADC | 8 inputs, 10-bit | 1 input, 10-bit |
| UART | 1 | 2 (one transmit-only) |
| SPI | 2 (one through the UART) | 2 (one shares the flash pins) |
| I2C | 1 | 1, in software |
| PWM | 6 channels (stronger) | 4 outputs |
| Programmable IO | None | None |
| Power | ||
| Supply | 1.8–5.5 V | 2.5–3.6 V |
| Deepest sleep | 0.1 µA at 1.8 V (stronger) | 20 µA |
| Temperature | −40 to +105 °C | −40 to +125 °C |
| Package | ||
| Package | TQFP-32 | QFN-32 |
| Body | 7 × 7 mm | 5 × 5 mm |
| Space on the board | 9 × 9 mm | 5 × 5 mm |
| Pin pitch | 0.8 mm | 0.5 mm |
| Released | No data | 2014 |