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.
Text editor powered by tinymce.