For high-volume, price-sensitive products the microcontroller is often the single biggest lever on cost. The right answer depends less on raw performance and more on how much memory, which peripherals and what connectivity your product truly needs.
Start with a requirements list
- Flash and RAM, with room to grow (including a bootloader if you want updates).
- ADC channels, resolution and sample rate.
- Timers, PWM channels and communication buses (UART, I²C, SPI, USB).
- Wireless: none, Bluetooth, Wi-Fi, or both.
- Supply availability and second sources over the product's lifetime.
The three options compared
| Option | Strengths | Watch out for |
|---|---|---|
| WCH CH32V003 | 32-bit RISC-V at 48 MHz, 16 KB flash, 2 KB SRAM, 10-bit ADC, reported pricing around ten US cents in volume | Very little memory, so firmware must be designed for it from the start |
| STM32 (entry families) | Huge ecosystem, mature tools, many package and memory options | Higher unit cost than the cheapest RISC-V parts |
| ESP32 family | Integrated Wi-Fi and Bluetooth, plenty of memory | Higher power and cost if you do not need wireless |
Five questions to decide
Does it need wireless?
If yes, an ESP32-class part is usually cheaper than an MCU plus a separate radio module.
How big is the firmware really?
Estimate flash and RAM, including a bootloader and future features. Leave at least 30% headroom.
What volume and price target?
At high volume, a few rupees per unit justifies extra firmware effort on a smaller chip.
What does your team know?
Toolchain familiarity shortens development, but should not override a large BOM saving.
Can you get it for five years?
Check distributor stock, lifecycle status and pin-compatible alternatives.
Frequently asked questions
Is the CH32V003 reliable enough for products?
It is used in many low-cost products. As with any part, validate it against your temperature, ESD and supply requirements before committing.
Can a tiny MCU support firmware updates?
Yes, with a small bootloader and careful flash layout. My USB power meter story shows how.
Should I always pick the cheapest part?
No. Pick the cheapest part that meets every requirement with headroom. A respin costs more than years of savings.