Want to measure various air quality parameters, like humidity, temperature, CO2, etc.? Want to measure these directly into your computer? Want to do all this without soldering? No problem. In this guide we'll show how this can done using the Adafruit Trinkey QT2040.

We'll use a Sensirion SCD40 for CO2 measurement. For temperature, pressure, and humidity, we'll use a Bosch BME280. By connecting everything together using STEMMA QT cables - no soldering is required.

Choose Your Own Adventure

This guide shows several different ways of coding up the Trinkey Enviro Sensor Gadget. Pick which ever adventure seems the most exciting! Or works best for your use case. Or try them all out!

Here is a summary:

  • Arduino - Read via USB CDC serial. Precompiled UF2's are provided. Code changes require recompiling provided source with Arduino IDE.
  • CircuitPython - Read via USB CDC serial. Code changes can be done directly to source without recompiling.
  • U2IF - Read directly into PC using Python with Blinka. Code changes are done on the host PC.

Parts

Here is a list of the hardware items used in this project:

It's half USB Key, half Adafruit QT Py, and a lotta RP2040...it's Trinkey QT2040, the circuit board with an RP2040 heart and Stemma QT legs....
$7.50
In Stock
Take a deep breath in...now slowly breathe out. Mmm isn't it wonderful? All that air around us, which we bring into our lungs, extracts oxygen from and then breathes out carbon...
$49.50
In Stock
Bosch has stepped up their game with their new BME280 sensor, an environmental sensor with temperature, barometric pressure and humidity! This sensor is great for all sorts...
Out of Stock
 Here is the perfect hardware kit to make a RP2040 QT Trinkey into any kind of USB-connected smart sensor with a...
$1.50
In Stock
This 4-wire cable is 50mm / 1.9" long and fitted with JST SH female 4-pin connectors on both ends. Compared with the chunkier JST PH these are 1mm pitch instead of 2mm, but...
$0.95
In Stock

This guide was first published on Dec 22, 2021. It was last updated on Dec 22, 2021.

This page (Overview) was last updated on Jan 16, 2022.

Text editor powered by tinymce.