Combining Adafruit’s CCS811 gas sensor with a Circuit Playground Express and two NeoPixel Sticks we can quickly put together a mask that displays our breath attributes. This setup will monitor temperature, carbon dioxide and total volatile organic compounds. The complete tutorial is available here. The sensor is easy to work with using it’s I2C interface and pre-calibrated ranges. A mask is an ideal wearable as it provides a place to house the electronics as well as an option for continuous monitoring as it is a hands free device that could be adapted for exercise or sleep. The gas sensors TVOC monitoring can be used as an indicator of ketosis as it will detect acetone levels on the breath which is a by-product of producing ketones. CO2 levels can also be a helpful indicator of how much glucose is being burned versus fats.
In this example we are making use of Adafruit’s Circuit Playground Express to connect to the gas sensor and NeoPixel Sticks. This controller is easy to adhere to fabric, program and has ten built-in neopixels which are used to display breath temperature. One NeoPixel stick will show CO2 output (pink) the other will show total volatile organic compounds (blue).
When connecting to the Circuit Playground Express’s Console we can see detailed readings to get an idea of our actual co2, volatile compounds and temperature.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.