23 Pi Raspberry Pi Pico

Element 23 of 86 — The Periodic Table of Robotics

Raspberry Pi Pico

Boards & Brains

The £4 microcontroller that sparked a maker revolution — tiny, fast, and ideal for driving robot motors, sensors, and servos.

raspberrypi.com

Raspberry Pi Pico in the table

Four pounds. Two cores. Infinite projects. The Raspberry Pi Pico is one of the most capable bits of kit you can drop into a robot build — and it fits on a breadboard.

What is the Raspberry Pi Pico?

The Raspberry Pi Pico is a microcontroller board built around the RP2040 chip, designed by the Raspberry Pi Foundation and launched in January 2021. Unlike a Raspberry Pi computer, it does not run Linux — it runs your code directly on the chip, with nothing in between.

The headline specs are genuinely impressive for the price:

  • Dual-core Arm Cortex-M0+ running at up to 133 MHz
  • 264 KB of SRAM and 2 MB of onboard flash
  • 26 GPIO pins, including 3 analogue inputs
  • Hardware PWM on every GPIO pin
  • I2C, SPI, UART — all the serial protocols robots need
  • USB 1.1 for programming and serial comms

The Pico W adds 2.4 GHz WiFi (and Bluetooth on the Pico 2W), turning your robot into a wirelessly connected machine for about £6.

The board at a glance

The Pico has a column of GPIO pins down each long edge, the USB port and BOOTSEL button at one end, and the RP2040 chip in the middle. Power and ground are spread along both sides so a sensor is never far from what it needs:

                     ┌─── USB ───┐
              ┌──────┴───────────┴──────┐
        GP0 ──┤1                      40├── VBUS (5V in)
        GP1 ──┤2                      39├── VSYS
        GND ──┤3        ┌────────┐    38├── GND
        GP2 ──┤4        │ RP2040 │    37├── 3V3_EN
        GP3 ──┤5        │  dual  │    36├── 3V3 (out)
        ...   │         │  core  │      │  ...
              │         └────────┘      │
       GP15 ──┤20  [BOOTSEL]         21├── GP16
              └─────────────────────────┘

   26 × GPIO  ·  3 × ADC (GP26–28)  ·  PWM on every pin
   I2C / SPI / UART available on many pins

Hold BOOTSEL while plugging in USB and the Pico appears as a drive — drag a .uf2 on and it reprograms itself. That’s the whole flashing process.

Why robot builders care

Microcontrollers are the right tool for real-time control. When your robot needs to read an ultrasonic sensor every 10 ms, pulse a servo at exactly 50 Hz, and spin two DC motors at different speeds — all at once — a microcontroller handles that without flinching.

The Pico does all of this with hardware-level precision. Its Programmable I/O (PIO) blocks can even implement custom protocols in hardware if you need something unusual.

The price matters too. You can put a Pico inside every robot you build without worrying about the cost. Break one? Replace it for the price of a coffee. That freedom encourages experimentation — which is exactly how you get better at robotics.

MicroPython support is first-class on the Pico, so you can write readable Python code and have it running on hardware in minutes. C/C++ is fully supported if you need every last bit of performance.

Get started

The quickest first step is flashing MicroPython onto your Pico. Hold the BOOTSEL button, plug in USB, and drag the .uf2 firmware file onto the drive that appears. The whole process takes under two minutes. Then open Thonny and you have a live Python prompt talking directly to your hardware.

The Raspberry Pi Pico with MicroPython — GPIO Mastery course is a solid introduction to controlling real hardware — LEDs, buttons, and sensors — from Python code.

Once you have the basics, MicroPython Robotics Projects with the Raspberry Pi Pico takes you through motors, servos, and sensor-driven behaviour — everything you need to build a moving robot.

For inspiration on what the Pico can actually do, 10 Projects for your Raspberry Pi Pico covers a brilliant range of builds, from simple gadgets to full robots.

The Pico’s combination of low cost, solid documentation, and strong community makes it the ideal first microcontroller for robot builders. Start simple, build something that moves, and go from there.

Reacts well with

More Boards & Brains

Learn more on KevsRobots

Courses
Projects to build
Articles to read

Share this element

This page is awesome? Show some love!

Did you find this content useful?


If you found this high quality content useful please consider supporting my work, so I can continue to create more content for you.

I give away all my content for free: Weekly video content on YouTube, 3d Printable designs, Programs and Code, Reviews and Project write-ups, but 98% of visitors don't give back, they simply read/watch, download and go. If everyone who reads or watches my content, who likes it, helps fund it just a little, my future would be more secure for years to come. A price of a cup of coffee is all I ask.

There are a couple of ways you can support my work financially:


If you can't afford to provide any financial support, you can also help me grow my influence by doing the following:


Thank you again for your support and helping me grow my hobby into a business I can sustain.
- Kevin McAleer

What are you looking for?
Watch Videos Get Ideas Learn Something Read a Review Read the Blog Search
... Z Z z