Clap On! A Breadboard

The Clapper™ is a miracle of the 1980s, turning lights and TVs on and off with the simple clap of the hands, and engraving itself into the collective human unconsciousness with a little jingle that implores – nay, commands – you to Clap On! and Clap Off! [Rutuvij] and [Ayush] bought a clap switch kit, but like so many kits, this one was impossible to understand; building the circuit was out of the question, let alone understanding the circuit. To help [Rutuvij] and [Ayush] out, [Rafale] made his own version of the circuit, and figured out a way to explain how the circuit works.

While not the most important component, the most obvious component inside a Clapper is a microphone. [Rafale] is using a small electret microphone connected to an amplifier block, in this case a single transistor.

The signal from the microphone is then sent to the part of the circuit that will turn a load on and off. For this, a bistable multivibrator was used, or as it’s called in the world of digital logic and Minecraft circuits, an S-R flip-flop. This flip-flop needs two inputs; one to store the value and another to erase the stored value. For that, it’s two more transistors. The first time the circuit senses a clap, it stores the value in the flip-flop. The next time a clap is sensed, the circuit is reset.

Output is as simple as a LED and a buzzer, but once you have that, connecting a relay is a piece of cake. That’s the complete circuit of a clapper using five transistors, something that just can’t be done with other builds centered around a 555 timer chip.

Inside The Clapper

clapper

Hackaday readers above a certain age will probably remember the fabulously faddish products developed by Joseph Enterprises. These odd gadgets included the Ove’ Glove, VCR Co-Pilot, the Creosote Sweeping Log, and Chia Pet (Cha-Cha-Cha-Chia) as mainstays of late night commercials, but none were as popular as The Clapper, everyone’s favorite sound-activated switch from the 1980s. [Richard] put up a great virtual teardown of The Clapper, that provides a lot of insight into how this magic relay box actually works, along with some historical context for the world The Clapper was introduced to.

Sound activated switches are nothing new, but the way The Clapper did it was just slightly brilliant. Instead of listening to every sound, the mic inside the magic box sends everything through a series of filters to come up with a very narrow bandpass filter centered around 2500 Hz. This trigger is analyzed by a SGS Thompson ST6210 microcontroller ( 4MHz, ~1kB ROM, 64 bytes of RAM, and 12 I/O pins ) to listen for two repeating triggers  within 200 milliseconds. The entire system – including the source code for the MCU – can be seen in the official patent, US5493618.

The Clapper sold many millions of units at a time when a lot of homes were assuredly in a pre-microelectronics world. Yes, in 1986, a lot of TVs had microcontrollers and maybe a washer/dryer combo may have had a few thousand transistors between them. Other than that, The Clapper was many household’s introduction to the ubiquitous computing power we see today, and all with less capability than an Arduino.