Saturday, March 30, 2013

Build a Ultrasonic Dog Whistle

Its well known that many animals are particularly sensitive to high-frequency sounds that humans cant hear. Many commercial pest repellers based on this principle are available, most of them operating in the range of 30 to 50 kHz. My aim was, however, to design a slightly different and somewhat more powerful audio frequency/ultrasonic sound generator that could be used to train dogs. Just imagine the possibilities - you could make your pet think twice before barking again in the middle of the night or even subdue hostile dogs (and I guess burglars would love that!).

From what Ive read, dogs and other mammals of similar size behave much differently than insects. They tend to respond best to frequencies between 15 and 25 kHz and the older ones are less susceptible to higher tones. This means that an ordinary pest repeller wont work simply because dogs cant hear it. Therefore, I decided to construct a new circuit (based on the venerable 555, of course) with a variable pitch and a relatively loud 82 dB miniature piezo beeper.

The circuit is very simple and can be easily assembled in half an hour. Most of the components are not really critical, but you should keep in mind that other values will probably change the operating frequency. Potentiometer determines the pitch: higher resistance means lower frequency. Since different dogs react to different frequencies, youll probably have to experiment a bit to get the most out of this tiny circuit. The circuit is shown below:

Ultrasonic Dog Whistle Circuit diagram


Despite the simplicity of the circuit, there is one little thing. The 10nF (.01) capacitor is critical as it, too, determines the frequency. Most ceramic caps are highly unstable and 20% tolerance is not unusual at all. Higher capacitance means lower frequency and vice-versa. For proper alignment and adjustment, an oscilloscope would be necessary. Since I dont have one, I used Winscope. Although its limited to only 22 kHz, thats just enough to see how this circuit works.

There is no need to etch a PCB for this project, perf board will do. Test the circuit to see how it responds at different frequencies. A 4k7 potentiometer in conjunction with a 10nF (or slightly bigger) capacitor gives some 11 to 22kHz, which should do just fine. Install the circuit in a small plastic box and if you want to, you can add a LED pilot light. Power consumption is very small and a 9V battery should last a long time. Possible further experimentation:

 Im working on an amplified version of the whistle to get a louder beep. All attempts so far havent been successful as high frequency performance tends to drop dramatically with the 555. Perhaps I could use a frequency doubler circuit - I just dont know and Ive run out of ideas. One other slightly more advanced project could be a simple "anti-bark" device with a sound-triggered (clap) switch that sets off the ultrasonic buzzer as soon as your dog starts to bark.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.