Home » Audio Projects » How to Make Dog Barking Preventer Circuit using High Frequency Deterance
How to Make Dog Barking Preventer Circuit using High Frequency Deterance

How to Make Dog Barking Preventer Circuit using High Frequency Deterance

The discussed circuit is designed to discourage dogs from barking in the selected zone by the generation of a synchronized ultrasonic sound waves in response to a few initial barking of a particular dog.

The circuit when correctly optimized will produce a high pitched ultra sonic sound each time it senses a dog bark. Since the sound is in the ultrasonic range will be inaudible to humans, and audible to only dogs present in the vicinity.

How the Dog Bark Terminator Works 


Note: Please use 1uF capacitor for C2 to ensure a foolproof triggering of the IC1 stage...


Referring to the above shown dog bark inhibitor circuit, we can see three distinct stages involved, the sound sensor and preamplifier circuit using the Q1 and the electret MIC stage, the monostable stage using IC1 and the associated parts and the ultrasonic sound generator stage using the IC2 and the speaker driver stage.

Whenever a dog barks, the Mic detects it causing a sequential low and high pulse at the base of T1. T1 responds to this and produces an equivalent amplified signal across C2, which in turn triggers the pin#2 of the monostable IC1.

The above action forces IC1 to produce a high at its pin#3 for a period determined by the values of  R5/C3.

This high at pin#3 of IC1 enables the reset pin#4 of IC2 to become active thereby allowing the astable IC2 to supply the ultrasonic pulse at its pin#3, which is appropriately amplified by the associated TIP122 transistor, driving the connected speaker.

The speaker vibrates at the specified amplified level throwing the ultrasonic sound in the direction where the dogs need to be driven away.

The above sound waves is supposed to fluster the dogs and cause a lot of disturbance in their ears due to its high pitched sound, and also due to its synchronized effect with the dog's own barking sequence.



Actually the above dog barking stopping device might respond to all types of high dB sound levels, however since it won't be audible to a human ear this will never be an issue, and may be ignored.

Making the Circuit more Sensitive

If you find the above dog barking prohibitor circuit not responding to barking signals or any sound distant signals correctly, then you must try upgrading the MIC stage with an IC based MIC amplifier stage as shown in the following image:

Once you build the above circuit, you can eliminate or remove R1, R2, C1 from the first circuit, and replace it with the mentioned opamp based MIC amplifier circuit and configure the C3 output from the opamp with the base of Q1.

This upgrade will ensure that the circuit responds appropriately even to weak sound signals, specifically dog barking sound during night time, and trigger the IC 555 stages for the intended results.

Increasing the Range over 50 Meters

To make the above design respond to dog barks at distances over 50 meters, the following modified idea could be tried.

However this circuit being extremely sensitive could get triggered by other forms of sounds in the vicinity.

PCB Design

SHARING IS CARING!

About the Author

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials. If you have any circuit related query, you may interact through comments, I'll be most happy to help!






72 thoughts on “How to Make Dog Barking Preventer Circuit using High Frequency Deterance”

  1. Swagatan, can the optional circuit to increase sensitivity be powered with a 12 VDC supply as the mais circuit?
    Thanks

  2. Hi Swagatam,
    I’m just making this circuit, one question I have is can I mount the speaker in pvc tube to make it directional would that effect the output from the speaker

    • Hi Iain, actually that’s a good a idea, and would prevent the sound from returning back to the MIC…… although the returning sound won’t impact the circuit, still using a PVC pipe would make the system more efficient.

  3. Good morning,
    Please provide a detailed parts list or the price for a completed kit. Dog Bark Terminator.
    Thank you, dominic.

    • Hi, you will find all the parts given in the diagram itself, here all resistors are 1/4 watt rated and all the capacitors can be 25V rated

  4. Wow, thank you for your super quick reply, will try with different value resisters & see what happens, thanks again for your excellent support to the electronically challenged like me, Rick.

  5. Hi Swagatam
    I have been reading the request from Jan on how to increase the output for a 50 meter range using a 2n3055 & 100 ohm resistor, I have tried this but i think its over loading my 50 watt piezo speaker, would I be correct in thinking this? if so what do you think the output is with that setup & what size piezo would be needed? thanks for your help, Rick

    • Hi Rick, By overloading do you mean your speaker is warming up or is the sound quality breaking of?

      Anyway, you can control it by increasing the 100 Ohm base resistor of 2N3055 to some higher value, may be upto 1K or even 4k7 etc until the current is no longer able to increase beyond the specified safe limit.

  6. Hi Swagatam, I have finally put this circuit together & seems to be working, but I can hear the sound although quite high in pitch, also I will need to build the additional Mic amp circuit as the current one seem not very sensitive.
    I would like to ask for your help as to some mods I would like to make to change its operational characteristics.
    I have noticed that when activated the sounds is on for a short time period which can be adjusted by changing R5 & C3, is there a change that can be made to have it operate for as long as it is powered on? also I need to be able to have its frequency adjustable, your help would be much appreciated, Regard Rick

    • Rick, you can do it by adding the following latch circuit between IC1 and IC2.

      https://homemade-circuits.com/2011/12/simple-and-useful-transistor-latch.html

      you can remove the relay from the design.

      in the dog barking circuit disconnect pin#4 of IC2 from IC1, and connect it with the collector of the PNP.

      connect the base of T1 in the latch circuit with pin#3 of IC1.

      in the latch circuit preferably remove C1 from the shown positive and place it across base/emitter of T1.

    • Hi Swagatam
      Thank you for the info on the Latching circuit, I will give that a try, If I may ask how the frequency output can be adjusted/variable to a higher pitch as I can hear it so I figure it may not be high enough to do its job.

      • Hi Rick, to increase the output frequency you can decrease the value of C5 to some lower value…. You can try reducing it to 470pF or 330pF and see the effect.

        for getting a variable option you can use a pot for R7, but make sure to add a 1K resistor in series with this pot.

      • Hi Swagatam
        Thank you very much for your quick reply, will give all your suggestions a go, thank you once again, great wed site, Rick

  7. Hi Swagatam,

    I know very little about piezo disc transducers
    I was wondering if the speaker can be replaced by a transducer. Do you think this can work?
    Your opinion will be much appreciated.
    Regards
    Jan

    • Hi Jan , yes definitely the speaker can be replaced with a transducer, however it will need to be complemented with a matching parallel inductor so that the oscillations can be optimally amplified.

      • You can purchase it readymade from your local electronic dealer…or from any online store, you just have to mention “piezo buzzer coil” and you will able to easily find it

  8. Hi, yes a tweeter would respond better than an ordinary speaker, however I was expecting an almost inaudible output from the speaker, because the IC2 is set at around 13kHz which can be hardly heard by an human, I think you might want to adjust the R/C components of the IC2 a little more to make sure that humans do not hear it but dogs do.

    yes if it's a normal beep then your dog will not be impressed, it has to be something more irritating. Actually the dog will get surprised only when the sound from the speaker responds and coincides with its own barking, that's exactly when the dog might start getting too nervous 🙂

  9. Hi Swagatam,
    I am a bit confused. In your explanation you say “ use the R1/C1, and the MIC network which is shown in the last circuit from the above “DOG Barking” article, and connect the C1 end with the volume control of the linked LM386 circuit. Is this pin 3 or 5 on the LM386? Does Last cct refer to the “Making the cct more sensitive OR the main cct with the two 555 timers.
    Your assistance will be much appreciated.
    Regards
    Jan

  10. Hi Swagatam,

    Thank you for your reply. Does this mean that the speaker range will also be 50 meters.I read some were that the current design is effective for approx. 10 meters. I need to increase this to 50 meters.
    Regards
    Jan

    • Hi jan, according to me the amplification power could be increased by replacing the speaker transistor with a 2N3055 transistor and using a small value base resistor of around 100 ohms…this will hopefully make the output strong enough to carry it up to 50 meters

  11. Hi Swagatam,

    I would like this unit to have a range of 50 meters. What modification should I make to achieve this. Also can I use a Compression driver instead of a speaker as it appears that Compression drivers are much more efficient.

    Regards
    Jan

    • Hi Jan, you can try the LM386 based last circuit from this article, to enhance the sensitivity of the entire design:

      https://homemade-circuits.com/2012/08/ic-lm-386-datasheet-explained-in-simple.html

      use the R1/C1, and the MIC network which is shown in the last circuit from the above "DOG Barking" article, and connect the C1 end with the volume control of the linked LM386 circuit.

      The speaker point outputs from the LM386 modified design can be finally integrated with the base of Q1 as presented in the first circuit diagram of this particular page

  12. The degradation could be due to a slow internet connections, anyway glad to know it has been rectified now and the image is now clearly visible to you.

  13. you can use 9V instead of 12V without any modifications, but make sure the current is sufficiently high so that the speaker can be driven with the required amount of power…a 9V PP3 battery will not work.

  14. yes that's possible, you can use a pot in place of R2 and tweak to keep the opamp at the verge of conduction and make the circuit very sensitive.

    additionally you can use a Darlington transistor for Q1 for enhancing the sensitivity of the unit

  15. Hi, That probably means that the MIC stage is not powerful enough and needs to be upgraded so that it becomes more sensitive for converting the sound signals into triggering signals for the IC 555, I will try to update the above article with the mentioned improvements soon.

  16. Sir, i made this circuit but i am facing some problems. When power supply is on speaker get some vibration continuous, no any sound but feels vibration. When i remove mike speaker vibration stop. Please help me for this. Is this vibration is capable for generating sounds for keep away dogs.

    • Ashok, the response that you are getting from the speaker looks OK, but it should not happen continuously…rather only when a sound hits the MIC.

      I think the sensitivity of the mIC circuit could be too high. try reducing C1 to 0.01uF or 0.001uF and check the response

      • Sir, i changed C1 0.1 to 0.01uf, this time no vibration sense in speaker. When i clap for sound then nothing happen with speaker.I inspect the circuit carefully i found one short connection at IC1 3 pin to IC2 pin3 which is directly activate base of TIP122. I made correction but after that circuit is not work.

        • Ashok, a short circuit of any kind across the ICs can damage the devices…so better change the ICs again and test.

          this time do not connect the MIC stage, rather initially test by manually shorting the pin#2 of the IC to ground (momentarily) and see the response on the speaker…

  17. you can see the pics below:

    MIC
    reviseomatic.org/help/e-components/Electret-mic.jpg

    Speaker (tweeter)

    img.weiku.com/a/001/812/KTV_tweeter_speaker_T031402__3659_7.jpg

  18. dear do you have a ultrasonic circuit for elephant. in our country daily one or two people are get dead due to wild elephant. request help. i noted that elephant hearing frequency is 16-12000hz.

    • You can easily make it by using a 555 IC along with a speaker amplifier stage, quite identical to the IC2 stage as indicated in the above article.

      the frequency can be set by suitably adjusting the values of R7 and C5 …until the effective note is achieved for driving of the animals.

      the range will depend on the power of the selected transistor and the wattage of the speaker, higher wattage will enable longer ranges.

    • electret mic is small mic which are commonly used in amplifiers and FM hand held transmitters,

      connect an LED in series with the TIP122 base whenever it lights will indicate the working of the speaker.

      clapping near the mic should initiate the triggering process….

    • in above circuit what is range of sound will be heard by dogs? also what is effect on another animal? is this circuit activate for all sound? means human noise also activate this circuit? How to make possible range?
      As in our farms there is lots of peacock wonder at the time of harvesting can this circuit is applicable for this condition?

    • the range will be around 10 meters, other animals may not be affected because they may not possess high sensitivity to sound frequencies as dogs normally have.

      peacock cannot be driven using this circuit because the hearing range of birds are quite similar to the human beings except bats

  19. Hi Swagatam,
    We are facing lot of problem with street dogs and those are tresspasses to the residence area, especially in night time.
    So, if we use PIR the device can work only the particlar time instead of full time.

  20. Hi Swagatam,
    If any dogs are enter to the coverage area immediatly trigger and generate ultrasonic sound to repel the dogs.

    • Hi Sharaf, for what application do you intend to use it? please provide with more details so that I can understand it better.

Leave a Comment