Mu is an amazing editor that works with CircuitPython and compatible boards. You can connect to the serial REPL right inside the editor. It also includes a plotter the works with your code to give you a live visual graph of your data! This guide will show you different ways to use the plotter with different sensors. It's time to plot!
This guide will show you how to use CircuitPython and your Circuit Playground Express to make an interactive lamp, by using movement to change color settings and modes, or changing it up from across the room with an IR remote. You'll learn how to use different code concepts to make this happen. Lamp it up and have fun!
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 sensor is easy to work with using its 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.
The Circuit Playground Express has a built in infrared (IR) sensor, and it's very simple to decode the signals using CircuitPython, thanks to the Adafruit Infrared library. We'll program the CPX to read IR blasts from the mini remote control and use these commands to change the bright, beautiful NeoPixels. Plus, we'll defuse the light and dress it up with an inexpensive hobby store ornament and festive puff balls!
This guide will use the capacitive touch pads on the Circuit Playground Express and the capacitive properties of fruit to create a full scale tone piano. We will write the code using CircuitPython to use each of the touch pads to light up the Neopixels in a different color and play a different tone through the onboard speaker.