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:

Angled shot of Raspberry Pi 4
NOTE: Due to stock limitations we may only be able to offer refunds or store credit for Pis that are defective, damaged or lost in transit.The Raspberry Pi...
Out of Stock

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

Pink polished finger touching the screen of a PiTFT Plus 320x240 3.2" TFT + Resistive Touchscreen.
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...
Out of 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:

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

Angled shot of a Adafruit FT232H Breakout - General Purpose USB to GPIO, SPI, I2C - USB C & Stemma QT.
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:

TFT breakout wired to arduino, hand drawing of a heart, star, and swirling line using touchscreen
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...
$29.95
In 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 03, 2020.

Text editor powered by tinymce.