Microcontrollers for small projects

The modern, accessible MCUs worth starting a small project with, chosen for free tools, cheap debug probes, core boards to prototype on, and packages you can solder or have assembled.

8 parts, 2 recommended. Updated .

What to look for

  • Tools first. A free toolchain that works on your computer, support in the framework you use (C SDK, Arduino, MicroPython, Rust), and a cheap debug probe
  • A cheap core board, so the code can be written before the board is laid out
  • A package you can build with. SOIC, TSSOP and LQFP solder by hand; QFN needs paste and hot air, or assembly
  • Supply voltage. Most modern parts are 3.3 V only; a few run from 5 V directly, which saves a regulator and level shifting
  • Flash and RAM with room to grow. Parts with external QSPI flash need one more chip and a careful layout
  • The peripherals the project needs, such as USB, a usable ADC, enough timers and PWM, programmable I/O, CAN or low-power modes
  • Availability from more than one distributor, and a genuine part. Popular old parts are widely cloned and remarked

Alternatives

RP2040

Raspberry Pi

QFN-56 (7 × 7 mm)

The RP2350's predecessor, with the largest library of examples, boards and projects of any modern MCU. Still a fine choice for existing code or the very cheapest boards; for a new design the RP2350 costs little more and does more.

  • 2× Cortex-M0+
  • 133 MHz rated (200 MHz at a raised core voltage, per the datasheet)
  • 264 KB SRAM
  • external QSPI flash up to 16 MB
  • 30 GPIO
  • 2 PIO blocks (8 state machines)
  • USB 1.1 full-speed host and device
  • 4-channel 12-bit ADC
Price not yet checked
Datasheet RP2040 Datasheet, Release 13, build 19 Nov 2026

STM32C011 / STM32C031

STMicroelectronics

and (C011); to (C031)

The cheapest STM32s, for small jobs such as a sensor node, a button and LED controller, or a smart I2C peripheral to another processor, with the same tools and probe as the STM32G0.

  • Cortex-M0+
  • 48 MHz
  • 16–32 KB flash
  • 6 KB SRAM (C011) or 12 KB (C031)
  • 2.0–3.6 V
Price not yet checked
Datasheet ST DS13866 Rev 5, Feb 2026 (STM32C031 DS13867 Rev 4, Jan 2024)

AVR64DD28

Microchip (AVR DD family, 14 to 32 pins)

, and others in the family

The modern 5 V AVR. Runs straight from a 5 V rail with leaded packages, programs over a single UPDI wire with a USB-serial adapter, and has good Arduino support. Choose it over the ATmega328P for a new 5 V design.

  • 8-bit AVR
  • 24 MHz
  • 16–64 KB flash
  • 2–8 KB SRAM
  • 1.8–5.5 V
  • 12-bit ADC
  • multi-voltage I/O (MVIO)
  • UPDI programming
Price not yet checked
Datasheet Microchip DS40002315C, Feb 2024

Budget options

CH32V003

WCH

, , ,

A full 32-bit MCU for about ten cents that runs from 3.3 V or 5 V. Good for tiny dedicated jobs, such as driving LEDs, reading a sensor, or replacing a 555 or some logic. It needs a WCH-LinkE probe to program, and 2 KB of RAM fills quickly.

  • QingKe RISC-V2A (RV32EC)
  • 48 MHz
  • 16 KB flash
  • 2 KB SRAM
  • 2.7–5.5 V
  • 10-bit ADC
  • single-wire debug (SDI)
Price not yet checked
Datasheet WCH CH32V003 Datasheet V1.8

Avoid for new designs

ATmega328P

Microchip

, ,

The Arduino Uno chip. Still made and still well supported, but Microchip now marks it not recommended for new designs, and it costs more than parts that do far more. Use it only when you need Uno compatibility; for a new 5 V design use an AVR DD or DA.

  • 8-bit AVR
  • 20 MHz
  • 32 KB flash
  • 2 KB SRAM
  • 1 KB EEPROM
  • 1.8–5.5 V
Price not yet checked
Datasheet Microchip DS40002061B, Aug 2020 (status NRND, Dec 2026)

STM32F103C8

STMicroelectronics

LQFP-48

The "Blue Pill" chip. A capable part, but older and dearer than an STM32G0, and cheap boards often carry clone or remarked chips that behave differently. Use an STM32G0 or another current family for new work.

  • Cortex-M3
  • 72 MHz
  • 64 KB flash
  • 20 KB SRAM
  • 2.0–3.6 V
  • USB 2.0 full-speed device
Price not yet checked
Datasheet ST DS5319 Rev 20, Jul 2025

Which one to start with

  • Most new boards: RP2350A (or the RP2354A to save the flash chip). Plenty of RAM, USB without a probe, PIO for odd protocols, and the best documentation of any of them.
  • Hand-soldered, low power, or a small job with internal flash: STM32G031, in SO-8 to LQFP-48. Move to the STM32G071 for more memory or USB-C Power Delivery.
  • Running from 5 V: AVR DD (or a CH32V003 for the smallest jobs).
  • The cheapest possible dedicated controller: CH32V003, or the STM32C011 if you would rather stay with ST’s tools.
  • Wi-Fi or Bluetooth: see Wireless microcontrollers.
  • A breadboard, stripboard or a DIP socket: see Through-hole microcontrollers, from 8-pin PICs and ATtinys to the AVR DD in a 28-pin DIP.

Start on a core board (Raspberry Pi Pico 2, an STM32 Nucleo or a WeAct board, a CH32V003 board with a WCH-LinkE) and write the firmware there. Lay out your own board once the pins and peripherals are settled.

Typical circuits

The minimum around any MCU

  • A 100 nF capacitor at every supply pin, as close as possible, plus one bulk capacitor (4.7–10 µF) per rail. Follow the datasheet’s own list: some parts also want a capacitor on an internal regulator pin.
  • The reset pin: a pull-up and 100 nF where the datasheet asks for one, and a button to ground if you want one.
  • Boot-mode pins (BOOT0 on STM32, BOOTSEL on RP2350 and RP2040) pulled to the normal-run state, with a button or pad to select the bootloader.
  • A debug header (SWD: SWDIO, SWCLK, GND, 3.3 V and ideally reset; UPDI or SDI for the AVR and CH32V003). It costs nothing and saves hours.
  • A crystal only if you need accurate timing or USB. The RP2350 and RP2040 need their 12 MHz crystal for USB; most STM32 parts can run USB-free work from the internal oscillator.

USB

Use the MCU’s own USB with ESD protection at the connector (see ESD and TVS protection), 5.1 kΩ CC pull-downs on a USB-C receptacle, and the series resistors the datasheet asks for.

External flash (RP2350, RP2040)

Put the QSPI flash right next to the MCU with short, direct traces, and copy the reference design (the Pico 2 or the “Hardware design with RP2350” guide). The RP2354A and RP2354B avoid this altogether.

Pitfalls

  • RP2350 A2 stepping, erratum E9. On A2 parts a GPIO with its input enabled leaks current and floats at about 2.2 V, so the internal pull-down cannot pull it low. It is fixed in the A3 stepping and later. Check which stepping you are buying, or use external pull-downs.
  • The RP2040’s only ground is the exposed pad. It must be soldered well, which hand soldering rarely achieves. Use paste and hot air, or have it assembled.
  • 5 V on 3.3 V parts. Most modern MCUs are 3.3 V only, with only some pins 5 V tolerant, and only when powered. Read the pin table before connecting 5 V signals.
  • Debug probes are not interchangeable. SWD covers the STM32 and RP parts; the CH32V003 needs a WCH-LinkE and the AVR DD needs UPDI. Budget for the probe when you choose the part.
  • Clones and remarks. Very popular older parts (the STM32F103, the ATmega328P) are widely cloned. Buy chips from a franchised distributor or a reputable assembler, and be wary of very cheap boards.
  • RAM is the limit that bites. 2 KB (CH32V003, ATmega328P) disappears fast once you add a display buffer, a protocol stack or printf. Choose a part with room to spare.

About this guide

A short list of parts worth starting with for this job, chosen on engineering merit, with the reasons, typical circuit notes and the usual pitfalls. Prices are shown at a small quantity and at volume, with the source and the date they were checked.

Disclaimer

  • Guidance only. Specifications are summarised in my own words from the manufacturer's datasheet revision shown; always design from the current datasheet. Parts marked "not yet checked" have not been verified against it.
  • Prices are a guide, not a quote, and change often. Check with your supplier before you order.
  • Part and manufacturer names are used only to identify parts. This guide is independent and not affiliated with, endorsed by or sponsored by any manufacturer or supplier.
  • Provided as is, without warranty. You are responsible for the designs you build.