QT Py RP2040 workshop

Published: Feb 17, 2022 by Steve Baskauf

I’m really excited to be working with Vanderbilt Science and Engineering librarian Francisco Juarez to develop a workshop series to teach participants to program the QT Py RP2040 microcontroller using CircuitPython.

bottom and top view of the QT Py RP2040 microcontroller

This QT Py board was built by Adafruit around the RP2040 microcontroller chip (top image, right) designed by the Raspberry Pi Foundation. They paired it with an 8 MB memory chip (top image, left), giving it an unusually large amount of memory for a microcontroller board. This puts a reather amazing amount of computing power onto a board only slightly larger than the size of your thumbnail!

What makes the QT Py RP2040 particularly easy to use is the plug-in STEMMA QT connector (bottom image, right) that allows you to chain one or more equally small sensor boards to the microcontroller without having to do any soldering. There is an amazing variety of sensors including ones that measure temperature, humidity, volatile organic compounds, light intensity, barometric pressure, proximity, and position (rotation, acceleration, and magnetic field in three dimensions). They are also relatively inexpensive, with the QT Py coming in at about $10 and the various sensors ranging from $6 to $18.

We’re planning three sessions for the series. The first session (April 1 at 1 PM CDT) will introduce the hardware and CircuitPython, the stripped-down version of Python designed to be used in microcontrollers. The second session (April 8 at 1 PM CDT) will be a hands-on workshop where participants will set up and program the microcontrollers themselves by connecting the boards to their laptops via USB. The final session (April 15 at 1 PM CDT) is planned to be a rocket launch where we will send up a battery-powered QT Py to record altitude (using the barometric pressure sensor) and motion data to the onboard memory for later analysis.

The workshop is still being developed, but you can get a sneak peak at the workshop website, which includes informational videos, sample code, links, and step-by-step instructions.

Share

Latest Posts

Humboldt Extension for Ecological Inventories Published
Humboldt Extension for Ecological Inventories Published

The Humboldt Extension for Ecological Inventories is a new metadata vocabulary that extends the Darwin Core Standard to make it possible to describe the inventories and sampling events that are used to collect organism occurrence data. This is the largest extension to Darwin Core since the original vocabulary was ratified in 2009 and it represents over three years of work by the Humboldt Extension Task Group. This group of international experts met weekly over that time period to develop the vocabulary, carry out implementation testing, and publish the vocabulary and associated documentation.

Camtrap DP paper published
Camtrap DP paper published

Camera trapping is an increasingly important method used by ecologists for monitoring animals in the wild. Camera trap data has previously been difficult to publish by conventional means, since the data includes many related images or videos that must be associated with the occurrence data. The new Camtrap DP standard provides a way to package camera trap data based on the open Frictionless Data Package specification. Camtrap DP datasets can be easily exchanged or published to the Global Biodiversity Information Facility (GBIF) where the included occurrence data will be integrated with biodiversity data collected by other means.

Nine hundred images added to Wikimedia Commons from ACT
Nine hundred images added to Wikimedia Commons from ACT

Charlotte Lew and I have been working for some time to improve access to images in the Art in the Christian Tradition database by linking descriptive metadata in Wikidata to the corresponding artwork images in Wikimedia Commons. In the first part of the project, we were primarily cleaning up and linking Wikidata metadata to images that were already in Commons.