The RP2040 is a dual-core Arm Cortex-M0+ microcontroller running at 133 MHz with 264 kB of on-chip SRAM, 30 GPIO pins, 16 PWM channels and 8 programmable I/O (PIO) state machines. It is the chip on the Raspberry Pi Pico family, including the Pico W. Figures are from the Raspberry Pi RP2040 datasheet.
Key specifications
| CPU | dual Cortex-M0+, 133 MHz |
|---|---|
| SRAM | 264 kB |
| GPIO | 30 (4 analogue inputs) |
| PWM | 16 channels |
| ADC | 12-bit, 500 ksps, 4 channels |
| USB | 1.1 host and device |
| PIO | 8 state machines |
What the datasheet promises
| Item | Datasheet value |
|---|---|
| Processor | Dual Arm Cortex-M0+, up to 133 MHz (or 200 MHz at 1.15 V, see the datasheet) |
| Memory | 264 kB of on-chip SRAM in six banks; up to 16 MB of off-chip flash over QSPI |
| GPIO | 30 multifunction pins, 4 of which can be analogue inputs |
| Serial buses | 2 UARTs, 2 SPI controllers, 2 I2C controllers |
| PWM | 16 channels |
| ADC | 12-bit, 500 ksps, 4 channels plus an internal temperature sensor |
| USB | USB 1.1 controller and PHY, host and device |
| Programmable I/O | 8 PIO state machines for custom interfaces |
| Other blocks | DMA controller, interpolator, integer divider, 2 PLLs, on-chip programmable LDO for the core voltage |
| Process | 40 nm |
The chip has no radio and no on-chip flash: a board adds the flash chip and, on the Pico W, the wireless module. The PIO state machines are what set it apart; they let you build interfaces such as extra UARTs, LED strip drivers or encoder readers that run beside the main code.
Using it on a robot
- Use the 16 PWM channels for motor drivers and servos from one chip.
- Use a PIO state machine to read a quadrature encoder or drive an addressable LED strip without using CPU time.
- Check the I/O voltage in the datasheet before connecting 5 V sensors, and use a level shifter such as the TXS0108E where needed.
- For built-in Wi-Fi and Bluetooth, use an ESP32 board such as the ESP32-C3.
Sources and further reading
- Raspberry Pi RP2040 datasheet — processor, memory, GPIO, peripherals and PIO above.
Last reviewed: November 2026. Limits are from the Raspberry Pi datasheet for the chip; boards add their own flash, regulator and pin choices. No price is quoted because it has not been checked.
Where to buy in India
These open a store search. Compare seller, price and reviews before you order.