Meet the $4 Raspberry Pi Pico Board with RP2040 Dual-Core Cortex-M0+ microcontroller
After we saw the launch of the Raspberry Pi 4 from the Raspberry Pi Foundation back in 2019, we are pleased to announce that the company has not rested on their oars as they have created their own microcontroller board called Raspberry Pi Pico, designed for not only the educationist or hobbyist but also for commercial products. The most interesting thing about this new board is that it is powered by an RP2040 dual-core Cortex-M0+ microcontroller designed by the foundation itself.
Let’s quickly talk about the RP2040 microcontroller. The name “RP2040” microcontroller is quite a unique one:
- RP is short for Raspberry Pi,
- 2 – the number of cores
- 0 – the MCU core used (Cortex-M0+)
- 4 – floor(log2(ram/16k)) formula to calculate a number representing the SRAM
- 0 – floor(log2(non-volatile/16k)) formula for non-volatile storage capacity inside the chip.
The Raspberry Pi Foundation probably decided to create a custom MCU to prevent people from copying the hardware too easily and using their software. It could also be that they wanted to sell the RP2040 microcontroller to makers who are looking to design their own boards/projects with it because from updates being received, third party RP2040 boards have been announced by Arduino, Sparkfun, Adafruit, and Pimoroni already.
Now, to the Raspberry Pi Pico board itself. As we mentioned earlier, the Raspberry Pi Pico is based on the RP2040 microcontroller. It is a low-cost, high-performance microcontroller board with 2x ARM Cortex-M0+ cores run up to 133MHz, 256KB RAM, 30 GPIO pins, 2MB of onboard QSPI Flash memory for code and data storage, and a broad range of interfacing options. The only downside to this board is that the pins support only 3.3V, and there’s no 5V tolerance.
Raspberry Pi Pico Specifications:
- Raspberry Pi RP2040 dual-core Cortex-M0+ MCU @ 48 MHz (maximum of 133 MHz) with:
- 264 kB of embedded SRAM in 6 banks
- 30x multifunction GPIO
- 6x dedicated IO for SPI Flash
- Dedicated hardware for commonly used peripherals
- Programmable IO for extended peripheral support
- 4 channel ADC with an internal temperature sensor, 0.5 MSa/s, 12-bit conversion
- USB 1.1 Host/Device
- SWD Debug interface
- Package: QFN56 7x7mm
- 2MB QSPI flash
- 1x Micro USB 1.1 port (for power and programming)
- 2x 20-pin 2.54mm pitch header and castellated holes with 26x GPIOs, 3x 12-bit ADC, 2x UART, 2x I2C, 2x SPI, 16x PWM and 2x programmable high-speed I/O
- 3.3V I/O voltage
- 12-bit temperature sensor
- 3-pin Arm SWD port
- BOOTSEL button
- User LED
- 1x Timer with 4x alarms
- 5V via Micro USB port or 2V – 5V DC via VSYS pin
- Dimensions: 51 mm x 21mm
The board doesn’t come with headers so you might have to solder them yourself or better still, buy the version with soldered headers.
Software support for the board is MicroPython and C/C++ programming with the command line or Visual Studio Code. Both the MicroPython and C/C++ SDK as well as hardware and software details are all available on the company’s Github. You’ll also find a “Get Started with MicroPython on Raspberry Pi Pico” manual provided by the company to help younger makers in their development journey.
Raspberry Pi Pico is currently selling for $4 without shipping. You can also choose to buy the version of the board with pre-soldered headers or the Basic kit that has a Pico board or the one that doesn’t. All versions of the board are available on RS Components, Cytron (ASEAN only), and Seeed Studio.