49 GUIDES | 376 PAGES | 2 FEATURED | 0 POPULAR
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!
We've taken the original Circuit Playground Classic and made it even better! Not only did we pack even more sensors in, we also made it even easier to program. The board is round and has alligator-clip pads around it so you don't have to solder or sew to make it work. You can power it from USB, a AAA battery pack, or with a Lipoly battery (for advanced users). Circuit Playground Express has built-in USB support. Built in USB means you plug it in to program it and it just shows up, no special cable or adapter required. Just program your code into the board then take it on the go!
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.
One of the great and features of the Circuit Playground Express is the addition of an infrared transmitter and receiver. In this tutorial you will learn how to receive and decode IR signals from a remote control such as those used for TV, DVD, cable boxes and how to transmit IR signals making your Circuit Playground Express an IR remote itself.