T ThinkEdge Learn

Raspberry Pi Pico: Why This Microcontroller Is a Teaching Breakthrough

The Pico is a 3.3 V microcontroller that costs less than most Arduino clones and adds programmable I/O, a feature almost no cheap board has.

raspberry pi pico pico raspberry pi pico w
Maker Hardware and IoT · Explains the RP2040 through the parts an Arduino does not have

What the RP2040 gives you

The heart of the Pico is the RP2040, a dual-core ARM Cortex-M0+ running at 133 MHz with 264 KB of SRAM and 2 MB of flash. Compare that with an Arduino Uno's 16 MHz ATmega328P with 2 KB of SRAM. The Pico has roughly ten times the clock speed and more than a hundred times the RAM, and it still costs about the same as a clone board.

The feature that makes the Pico genuinely different is Programmable I/O. Two PIO blocks sit alongside the CPU, each with four small state machines and eight instructions apiece. A state machine is a tiny processor you program to drive pins in exact timing, in parallel with the main CPU. That is how you talk to an addressable LED strip without a library, or generate a VGA signal, or drive a display at a rate the main loop could never keep up with. Both CPU cores are general purpose and can run different tasks at the same time, and the chip also has a proper DMA engine for moving data between peripherals and memory without the CPU touching it. It is a much more capable machine than its price suggests, and it is the reason the Pico became the default board for a generation of classroom robotics.

The three things that catch people out

First, the logic voltage. Everything on the Pico runs at 3.3 V, while an Arduino Uno's pins sit at 5 V. Wiring a 5 V output into a Pico input can damage it, and the reverse is usually harmless but is not guaranteed. If you are mixing boards, use a level shifter. The same 3.3 V rule applies to the supply: never feed 5 V into the 3V3 pin.

Second, the analogue inputs. The RP2040's ADC is 12-bit, which sounds better than the Arduino's 10-bit, but the four channels are not all equal. The fourth, ADC3 on GP29, is shared with the internal voltage reference and the USB PHY, so on the original Pico it interferes with USB unless the board is modified. On the Pico W the same channel doubles as the wireless chip's clock line, so it is only readable when the radio is idle. Plan around the three clean channels, ADC0, ADC1 and ADC2, on GP26, GP27 and GP28. Third, and least obvious, the base Pico has no radio. The Pico W adds Wi-Fi and Bluetooth, but the plain board is a microcontroller with nothing built in, which makes it cheap, low power and completely predictable. Many people buy the wrong one first, so decide up front whether your project needs a network.

Step by step

  1. Blink an LED and learn the toolchain

    Install the support package, flash an onboard LED and change the blink rate. Ten minutes here saves hours later in C, where compile errors are noisier than in Python.

  2. Check every voltage on the board

    With a multimeter, confirm the 3.3 V rail and the 5 V input. Pin labels on cheap boards are not always where the schematic says they are.

  3. Read an analogue sensor and plot it

    Read a potentiometer or an LDR on ADC0 and print the raw count. Watch the 12-bit count move and you have the basis for every analogue project.

  4. Use a second core

    Put a counter on core 1 and blink on core 0. Seeing both run without blocking each other is what makes the dual-core design feel real.

  5. Drive an LED strip with PIO

    Use a PIO state machine to send the timing-critical signal for an addressable strip. The main CPU is then free for everything else.

  6. Convert an Arduino project

    Take a build you already know, such as the blink-without-delay sketch, and port it. The algorithm is identical; only the pin names and the setup function change.

What you'll need

ItemQtyWhy
Raspberry Pi Pico or Pico W2One plain board for control work and one wireless board for connected projects, so the difference is explicit.
Micro-USB data cable1Used both for power and for programming, which is the Pico's most convenient feature.
Addressable LED strip, 1 metre, WS2812B1The classic PIO project, because the strip's timing is too tight for a naive software loop.
Breadboard and jumper wires1 setThe Pico's 40 pins break out cleanly onto a breadboard with no breakout board needed.
Potentiometer1A simple analogue input for reading values on ADC0 without any signal conditioning.
Logic level shifter, 4 channel1Required when connecting a 5 V Arduino module to a 3.3 V Pico input.

Practise it before you build it

Every step above has a matching circuit in the ThinkEdge Learn simulator. The simulator runs a real Arduino sketch against a modified-nodal-analysis solver, so digitalWrite actually drives the LED on screen and the readings change when you change the wiring — no hardware, no burnt components.

Common questions

Should I buy the Pico or the Pico W?

The Pico W if you need Wi-Fi or Bluetooth, the plain Pico if you do not. The W costs a couple of dollars more and adds a wireless chip that takes one of the ADC channels, so a project that needs every analogue input should stay with the plain board.

Is the Pico harder to program than an Arduino?

Only in the language, not in the thinking. The Pico is programmed in C or C++, while the Arduino can be programmed in C++ or in MicroPython over the USB connection. The logic you learn is identical; MicroPython is a gentler on-ramp for a class that has only used block-based or Python code.

Why does my Pico stop working when I plug in an LED strip?

Usually power. A one-metre WS2812B strip can draw close to a third of an amp at full brightness on white, which the Pico's 3.3 V regulator cannot supply from the USB port. Power the strip from a separate 5 V supply and join the grounds, and add a 1000 uF capacitor across the strip to absorb the current spike at switch-on.

Related guides

ESP32 Microcontroller: The One With the Radio OnboardThe ESP32 is a 3.3 V microcontroller with Wi-Fi and Bluetooth built in. What it really is, how it differs from an Arduino Uno, and where it fits in IoT builds. ESP32-S3: What Changed and Why It Matters for Class BuildsThe ESP32-S3 adds a native USB port, Bluetooth 5 and vector instructions to the original ESP32. Here is what changed and what it means for class projects. Raspberry Pi 5: What Changed Inside and How to Teach With ItThe Raspberry Pi 5 has a faster CPU, a new RP1 I/O chip and a 5 V power supply. What changed, what it costs, and how to use it in a classroom. Arduino Projects for BeginnersTen Arduino projects for beginners that really work, in the order that makes them easiest, with the parts each one needs and the mistake that catches people out.

Try the full simulator with your class

103 guided circuit projects, 21 lessons and an in-browser Arduino simulator. The first 15 projects are free, no account needed. NCERT Science mapping on 47 projects, with Arabic and English copy in the regional builds.