nRF52840 vs ESP32
Side-by-side comparison of nRF52840 and ESP32 BLE SoCs.
nRF52840 vs ESP32: Nordic's Multi-Protocol BLE Flagship vs Espressif's Wi-Fi+BLE Workhorse
The nRF52840 is Nordic's premium BLE and IEEE 802.15.4 SoC; the ESP32 (original dual-core) is Espressif's widely popular Wi-Fi + Classic BT + BLE combo chip dominating the hobbyist and maker IoT market. This comparison highlights the classic tradeoff between protocol specialization and multi-radio convenience.
Overview
Nordic nRF52840 (Cortex-M4F, 64 MHz, 1 MB Flash, 256 KB RAM) supports BLE 5.0, IEEE 802.15.4 (Thread/Zigbee), USB 2.0 FS, and ANT. It has no Wi-Fi but delivers the most capable BLE and Thread implementation in the nRF52 family. Its SoftDevice stack and nRF Connect SDK are production-proven in millions of devices.
Espressif ESP32 (dual-core Xtensa LX6, 240 MHz, 520 KB SRAM, external Flash) integrates Wi-Fi 802.11 b/g/n, Classic Bluetooth 4.2/A2DP, and BLE 4.2. It runs full TCP/IP, TLS, MQTT, and HTTP stacks natively via Wi-Fi. The ESP32's $2-3 price point, Arduino ecosystem, and vast tutorials made it ubiquitous for prototyping and connected device development.
Key Differences
- Wi-Fi: ESP32 has 802.11 b/g/n Wi-Fi; nRF52840 has no Wi-Fi.
- BLE version: nRF52840 supports BLE 5.0 with LE 2M PHY and Coded PHY; original ESP32 supports BLE 4.2 only — no extended features.
- IEEE 802.15.4: nRF52840 supports Thread and Zigbee; ESP32 has no IEEE 802.15.4.
- USB: nRF52840 has native USB 2.0 FS device/host; ESP32 original has no USB (ESP32-S3 added USB).
- Matter support: nRF52840 is a primary Nordic Matter platform via Thread; ESP32 supports Matter over Wi-Fi via ESP Matter SDK.
- Power consumption: nRF52840 ~2 µA deep sleep vs ESP32 ~10 µA; BLE active current nRF52840 ~7 mA vs ESP32 Wi-Fi active ~150-260 mA.
- Classic Bluetooth: ESP32 supports Classic BT (A2DP, HFP, SPP); nRF52840 is BLE and IEEE 802.15.4 only.
- Development ecosystem: ESP32 has Arduino, MicroPython, and massive community; nRF52840 uses nRF Connect SDK with Zephyr — more complex but more capable for BLE.
- Compute: ESP32 dual-core LX6 at 240 MHz significantly outperforms nRF52840 at 64 MHz for compute-intensive tasks.
Use Cases
When nRF52840 Excels
- Thread/Zigbee/Matter-over-Thread: Smart home sensors, light controllers, and building automation devices requiring mesh networking via IEEE 802.15.4.
- BLE 5.0 features: Long-range Coded PHY, advertising/" class="glossary-term-link" data-term="extended advertising" data-definition="BLE 5.0 advertising with up to 255-byte payloads." data-category="GAP & Advertising">extended advertising, and LE 2M PHY are unavailable on original ESP32 BLE 4.2.
- USB BLE accessories: Keyboards, game controllers, and dongles using native USB.
- Power-optimized BLE: Battery-operated devices where nRF52840's superior sleep and BLE active current extend battery life.
- Bluetooth SIG certified products: nRF52840's SoftDevice has the strongest BLE qualification track record.
When ESP32 Excels
- Wi-Fi connected IoT: Devices uploading data to cloud servers, sending MQTT messages, or running web interfaces require Wi-Fi — ESP32 is the most accessible option.
- Prototyping and maker projects: Arduino ecosystem, massive tutorial library, and $5 development boards accelerate prototyping faster than any alternative.
- Classic Bluetooth audio: A2DP streaming for speakers and hands-free HFP devices require Classic BT — unavailable on nRF52840.
- Matter over Wi-Fi at low cost: Espressif's ESP Matter SDK on ESP32-C6/S3 provides Matter over Wi-Fi at the lowest BOM.
- High compute + wireless: Audio DSP, image processing, and HTTPS operations requiring 240 MHz dual-core.
Verdict
The nRF52840 and ESP32 serve distinct markets with minimal overlap. nRF52840 dominates BLE-centric, battery-powered, and Thread/Zigbee-enabled IoT with superior power efficiency and BLE specification compliance. ESP32 dominates Wi-Fi connected IoT, maker prototyping, and Classic Bluetooth audio at the lowest possible cost. For professional Matter devices, choose based on transport: Thread (nRF52840) or Wi-Fi (ESP32-C6). For pure BLE IoT, nRF52840. For Wi-Fi IoT, ESP32 family.
Frequently Asked Questions
Our comparisons use verified datasheet specifications to create side-by-side tables. Each comparison includes a verdict explaining when to choose each option based on your project requirements.