Since the PyPortal came out, there have been many examples written which take advantage of the CircuitPython displayio graphics system. We have been working on writing a version of displayio that runs on Blinka, the CircuitPython compatibility layer for Python 3 on single board computers. With Blinka, you can run your favorite CircuitPython displayio applications and games on boards such as the Raspberry Pi or even the FT232H.

To make things even easier, we also wrote a version of the PyPortal library that runs on Blinka to make it even easier to get up and running. The Raspberry Pi is already connected to the internet, so we decided to take advantage of this and removed much of the code that handled managing the connections and replaced it with the Linux equivalents.

The Blinka PyPortal library is a port of the original PyPortal library that is intended to be run in CPython.  It leverages the Blinka Displayio library, which is a port of the original CircuitPython displayio library and is built on top of Adafruit Blinka and the Python Imaging Library. The idea behind the PyPortal library is to be able to run many of the examples that are currently available for the PyPortal with minimal changes.

Parts

To run the examples, you'll need a Raspberry Pi or FT232H. If you are going the Raspberry Pi route, a Raspberry Pi 4 is preferred due to its processing speed:

Raspberry Pi 4 Model B - 4 GB RAM

PRODUCT ID: 4296
The Raspberry Pi 4 Model B is the newest Raspberry Pi computer made, and the Pi Foundation knows you can always make a good thing better! And what could make the Pi 4 better...
$55.00
IN STOCK

For the Raspberry Pi, you will also need a PiTFT such as the 3.2" TFT:

PiTFT Plus 320x240 3.2" TFT + Resistive Touchscreen

PRODUCT ID: 2616
Is this not the cutest little display for the Raspberry Pi? It features a 3.2" display with 320x240 16-bit color pixels and a resistive touch overlay. The plate uses the high...
$39.95
IN STOCK

If you would like to play sound, one of the easiest ways is to connect an amplified speaker to the Raspberry Pi such as the Monoprice 5-watt amp:

Monoprice 5-Watt Guitar Amplifier, Portable Recorder

PRODUCT ID: 4402
Always be ready rock out or record with this 5-watt Guitar Amplifier, Portable Recorder, and USB Audio Interface from Monoprice.This handheld 5-watt amp...
$29.95
IN STOCK

If you would prefer to run it directly from your computer, you could use an FT232H:

Adafruit FT232H Breakout - General Purpose USB to GPIO, SPI, I2C

PRODUCT ID: 2264
Wouldn't it be cool to drive a tiny OLED display, read a
$14.95
IN STOCK

For the FT232H, you will need a Breakout TFT such as the 2.8" TFT Breakout:

2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket

PRODUCT ID: 1770
Add some jazz & pizazz to your project with a color touchscreen LCD. This TFT display is big (2.8" diagonal) bright (4 white-LED backlight) and colorful! 240x320 pixels with...
OUT OF STOCK
This guide was first published on Jul 09, 2020. It was last updated on Jul 09, 2020.
This page (Overview) was last updated on Jul 09, 2020.