Quick Maker Project - Counting down 20s while you wash your hands with Circuit Playground Express

20s countdown timer maker project banner

Everyone has a wee song to sing to while washing your hands for 20 seconds, since I had Adafruit's Circuit Playground Express handy, why not create a visual countdown.

πŸ‘‰ You will need:

🧐 Why did I choose Adafruit's Circuit Playground Express?

I had one around and I wanted to put something useful on it, plus I want to play a little more with CircuitPython. The CPX has 10 bright LEDS (Neopixels) so perfect for the 20 second countdown.

It also has a "Microphone Audio Sensor" so it can pick up sounds. And there's already code handily written on detecting sound via Adafruit's Sound example.

ℹ️ More info about CPX

All the elements are there, so let's get started! πŸ’ͺ

πŸ€” What I wanted to do

πŸ“Έ Some pics

The CPX I have with and without the case

Adafruit's Circuit Playground Express

Adafruit's Circuit Playground Express

Adafruit's Circuit Playground Express

πŸŽ‰ Result

20s countdown for washing your hands with Circuit Playground Express

πŸ“½ Here's a video of it working, my hands were sore from clapping while testing so I tapped it loudly on the casing which registers the sound as well. 😊

20s countdown for washing your hands with Circuit Playground Express

ℹ️ Source code for project

Here's the code on github: https://github.com/whykay/cpx_clap_wash

About Author

Vicky Twomey-Lee

Pythonista, but normally found organising various tech events, and now heavily involved in diversity initiatives like Coding Grace, PyLadies Dublin, and Women in Technology and Science (WITS Ireland).
πŸ‘‰ http://about.me/whykay

Sign up for our monthly newsletter

Find out about our upcoming events as well as Irish Tech Community and Diversity in Tech news from around the island of Ireland.

By subscribing, you agree with Revue’s Terms of Service and Privacy Policy.