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.
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.
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 puff_detector.py, code.py 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:
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