Main Content

An Introduction to RP2040 PIO with CircuitPython

Inspired by COVID-19 prevention, we have developed a system which measures the temperature of persons before they enter a building.
A feature that sets the Raspberry Pi Foundation RP2040 microcontroller apart from other microcontrollers is “PIO”. The RP2040 datasheet says that the “programmable input/output block (PIO) is a versatile hardware interface. It can support a variety of IO standards… PIO is programmable in the same sense as a processor.”

In this guide, you’ll learn how to write and use PIO programs from CircuitPython. The official datasheet (chapter 3), the book “Get Started with MicroPython on Raspberry Pi Pico” and pico-examples (pio folder) are helpful resources too, but CircuitPython sometimes deviates from the way that PIO is used in other environments like C or MicroPython.”

Link to article