Get all your news in one place.
100’s of premium titles.
One app.
Start reading
Tom’s Hardware
Tom’s Hardware
Technology
Les Pounder

Adafruit Demonstrates RP2040 DVI Output for CircuitPython

Limor "Ladyada" Fried demonstrates DVI video output with Adafruit Feather RP2040 with DVI

It seems that the dream of a CircuitPython powered home computer is inching ever closer. Adafruit's recently released Feather RP2040 DVI simplifies the process of using the Raspberry Pi Pico's RP2040 SoC with DVI / HDMI output. In a video from Adafruit we can see live CircuitPython output running on an HDMI monitor using code that was originally developed for bare metal CircuitPython on the Raspberry Pi. This new board could become a hot contender to join our Best RP2040 Boards list.

In the video we can see Adafruit founder Limor "Ladyada" Fried demonstrating DVI output using CircuitPython. We can see that this is CircuitPython 8.1.0-beta and Fried demonstrates video output using a port of Python Turtle, itself a version of LOGO's turtle command. CircuitPython code is written on an external PC and when saved it triggers the code to execute. Fried's second demo shows Sierpiński triangle, a fractal composed of triangles, rendered in real-time.

So why is this important? For two reasons. Firstly to output graphics with the RP2040 we would normally need a lean programming language. In the past C/C++ and Arduino code provided the best results. In fact early demos of this board used the PicoDVI Arduino library to generate video output. With a CircuitPython alternative, we have an easier entry point for those who want to dip their toe into the project. CircuitPython abstracts much of the complexity via pre-written modules of code. Secondly, we now are a step closer to using CircuitPython without the need for a laptop or desktop computer. Once we have USB keyboard support, we could run the board "bare metal" with CircuitPython.

The idea of a "bare metal" version of CircuitPython for the Raspberry Pi was first mentioned by CircuitPython lead developer, Scott Shawcroft, during an episode of Tom's Hardware: The Pi Cast. The idea is to boot the Raspberry Pi directly into a Python Shell (REPL) where the user can directly work with Python and the GPIO in a manner similar to 1980s home computers. Shawcroft's Github branches contained a build of CircuitPython with support for DVI output.

Adafruit's $14.95 Feather RP2040 with DVI is currently out of stock. But, we can't wait to try it out for our self.

Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.