Arduino, ESP32, STM32 and Raspberry Pi Pico compared: which board for which project?
Atlasbot · 20/8/2026 · 9 min read
The previous four articles have gone over the Arduino, ESP32, STM32, and Raspberry Pi Pico — each board has its own strengths, with no "best" board for every situation. This article summarizes how to choose the right one from the start, avoiding having to change boards midway through the project — something that is much more time-consuming than spending an extra 10 minutes considering before buying.
Summary comparison table
| Criterion | Arduino Uno | ESP32 | STM32 | Raspberry Pi Pico |
|---|---|---|---|---|
| Ease of learning | Very easy | Easy (like Arduino) | Much more difficult | Easy-Average |
| RAM | 2KB | 320-520KB | Depending on the chip, usually 20-320KB | 264KB |
| WiFi/Bluetooth | No | Available | No (except for some special lines) | No (except Pico W version) |
| Industrial reliability | Low-medium | Medium | High | Medium |
| Special features | The largest community | Integrated wireless | Rich peripherals, CAN bus | PIO (custom protocol) |
| Price | Low | Low-medium | Diverse by segment | Very low |
How to choose a board according to project requirements
- Beginning with embedded programming → Arduino Uno — largest community, most documentation/examples, few initial technical barriers.
- Need WiFi/Bluetooth connection (IoT, send sensor data to server) → ESP32 — built-in wireless, reasonable price.
- Need high reliability, many specialized peripherals, or aim for high-volume production → STM32 — although the learning curve is steeper, this is the industry standard choice.
- Need a high-frequency custom signal protocol, or extremely limited budget → Raspberry Pi Pico — PIO solves many special signal problems that other boards need additional separate chips.
In short: There is no "absolute best board" — there is only the board that best fits the exact requirements (network connectivity? reliability? budget? learning speed?) of each specific project.
Technical details
Parameters
Combine the core parameters mentioned separately in each article, for direct comparison on the same table:
| Board | Maximum clock speed | RAM | GPIO number |
|---|---|---|---|
| Arduino Uno | 16MHz | 2KB | ~20 |
| ESP32 | 160-240MHz | 320-520KB | ~34 |
| STM32 (depending on model, eg: F4) | 168-480MHz | 20KB - a few MB | Depending on the line, usually 37+ |
| Raspberry Pi Pico | 133MHz | 264KB | 26 |
Practical applications
When a robot project moves from the pilot phase (1 prototype) to low-volume production (e.g. a few dozen AMR robots for a corporate customer), board selection is based not only on technical specifications but also on component cost (BOM cost) and supply stability when purchasing in bulk — this is why many robotics teams start prototyping with Arduino/ESP32 (cheap, easy to buy retail) but switch to STM32 when actually produced, because STM32 has many genuine distributors to ensure a more stable supply, avoiding the risk of shortages affecting production plans.
Practical example: AMR architecture uses many combination boards
Real robots rarely use just one board — often combining multiple types according to the role each type is strongest in, as seen in the projects in section Projects of this page:
Diff Robot / Mecanum Robot:
Arduino/ESP32 (low level) — encoder reading, real-time motor control
Raspberry Pi 4 (high tier) — running ROS2, SLAM, Nav2
Atlas A2:
ESP32 (safety) — emergency stop button, collision sensor, instant response
Jetson Orin Nano (AI + navigation) — YOLO, SLAM, Nav2
General pattern: MCU for real-time/safety layer (discussed in microcontroller vs Microprocessor article), MPU for high-compute layer — choose the right role for each board instead of trying to put everything on a single board.
Common mistakes
- Choose a board based on "familiar name" instead of technical requirements — use Arduino for projects that need WiFi (must buy additional separate modules, more complicated than using ESP32 directly), or use ESP32 for industrial projects that need high reliability for which STM32 is more suitable.
- Underestimating the time cost of switching boards mid-project — code, libraries, and accumulated knowledge for one ecosystem (eg: Arduino) does not transfer directly to another (eg: STM32 HAL) – switching boards mid-project often takes much more time than thinking carefully from the beginning.
- Not checking sensor library compatibility before buying a board — some sensor libraries only support well on Arduino/ESP32, there is no full port for STM32 — check before deciding to avoid having to write your own driver from scratch.
- Do not consider the number of pins/peripherals needed when choosing a board — projects that need many motors + many sensors at the same time may exceed the number of GPIO pins of the Arduino Uno, requiring a board with more pins (Mega) or using an additional pin expansion IC.
Conclusion
The Arduino, ESP32, STM32, and Raspberry Pi Pico represent four different points on the trade-off spectrum between ease of use, performance, connectivity, and reliability — choose the right board from the start based on the actual requirements of the project, not on habits or household names. This is the last article in the microcontroller section — combined with the two previously learned sections: Fundamental Knowledge and Electronic Components, enough of a solid foundation to start the next C/C++ Programming section, which delves into how to write effective code for these boards themselves.
Get new articles and lessons by email
When a new technical article or course module is published, Atlas Robotics sends you a short email. No spam.
Unsubscribe any time with the link in each email. See our Privacy policy.