Git Product home page Git Product logo

co2tin's Introduction

CO2 Tin. Measure local CO2 (and temp, humidity) in a device you can easily toss in a pocket.

Major components:

Most connections are using the included STEMMA ports on the sensor, MCU, and display. To save a bit of space I removed the connector on the display then soldered a short halved STEMMA cable to the pads on that board. Then Plugged that into the CO2 sensor, then onward to the MCU. MCU, LiPo battery, and driver board in the base of the tin with the switch. Battery plugs into specific port on the LiPo driver board. Everything is held down with foam tape or an abundance of hot glue. I needed to use Kapton tape in a few spots to keep pads from shorting to the tin case.

In addition to the STEMMA ports, the following solder connections are required:

  • Switch leads between LiPo driver GND and EN
  • LiPo driver GND to MCU GND
  • LiPo driver +5v to MCU +5v
  • LiPo driver USB to LiPo driver +5v
  • LiPo driver LB to MCU A3

It's a fun game to get everything connected and packed into the tin. To start I used a buddy's mill to cut a window in the lid for the display plus a slot for the USB-C and switch. A drill + file would do the same job without much more hassle. Solder the connections above in parts while you secure bits. I started with the display, then CO2 sensor on the lid. MCU and battery before the LiPo driver. It took a few tries to not snap wires or short anything with the lid closed.

Code is in Arduino. Set the board up to use the Arduino IDE: https://learn.adafruit.com/adafruit-qt-py/arduino-ide-setup and you can upload the code over USB-C.

Switch on will turn on display. Charge over USB-C. Can also leave plugged in and it'll stay on. Sensor takes a little while to settle (120 sec nom). The progress bar at the bottom of the display takes 120 seconds to transit the whole width to help keep track. Temp tends to aim high from heat in the can. You can open up the can to get it a bit more accurate. The CO2 sensor is also auto-calibrating; take it outside for half an hour periodically and when you first start for it to find a baseline.

Battery goes ~4 hrs on a charge in my experiments.

Outside is ~425 ppm. Inside 500 ppm on up, depending on how many folks are in there breathing vs the air flow. 1000+ ppm is not great.

co2tin's People

Contributors

prnicovich avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.