[Craig] recently built himself a version of the “hassler” circuit as a sort of homage to Bob Widlar. If you haven’t heard of Bob Widlar, he was a key person involved in making analog IC’s a reality. We’ve actually covered the topic in-depth in the past. The hassler circuit is a simple but ingenious office prank. The idea is that the circuit emits a very high frequency tone, but only when the noise level in the room reaches a certain threshold. If your coworkers become too noisy, they will suddenly notice a ringing in their ears. When they stop talking to identify the source, the noise goes away. The desired result is to get your coworkers to shut the hell up.
[Craig] couldn’t find any published schematics for the original circuit, but he managed to build his own version with discrete components and IC’s. Sound first enters the circuit via a small electret microphone. The signal is then amplified, half-wave rectified, and run through a low pass filter. The gain from the microphone is configurable via a trim pot. A capacitor converts the output into a flat DC voltage.
The signal then gets passed to a relaxation oscillator circuit. This circuit creates a signal whose output duty cycle is dependent on the input voltage. The higher the input voltage, the longer the duty cycle, and the lower the frequency. The resulting signal is sent to a small speaker for output. The speaker is also controlled by a Schmitt trigger. This prevents the speaker from being powered until the voltage reaches a certain threshold, thus saving energy. The whole circuit is soldered together dead bug style and mounted to a copper clad board.
When the room is quiet, the input voltage is low. The output frequency is high enough that it is out of the range of human hearing. As the room slowly gets louder, the voltage increases and the output frequency lowers. Eventually it reaches the outer limits of human hearing and people in the room take notice. The video below walks step by step through the circuit.