One-button BLE-MIDI drum looper on a Raspberry Pi Pico W
A Raspberry Pi Pico W becomes a four-track, two-bar drum looper with no extra parts: one BOOTSEL button records quantized beats and streams them over BLE-MIDI.

What it is
Free, BSD-3-Clause firmware by oyama that turns a bare Raspberry Pi Pico W into a two-bar drum looper: 4 tracks × 32 steps at 16th-note quantization, played entirely from the onboard BOOTSEL button and streamed over BLE-MIDI.
What you need
- Raspberry Pi Pico W unlinked — no Pico W part page in the catalog; the board is the entire BOM
How hard
Beginner: hold BOOTSEL, drag one prebuilt UF2 file onto the board, pair over Bluetooth. No toolchain, no wiring, no soldering — the whole build is one board, and a first loop lands the same evening.
Key Facts
- One-part hardware: a Raspberry Pi Pico W is the entire BOM — no wiring, no soldering, no extra components
- Four drum tracks (bass drum 36, snare 38, closed hi-hat 42, open hi-hat 46) × 32 steps = two bars at 16th-note quantization
- All control through the BOOTSEL button: click records, press switches track, long press tap-tempo, very long press clears
- Onboard LED marks the current step; a serial terminal at 115200 bps shows all four tracks, 32 steps and the playhead
- Streams over BLE-MIDI (advertises as Pico); GarageBand on iOS documented step-by-step, other BLE-MIDI receivers per the README's claim
- Flash with a drag-and-drop UF2 from release v1.1.4 — no toolchain; or build from source with the Pico SDK
- Core firmware is fewer than 300 lines of hardware-agnostic C over a drivers layer, designed as a finite state machine — readable in one sitting
- BSD-3-Clause licensed, verified from the license file
- Featured on Hackaday, April 28, 2025
About This Project
The whole shopping list for this drum machine is one line long: a Raspberry Pi Pico W. Plug it into your laptop, drag one file onto it, and it becomes a wireless drum machine you play from its own BOOTSEL button — the one thing every Pico already has. The project's own description is hard to beat: "BLE MIDI looper for Pico W. One button. Two-bars. Four tracks. Infinite possibilities."
Your first Pico W build that makes music
This is a genuinely rare shape of first build. There is no wiring, no soldering, no breadboard, no shield — nothing to buy after the board itself. You tap rhythms on the button, the firmware quantizes them to a grid, and the loop plays back over Bluetooth to GarageBand on your phone or any BLE-MIDI synth at the other end. It earned a feature on Hackaday ("Pi Pico Throws Us For A (MIDI) Loop", Tyler August, April 28, 2025), which is as good a signal as a tiny project gets that the idea lands.
Honesty split (MCU Atlas, sources fetched 2026-11-18): we verified this project's repository, README, release assets, license file, docs and the Hackaday feature against each other — every claim below traces to those. We have not built the hardware or heard the output; how it feels to play is the maker's own account. Where the README claims something we couldn't independently check, we say so inline.
What it does
A two-bar drum looper: 32 steps per track (4 beats × 4 subdivisions × 2 bars, in the README's own arithmetic), quantized to a 16th-note grid — whatever moment you click, the note lands on the nearest 16th. Four tracks, each a fixed drum voice, mapped by the firmware: track 1 is the bass drum (MIDI note 36), track 2 the snare (38), track 3 the closed hi-hat (42) and track 4 the open hi-hat (46). Two more notes are reserved as cues rather than drum hits: a hand clap (39) tells you the looper switched tracks, and a rim shot (37) serves as the metronome. Loop them, layer them, change tempo on the fly — the loop is the whole instrument.
One button, four gestures
Every function lives on the BOOTSEL button, described by the README as "utilizing just the onboard BOOTSEL button for all interactions". A short click (under half a second) records a note on the current track; a press of half a second or longer switches to the next track; a long press (2 s or more) enters tap-tempo mode; and a very long press (5 s or more) clears all tracks. You are never flying blind. The onboard LED gives visual indication of the current step as the loop plays, and if you open a serial terminal at 115200 bps you get the full picture: a pattern display of all four tracks, all 32 steps, with the playhead moving through them. Text-mode drum machine.
How to flash it — drag, drop, done
The maker ships a prebuilt UF2, so there is no toolchain, no SDK, no compiler on your machine at all. Download pico-midi-looper-ble-v1.1.4.uf2 (722,944 bytes) from the repo's latest release — v1.1.4 at the time of writing. Hold BOOTSEL while plugging the Pico W into USB; it mounts as a drive. Drag the UF2 onto that drive. The board reboots and starts advertising over BLE-MIDI as "Pico". That's the entire install.
One caveat worth writing on a sticky note: the repo's README describes this repository as preserving the final BLE-MIDI firmware, tagged v1.1.3-ble-final — that tag is a source snapshot, not a downloadable release. The downloadable release with the UF2 attached is v1.1.4. If a future release appears, the link below always points at the latest.
If you would rather build from source — because reading a small firmware is the best way to learn one — the project builds with the Pico SDK using the standard board flag for the Pico W, and the README walks the setup. The codebase is deliberately small enough to read in one sitting: the core is fewer than three hundred lines of hardware-agnostic C, with the board-specific pieces separated into a drivers layer and the whole behavior modeled as a finite state machine. The repo includes an architecture doc and a state-machine diagram of its own.
Pairing it with your gear
The looper connects as a BLE-MIDI device — to DAWs and synth apps, in the README's phrasing. The documented, step-by-step path is GarageBand on iOS: the repo ships a dedicated getting-started guide for exactly that pairing. The broader claim that it works with any BLE-MIDI synth or app is the README's; only the GarageBand-on-iOS path is spelled out in the docs, and we haven't tested other receivers. If your synth app accepts BLE-MIDI, this is the project that gives it a pocket drum machine.
License and credits
BSD-3-Clause — verified from the license file itself, not just the README's say-so. For a reader: you can study it, modify it, ship derivatives in your own projects (including commercial ones), as long as you retain the license notice. Combined with the sub-300-line core, this is one of the more friendly small firmwares to learn from or fork. Firmware by oyama; the Hackaday feature covers the project's USB/BLE-MIDI line and links to the maker's parent repository pico-midi-looper, an ongoing USB/BLE-MIDI looper — the repo cited here is the maker's preserved BLE-MIDI snapshot of the same firmware. MCU Atlas is an independent resource and is not affiliated with the maker, Raspberry Pi Ltd, Apple Inc. (GarageBand, iOS) or the MIDI Manufacturers Association.
Source & Attribution

How to Build It
Parts Needed
- Raspberry Pi Pico W (the entire bill of materials — no wiring, no soldering, no extra parts)
Steps
- 1
Get the board
A Raspberry Pi Pico W — the original Pico W board; the prebuilt firmware is built for it. That is the entire bill of materials.
- 2
Download the firmware
Download the prebuilt UF2 from the repo's Releases page (latest: v1.1.4, asset pico-midi-looper-ble-v1.1.4.uf2). No toolchain, SDK or compiler needed.
- 3
Flash it — drag and drop
Hold BOOTSEL while plugging the Pico W into USB; it mounts as a drive. Drag the UF2 onto that drive. The board reboots and starts advertising over BLE-MIDI as Pico.
- 4
Watch the pattern live
Open a serial terminal at 115200 bps: the firmware prints the full pattern display — all four tracks, all 32 steps, with the playhead moving through them. The onboard LED marks the current step.
- 5
Pair with your gear
Pair from GarageBand on iOS following the repo's getting-started guide (or use your own BLE-MIDI receiver — the 'works with any BLE-MIDI synth' claim is the README's).
- 6
Lay down the kick
Click BOOTSEL on the beat — notes snap to the 16th-note grid automatically. Track 1 is the bass drum (MIDI note 36).
- 7
Layer snare and hats
Press and hold (half a second or longer) to move to the next track and layer snare (38), then closed (42) and open hi-hat (46). A hand-clap cue confirms each track switch.
- 8
Tempo and clear
Long-press (2 s or more) to tap in a new tempo; if it all goes wrong, hold even longer (5 s or more) to clear every track and start again.
Bill of Materials
Parts list
1 parts · 1 linked
Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works
1× Raspberry Pi Pico W
Learn
Docs & guides
Read these before you buy. These pages explain things; they don't sell anything.
- Getting started with GarageBand (repo guide)The maker's step-by-step BLE-MIDI pairing guide for GarageBand on iOS.Docs
- Architecture doc (repo guide)How the firmware is built: hardware-agnostic C core under 300 lines, drivers layer, finite-state-machine design.Docs
- Latest release (prebuilt UF2)Drag-and-drop UF2 — no toolchain needed (v1.1.4 at the time of writing).Docs
Related Projects



