Raspberry Pi Pico projects: eight builds with wiring and code

A stock ticker with one part, a macro pad with no diodes, a MIDI controller that plays through a speaker. Eight Raspberry Pi Pico builds with full wiring and firmware, simplest first.

Published

Raspberry Pi Pico projects: eight builds with wiring and code
On this page

Eight Raspberry Pi Pico builds, from a one-part Wi-Fi dashboard to a Pomodoro timer with an LED ring. Builders on Schematik made seven of them; the Schematik team made one. They're ordered from the simplest wiring to the most. Each project page has the parts list, the wiring, the pin assignments and the firmware, and opens in Schematik so you can change it.

Raspberry Pi Pico projects lists every Pico build on Schematik, with the same diagrams and code.

BuildBoardParts besides the board
Mini status dashboardPico 2 WOLED
RGB button controllerPicoRGB LED, button, 3 resistors, AA pack
Fridge scalePico 2 WLoad cell, HX711
Macro padPico6 switches, printed case
Air quality monitorPico 2 WOLED, BME280, SGP40
MIDI controllerPico8 buttons, 3 knobs, aux jack
Cosmic critter petPicoMPU6050, OLED, LED ring, buzzer
Pomodoro timerPicoOLED, encoder, LED ring, buzzer

Which Pico you need

The Pico is a microcontroller board, not a small computer. It doesn't run Linux. You program it in MicroPython, C or C++, and all eight builds here use Arduino-style C++.

There are two generations:

BoardChipMemory
Pico, Pico WRP2040264 kB RAM, 2 MB flash
Pico 2, Pico 2 WRP2350520 kB RAM, 4 MB flash

A W in the name adds Wi-Fi and Bluetooth. An H, or "with headers" on the Pico 2, means the pins come soldered on; without it you solder them yourself. The Pico and Pico 2 share a pinout, and so do the Pico W and Pico 2 W, so the wiring diagrams below carry across.

Only the mini status dashboard needs Wi-Fi. It, the fridge scale and the air quality monitor were built on a Pico 2 W; the other five are drawn on the original Pico.

To load code by hand, hold BOOTSEL while you plug the Pico into a computer. It shows up as a drive called RPI-RP2 (Pico) or RP2350 (Pico 2); drag a UF2 file onto it and it restarts running that code. Schematik projects skip this: the Deploy button flashes the board from the browser.

Mini status dashboard

A Raspberry Pi Pico 2 W and a small blue OLED on a breadboard, joined by four jumper wires, the screen lit.

One part: a 4-pin SSD1306 OLED. Four wires: VCC to 3V3, GND to GND, SDA to GP4 and SCL to GP5.

The Pico 2 W joins your Wi-Fi (you type the network name and password into the code) and switches screen every 8 seconds:

  • a mission timer counting up since power-on
  • UK time from the internet, with summer time handled
  • the last closing price of Apple, Nvidia, Tesla, Microsoft or Amazon, from the free Stooq quote feed

Swap the five stock symbols in the code for your own.

Build the mini status dashboard, by Bertie Bate.

RGB button color controller

Schematik wiring view: a Raspberry Pi Pico wired to an RGB LED through three resistors, a push button on GP9, and a two-AA battery pack.

One click steps a single RGB LED through red, green, blue, yellow, cyan, magenta and white. A double click jumps to yellow, or turns the LED off if it's already yellow.

The parts: a common-cathode RGB LED, a push button, three resistors and a 2 × AA battery pack. Red goes through a 220 Ω resistor to GP6; green and blue go through 100 Ω resistors to GP7 and GP8. The button sits between GP9 and GND, and the code turns on the Pico's internal pull-up, so a press reads as low. Pull-up and pull-down resistors explains why.

The batteries feed VSYS. The project page warns never to connect them to the 3V3 pin, which is an output.

Build the RGB button color controller, by juliaccquintanilha.

Fridge scale smart clip

A load cell hanging from the edge of a kitchen counter with a bowl and a box on its hook, the breadboard on the counter and a laptop showing the reading.

A 10 kg hanging load cell, ring on top and hook below, feeds an HX711 amplifier. A 4-position screw terminal is soldered onto the HX711 so the sensor wires clamp in. Four wires go to the Pico 2 W: VCC to 3V3, GND, DT to GP16 and SCK to GP17.

The firmware zeroes with the hook empty, then prints the change in raw weight to the serial monitor, averaging 10 samples per reading. Turning that into grams is the next step, and it's yours.

Never hang weight from the thin sensor wires, and stay under 10 kg.

Build the fridge scale smart clip, by Phillip Knopp.

3D printed macro pad

Schematik wiring view: a Raspberry Pi Pico with six push buttons on GP2 to GP7 and one shared ground wire.

Six MX switches in hot-swap sockets sit in a printed case. One ground wire runs to every switch, and the other contact of keys 1 to 6 goes to GP2 to GP7. No matrix, no diodes.

The Pico shows up on your computer as a USB keyboard and sends F13 to F18. Those are uncommon function keys, so games and apps can bind them directly. A small Python remapper changes any key to F13-F24, and the Pico keeps the mapping after you unplug it.

Build the 3D printed macro pad, by Lucian Raileanu.

Indoor air quality monitor

Schematik wiring view: a Raspberry Pi Pico 2 W sharing GP4 and GP5 with a BME280, an SGP40 air quality sensor and a 0.96-inch OLED.

Temperature, humidity, pressure and a VOC air-quality index, refreshed every two seconds on a 0.96-inch OLED.

Three modules: the OLED, an Adafruit BME280 for temperature, humidity and pressure, and a DFRobot Gravity SGP40 for the VOC index. All three share one I2C bus on GP4 and GP5 and take power from 3V3(OUT). The BME280's SDO pin goes to GND, which sets its address to 0x76. What is I2C? covers how several parts share two pins.

The SGP40 takes about ten seconds to settle after power-up. Don't breathe on the sensors while you judge normal readings.

Build the indoor air quality monitor, by Patrik Michalek.

Pico MIDI controller

Schematik wiring view: a Raspberry Pi Pico with eight buttons, three potentiometers and a 3.5 mm audio jack on a breadboard.

Eight buttons on GP6 to GP13 send MIDI notes 60 to 67. Three 10 kΩ knobs on GP26, GP27 and GP28 send control changes 20, 21 and 22. Plug it into a computer and it shows up as a USB MIDI device for your DAW or synth.

It also plays a tone for each button through a 3.5 mm aux jack on GP14, via a 1 kΩ resistor and two capacitors. Plug that into powered speakers and run the Pico from a phone charger or power bank, and it plays with no computer at all. The OpenSCAD file for the printed case is included.

Build the Pico MIDI controller, by stan_vandervoort.

Cosmic critter pet

A desk pet with a face. Tilt it and an MPU6050 accelerometer picks one of four moods: HAPPY, SLEEPY, DIZZY or HYPER. The OLED face and a WS2812B LED ring change with the mood, a button on GP14 cycles moods by hand, and a piezo chirps every 3 seconds when it's idle.

The MPU6050 and OLED share I2C on GP4 and GP5; the ring's data comes from GP12 and the buzzer from GP15. The ring runs on its own 5 V USB-C supply, with a 74AHCT125 level shifter on the data line and a 470-1000 µF capacitor across the supply. If the ring flickers or the Pico resets when the LEDs light, fit that capacitor as close to the ring's power pads as you can.

Build the cosmic critter pet, by Schematik. 40 minutes.

Pico Pomodoro timer

Schematik wiring view: a Raspberry Pi Pico wired to a rotary encoder, an OLED, three buttons, a 12-LED ring and a 74AHCT125 level shifter.

25 minutes of focus, 5 minutes of break, and a 15-minute break after four rounds. The OLED shows the phase, the time left and a progress bar. A 12-LED ring breathes blue while you focus, turns red in the last five minutes and glows amber on a break. Pause it and turn the rotary encoder to change a session's length a minute at a time.

The parts: a 128×64 SSD1306 OLED, a KY-040 rotary encoder, start/pause, reset and skip buttons, an active buzzer, a DFRobot 12-LED WS2812 ring, a 74AHCT125 level shifter, a 330 Ω resistor and a 1000 µF capacitor.

It comes last because it mixes voltages. The ring runs on 5 V from USB while everything else stays on 3.3 V, and the level shifter turns the 3.3 V data from GP13 into a 5 V signal the ring reads reliably. 3.3 V vs 5 V logic level shifting explains the step up. On first power-up the screen shows FOCUS and 25:00.

Build the Pico Pomodoro timer, by roniejoephv.

Try a Pico without parts

A short sketch Schematik wrote for the simulator: press the button and the face changes mood.

The Schematik simulator runs your firmware on a 3D workbench with your parts and wires. Press a button or drag a sensor, and the screens, LEDs and serial monitor react. It runs the Raspberry Pi Pico, ESP32 boards and the Arduino Uno, Nano and Mega. Open a project, pick Preview and press Run.

Start your own

Open Schematik and describe the build you want. For example:

Raspberry Pi Pico, SSD1306 OLED and a push button on a breadboard. Show a timer on the screen and start or pause it with the button.

You get the parts list, the wiring and the firmware, ready to deploy.

Keep building from here

Jump into a step-by-step build, or open Schematik and turn your own idea into code, wiring, and assembly instructions.