PicoDVI: HDMI/DVI video from a Raspberry Pi Pico, three ways
PicoDVI drives DVI/HDMI video straight out of a Raspberry Pi Pico — no video chip, just PIO pins and clever code. Three beginner routes compared; pick yours.

What it is
Real DVI/HDMI video out of a Raspberry Pi Pico's GPIO pins — PicoDVI bit-bangs the signal with the PIO blocks, no video chip.
What you need
- Raspberry Pi Pico
- DVI Sock or DVI/HDMI breakout
- HDMI cable and monitor
How hard
Intermediate — one modest soldering job and drag-drop flashing on the recommended routes; the SDK build needs a CMake toolchain.
Key Facts
- What it is: Luke Wren's BSD-3-Clause project — DVI video from RP2040 PIO pins, no video chip; repo active, updated 2026-08-01
- Reference output: 640×480 60 Hz RGB565 at a 252 MHz system clock (chip rated 133 MHz); C demos also reach 1280×720 30 fps
- Route A (cheapest): bare Pico + 8 series resistors ~220–270 Ω; Adafruit DVI Breakout 4984 $1.95 in stock (checked 2026-11-26)
- Route B (beginner pick): Adafruit DVI Sock 5957 $2.95 in stock (checked 2026-11-26) — original Pimoroni DVI Sock retired
- Route C (new-buyer pick): PiCowbell HSTX DVI 6363 $6.95 in stock (checked 2026-11-26); HSTX needs the RP2350 (Pico 2 / Pico 2 W)
- Boards: RP2040 Pico / Pico W for routes A and B; PiCowbell HSTX DVI also fits a Pico 2; HSTX is RP2350-only
- Resource bill (RP2040 route): one full core, both PIO blocks, 150–190 KB of the 264 KB SRAM
- Not in pico-extras (pico_scanvideo there is the separate VGA route); DVI signalling only — no audio

About This Project
PicoDVI is Luke Wren's open-source project that gets real digital video out of a Raspberry Pi Pico with no video chip anywhere in sight. The RP2040 chip on a Pico has no display hardware, but PicoDVI software makes its pins churn out a genuine DVI signal — the all-digital video format HDMI inherited its signalling from — and an ordinary monitor shows it on its HDMI input. The trick is bit-banging: DVI is just a very fast stream of bits on four wire pairs, and the Pico's PIO blocks (programmable input/output — tiny coprocessors inside the chip whose whole job is toggling pins at exact timings the main cores can't manage) emit those bits while the chip runs overclocked, from its rated 133 MHz to about 252 MHz. Wren's reference output is 640×480 at 60 Hz in 16-bit colour, with demos for a spinning 3D cube, a text terminal and video playback shipping in the repo.
There are now three good ways to wire a Pico to a monitor, and this page compares them side by side instead of selling you one: the bare-Pico route Wren designed (eight resistors, no extra board), the DVI Sock route (a tiny board that solders onto the end of your Pico), and the PiCowbell/HSTX route (an add-on board that can lean on the Pico 2's dedicated video hardware). Each route is explained in beginner terms below, the comparison table near the bottom of the page lines them up, and the hands-on build section walks through compiling Wren's demos yourself. Today's prices are in the key facts and the parts list below.
What PicoDVI is (and is not)
Two confusions to clear up before any wiring. First, PicoDVI is not part of Raspberry Pi's official pico-extras SDK add-ons — it is Wren's separate repository, BSD-3-Clause licensed, and very much alive: it was updated as recently as August 2026 and now leads with a preview port to the RP2350, the chip on the Pico 2, which can use that chip's built-in TMDS encoders instead of PIO. The VGA route you may have seen elsewhere, pico_scanvideo, is a different library with a different signal (analogue RGB through a resistor ladder) — that one does live in pico-extras. Second, this is DVI, not full HDMI: the video signalling is the DVI-compatible baseline every HDMI input understands, but there is no audio (the Arduino library "doesn't do audio, just graphics") and none of HDMI's extra features. A passive DVI-to-HDMI adapter handles the plug shape, and the boards below mostly just fit an HDMI socket.
Route A — the bare Pico and eight resistors
DVI video travels on four differential pairs: three for the colour channels and one for the clock. A Pico cannot drive true differential pairs, so Route A fakes each pair with two ordinary GPIO pins plus one series resistor per pin — eight pins, eight resistors, roughly 220–270 Ω (Wren's own design uses 270 Ω; Adafruit's boards use 220 Ω). The standard pin map, shared by Wren's Sock and Adafruit's boards, is GP12→D0+, GP13→D0−, GP14→CK+, GP15→CK−, GP16→D2+, GP17→D2−, GP18→D1+, GP19→D1−, plus a common ground. That is the entire circuit. Cost is a Pico plus about a dollar of resistors, or Adafruit's DVI Breakout (product 4984), which is just an HDMI connector with the 220 Ω resistors pre-fitted — prices checked 2026-11-26, see key facts. Keep the wires short and tidy: at 252 MHz, sloppy wiring shows up on screen. Realistic output: the C/C++ demos reach 640×480 at 60 Hz and even 1280×720 at 30 fps; the friendlier Arduino library renders an internal 320×240 or 400×240 framebuffer, pixel-doubled to 640×480 or 800×480. Works on the RP2040 Pico and Pico W.
Route B — the DVI Sock
Luke Wren also designed a tiny open-hardware board for Route A, the Pico DVI Sock: it carries the HDMI socket and the eight resistors, and you solder the "Raspberry end" of your Pico onto its castellated pads, leaving the rest of the Pico's pins free for headers. The original Pimoroni-manufactured Sock is retired — its product page is gone and its German reseller lists it as unavailable — so today the buy is Adafruit's DVI Sock (product 5957), a successor with the same passive circuit, the same GP12–19 pin map and 220 Ω resistors. You can wire it under the Pico or solder it onto the end like the original; either way it is one approachable soldering job, not a project in itself. If you then mount the assembly on headers for breadboarding, follow Wren's advice and cut off the last five pins per side, "so that the high-speed serial video signals aren't connected to the breadboard parasitics." Designed for the RP2040 Pico and Pico W.
Route C — PiCowbells and the HSTX route (Pico 2)
The 2024 Pico 2 (RP2350 chip) grew a dedicated video transmitter called HSTX (High Speed Transmission), and this route uses it instead of bit-banging: it "doesn't require PIO or overclocking and there's a lot more RAM on the RP2350," as Adafruit puts it — and it is not available on the RP2040, so this is the Pico 2 lane. Two add-on boards matter here. The PiCowbell DVI Output (product 5745) is the PIO route on a bell-shaped board that stacks under a Pico — its video pins are deliberately not the HSTX pins, so on a Pico 2 you cannot use the HSTX generator with it, and in CircuitPython it is RP2040-only. The PiCowbell HSTX DVI Output (product 6363) puts its video pairs on GPIO12–19, the HSTX-capable pins: it works with a Pico (PIO-DVI) or a Pico 2 (PIO-DVI or HSTX-DVI), and Adafruit recommends the Pico 2 so you save a PIO block and processor time. Realistic HSTX output in CircuitPython is 320×240 in 16-bit colour pixel-doubled to 640×480, or a true 640×480 at reduced colour depth.
Which route should a beginner pick?
Start with the Adafruit DVI Sock on a Raspberry Pi Pico. It is the cheapest tidy option by a wide margin (see key facts), the direct successor of Wren's own board, so every tutorial and pin map matches it, and it needs no logic, no spare-PIO planning and no HSTX-capable board — both easy software routes work on a plain Pico: Adafruit's Arduino PicoDVI library, which wraps the whole thing in familiar graphics calls, or CircuitPython's built-in picodvi module, which needs no compiler toolchain at all. Buying fresh and want the smoothest ride? Pick the PiCowbell HSTX DVI with a Pico 2: real video hardware, no overclocking, a PIO block to spare and more RAM, exactly the combination Adafruit recommends. Choose bare Pico plus resistors only if the soldering does not scare you and you want to watch the trick itself work — it is the cheapest and most educational route, and the least forgiving of messy wiring.
Build it yourself: the Pico SDK route
The hands-on heart of PicoDVI is compiling Wren's demos from source. You need your Pico, the DVI wiring from the route you picked, and a computer with the Pico SDK, CMake and an Arm toolchain. Clone the repo with its submodules, point CMake at the SDK (the PICO_SDK_PATH environment variable), configure your platform and DVI pin config — for Sock-style wiring that is DVI_DEFAULT_SERIAL_CONFIG=pico_sock_cfg, and the full list lives in common_dvi_pin_configs.h — then build. Hold BOOTSEL while plugging the Pico in and copy a demo UF2 onto the drive that appears. If a demo is unstable, try another one or a different cable: at 252 MHz most chips cope, but not every monitor latches onto every mode. The step-by-step section below mirrors this. Two easier software routes need no toolchain: install Adafruit's PicoDVI fork in the Arduino IDE, or drop a Python file onto a CircuitPython Pico.
The honest limits
The overclock: 252 MHz is nearly double the RP2040's rated 133 MHz, and Adafruit warns of "some risk of reduced component lifespan" — proceed at your own discretion. The resource bill on a Pico 1: DVI generation uses one full core, both PIO blocks and 150 KB (320×240) or 190 KB (400×240) of the chip's 264 KB of SRAM for the framebuffer — in Adafruit's words, "It's kinda maxed out." Monitor compatibility is not guaranteed: there is "no guarantee that every monitor can latch on to every PicoDVI mode." And the format is DVI, not HDMI proper: no audio, nothing HDMI-specific beyond the plug. None of this stops the demos from being magical — it is the trade you make for video out of a bare microcontroller. What we verified versus what the makers claim: every fact on this page was checked against primary sources on 2026-11-26 — Wren's repositories, Adafruit and Pimoroni product pages, the CircuitPython docs, with prices and stock read live that day (GitHub, adafruit.com, shop.pimoroni.com, berrybase.de, docs.circuitpython.org, cross-checked) — but we have not built this hardware ourselves: the performance figures (640×480 at 60 Hz, the 60 percent core load, 720p30 demos) are the makers' own reported numbers, attributed as such.
Known upstream issueMonitor pickiness is the most common real-world stumble: not every display latches onto every PicoDVI mode. If your first cable-and-monitor combo stays black, try the other before debugging the code.
The Pico's PIO blocks are the same engine behind other projects on this site — PicoFlasher uses them to turn a Pico into an Xbox 360 NAND flasher. The same board also becomes a browser-based oscilloscope and logic analyzer in Pico.Lab. New to the board? Our Raspberry Pi Pico hub rounds up every Pico build and board guide on the site.
Source & Attribution

How to Build It
Parts Needed
- Raspberry Pi Pico (RP2040) — or Pico 2 (RP2350) for the HSTX route
- DVI wiring: series resistors (~220–270 Ω), an HDMI/DVI breakout, a DVI Sock or a PiCowbell
- HDMI cable and monitor
- Computer with the Pico SDK, CMake and an Arm toolchain (not needed for the Arduino or CircuitPython routes)
Steps
- 1
Get a DVI output
Easiest is the Adafruit DVI Sock (product 5957), the successor to Wren's original Sock, which Pimoroni has retired. It solders onto the end of a Pico or wires underneath, on GP12–19. You can also wire an HDMI breakout with series resistors (about 220–270 Ω) or use a PiCowbell.
- 2
Set up the Pico SDK
Install the Pico SDK and toolchain, then set PICO_SDK_PATH or pass it to CMake.
- 3
Configure and build
Create a build folder and run CMake with your platform (rp2040 or rp2350) and DVI pin config (e.g. DVI_DEFAULT_SERIAL_CONFIG=pico_sock_cfg). The available pin configs are in common_dvi_pin_configs.h. Then run make.
- 4
Flash
Hold BOOTSEL while plugging in the Pico, then copy a demo .uf2 from the build folder onto the drive that appears.
- 5
Tips
The code overclocks the RP2040 to around 252 MHz, which most chips handle. If a demo is unstable, try another one, a different cable or a different monitor — not every display latches onto every mode. RP2350 builds use that chip's hardware TMDS encoders.
Bill of Materials
Parts list
2 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× DVI Sock / HDMI breakout
Adafruit DVI Sock $2.95 and DVI Breakout $1.95 in stock, PiCowbell HSTX DVI $6.95 (all checked 2026-11-26). The original Pimoroni Pico DVI Sock is retired — Adafruit's Sock is the current successor.
Not included: 3D-printed case, wire, solder, USB cable, HDMI cable and monitor, Computer with the Pico SDK, CMake and an Arm toolchain
Learn
Docs & guides
Read these before you buy. These pages explain things; they don't sell anything.
- Wren6991/PicoDVI — the project itselfThe repo: the full story of how the RP2040 hits DVI timings, demo source and the RP2350 preview.Docs
- Adafruit's PicoDVI Arduino library guideThe easiest software route: install the library in the Arduino IDE and draw with familiar graphics calls, no SDK build.Docs
- Using DVI video in CircuitPythonNo toolchain at all: the picodvi module turns a Pico into a display board you program by editing a file on its USB drive.Docs
- Wren6991/Pico-DVI-Sock — the Sock's design filesOpen hardware (CC0) for the Sock route: bill of materials, schematic and Wren's soldering walkthrough.Docs
- PiCowbell HSTX DVI guide (Adafruit)Assembly and software for the Pico 2 HSTX route, with the GPIO12–19 pin map and why Adafruit recommends the Pico 2.Docs
Community
Other community builds
The build this page covers is the walkthrough; other makers have taken the same idea in different directions. Here is how they compare.
| Build | What it adds | Difficulty | Key parts |
|---|---|---|---|
| CheapestBare Pico + series resistors | Wren's original design: 8 GPIO pins (GP12–19) with one ~220–270 Ω series resistor each, into an HDMI breakout ($1.95, Adafruit 4984, checked 2026-11-26). C demos reach 640×480 60 Hz and 1280×720 30 fps; the Arduino library pixel-doubles 320×240 or 400×240. Needs eight tidy solder joints. | Intermediate–advanced (soldering + wiring discipline) | RP2040 Pico, 8× 220–270 Ω resistors, HDMI breakout, HDMI cable |
| Beginner pickDVI Sock (Adafruit 5957) | Passive Sock: HDMI socket and 220 Ω resistors on board, GP12–19 wiring identical to Wren's original; $2.95 in stock (checked 2026-11-26). Solders onto the end of a Pico or wires underneath; every PicoDVI tutorial's pico_sock_cfg pin map matches it. Original Pimoroni DVI Sock retired. | Beginner-friendly (one castellated soldering job) | RP2040 Pico, Adafruit DVI Sock 5957, HDMI cable |
| Smoothest videoPiCowbell HSTX DVI + Pico 2 | Stacks under a Pico (mini-HDMI, STEMMA QT, reset button); $6.95 in stock (checked 2026-11-26). On a Pico 2 the RP2350's HSTX peripheral drives the video — no overclocking, no PIO cost, more RAM; CircuitPython does 320×240 pixel-doubled to 640×480 or true 640×480 at lower colour depth. Also runs PIO-DVI on a Pico 1. | Beginner (header soldering only) | Pico 2 (RP2350), PiCowbell HSTX DVI 6363, micro-HDMI cable |
Swipe the table sideways to see the Difficulty and Key parts columns.
Which one should you try? For a first build, get the Adafruit DVI Sock with a plain Pico — cheapest tidy route, and it matches every tutorial's pin map. Buying fresh? The PiCowbell HSTX DVI on a Pico 2 uses real video hardware instead of bit-banging. Go bare-resistors only if the soldering does not scare you and you want to watch the trick itself work.
Prices are Adafruit's own, checked 2026-11-26; the original Pimoroni Pico DVI Sock is retired, so Adafruit's Sock is its successor. Editorial comparison — links go to repos and guides, not stores.
Still choosing a board? The Raspberry Pi Pico hub rounds up more Raspberry Pi Pico projects, guides and parts.
Related Projects




