While many people use off-the-shelf automation setups for their electrical appliances, Ash Puckettâs Raspberry Pi Clapper pays homage to the king of infomercial classics.
Remember this?
The Clapper (1989)
Uploaded by Travis Doucette on 2013-06-03.
Build your own Raspberry Pi Clapper
Sometimes, the best Raspberry Pi projects donât need thousands of lines of code and a makerspace full of tech to make an impact: Ash Puckettâs Clapper uses only a Raspberry Pi and a USB microphone as a basis. After that, itâs up to you to integrate the device into whatever project you wish, from home lighting and security systems to entertainment consoles â really anything you can switch from one state to another, including a Raspberry Pi!
GitHub user nikhiljohn10âs clap detection script allows the USB mic to pick up the control clap. With the help of the RPi.GPIO and PyAudio libraries, Ash demonstrates that the Clapper works by turning on and off a red LED attached to the Pi.
You will find instructions for putting together the code and running it on your Pi on the projectâs Howchoo page. Howchoo also hosts some of Ashâs other Raspberry Pi projects, including a music streaming device, a smart clock, and a Pi-powered calendar.
Try the Clapper
Why not give the Clapper a go, and let us know what you decide to use it for!
I, for one, will secretly set one up to mess with all the lights in the office â what could possibly go wrong?
Website:Â LINK