Clap! Clap!

We're creating a Raspberry Pi that can detect claps and trigger a script after a set number of claps. I’ll be using a Raspberry Pi 3 B+. Just like the old TV commercials for The Clapper (read more about this classic 90’s technology here), we'll be using our Pi to turn on a light.

As with many of our Raspberry Pi guides, there's plenty of room for customization. You can use the clap powered switch to do basic commands like shutting down the Pi, real world applications like adjusting the lights, or even connect your Pi to social media to send a tweet. You're only limited by your imagination. Clap to play music, activate a servo motor, shut down your Pi, or go crazy and clap control your smart home!