Comparison2 min readBy Dezső Mező · Published .mdESP32STM32 / Raspberry Pi
ESP32 for connected IoT where Wi-Fi / BLE is the killer feature. STM32 for low-power battery-op, precise timing, safety-critical. Raspberry Pi when you need a full Linux OS and can afford the power budget.
ESP32 fits when
- Wi-Fi / BLE connectivity required
- Low unit cost ($2-8)
- OTA updates + cloud sync
STM32 / Raspberry Pi fits when
- STM32: battery life > 1 year required
- STM32: motor control, precise timing
- Pi: full Linux / Python / Node.js
- Pi: computer vision / edge ML
| Factor | ESP32 | STM32 / Raspberry Pi |
|---|---|---|
| Unit cost (2026) | $2-8 | STM32 $3-25, Pi $15-80 |
| Power (sleep) | ~10µA | STM32 <1µA, Pi >100mA |
| Connectivity | Wi-Fi + BLE built-in | STM32 external, Pi built-in |
| Compute | 240MHz dual, RISC-V | STM32 up to 480MHz, Pi GHz class |
| OS support | FreeRTOS / bare / Arduino | STM32 RTOS, Pi Linux |
| Development speed | Fast (Arduino, ESP-IDF) | STM32 medium, Pi fast |
| We recommend | Connected IoT, low cost | STM32 for low-power / precision, Pi for Linux / ML |
What to take away
- ESP32 · Wi-Fi / BLE connectivity required
- ESP32 · Low unit cost ($2-8)
- ESP32 · OTA updates + cloud sync
- STM32 / Raspberry Pi · STM32: battery life > 1 year required
- STM32 / Raspberry Pi · STM32: motor control, precise timing
- STM32 / Raspberry Pi · Pi: full Linux / Python / Node.js
Questions this answers
When is ESP32 the right choice?
Wi-Fi / BLE connectivity required Low unit cost ($2-8) OTA updates + cloud sync
When is STM32 / Raspberry Pi the better choice?
STM32: battery life > 1 year required STM32: motor control, precise timing Pi: full Linux / Python / Node.js Pi: computer vision / edge ML
More from the lab
Browse all entries
Vállalkozz Digitálisan: buying software from an accredited supplier
What custom software actually costs
Custom software or off the shelf: the honest test
The first ninety days of a retainer, as it actually goes
Want this looked at on your own system?Start a conversation


