Now that you've got your pieces assembled and have CircuitPython installed on the Feather STM32F405 Express, all you have to do is is copy over a bit of code we've written to make the whole thing go. Before you continue, you'll want to make sure that your Feather is plugged into your machine and your operating system file explorer/finder has the board showing up as a drive named CIRCUITPY.

Installing Required Libraries

In order to run the code, we'll need to download a few libraries. Libraries contain code to help interface with hardware a lot easier for us.

To run the code for this project, we need the five libraries in the Required Libraries list below in addition to the Sip and Puff code. Unzip the library bundle and search for the libraries. Drag and drop the files or folders into a folder named lib on the CIRCUITPY drive which appears when your board is plugged into your computer via a known good USB cable.

Use the guide on installing libraries to get the latest library bundle for the CircuitPython.

Required Libraries

  • adafruit_displayio_ssd1306.mpy
  • adafruit_lps35hw.mpy
  • adafruit_register
  • adafruit_bus_device
  • adafruit_display_text

Installing the Project Code

With the libraries from the bundle installed, its time to install the project code!

Use the button below to download a zip of the Sip and Puff project. In the zip you'll see and some other files.

Copy all the files to the Feather STM32F405's CIRCUITPY drive

When everything is installed, the CIRCUITPY drive should look like this:

Sip and Puff code on GitHub

If you wish to access the code on GitHub, it can be found in this directory

The board should come up with the starting screen! If you see any errors, check the Mu editor's REPL for warnings or failures

This guide was first published on Feb 17, 2020. It was last updated on Feb 17, 2020.

This page (CircuitPython Code) was last updated on May 19, 2022.

Text editor powered by tinymce.