Excessive and unwanted barking from dogs can be annoying and disruptive. As a dog owner, it's understandable to want to curb excessive vocalization to keep the peace with neighbors. Thankfully, there are humane devices called dog bark deterrents that can help control excessive barking using completely safe methods. These devices detect barking and emit an ultrasonic, high-pitched sound that is unpleasant to dogs but inaudible to humans. With some common household items, you can make a simple DIY electronic dog bark deterrent device yourself.

In this comprehensive guide, I will walk you through step-by-step instructions on how to build a basic dog bark deterrent device using common materials you likely already have at home. I'll also provide tips on how to customize it and troubleshoot any issues that arise. By the end, you'll have the knowledge to create your own effective tool to curb excessive barking without harming your pet.

What You'll Need

Building a DIY dog bark deterrent requires just a few simple components that can be purchased cheaply or may already be around your home. Here's a list of what you'll need:

Electronic Components

Other Components


Assembling the Circuit

With all the materials ready, it's time to assemble the basic circuit on the perfboard. Follow these steps closely:

Step 1: Mount the Components

First, mount the LM386 amplifier, 555 timer, and any other integrated circuits or modules to the perfboard using the adhesive on the bottom or hot glue. Be sure to leave space between components.

Step 2: Solder the Wires

Connect shorter jumper wires between the integrated circuit pins and pads on the perfboard. Use color coding to keep organized.

Solder slightly longer wires to connect the external components like the microphone, ultrasonic transducer, battery snap, and any controls you add later.

Step 3: Add the Battery and Transducer

Solder the red wire from the battery snap to the VCC or power rail on the board. Solder the black wire to ground.

Solder the ultrasonic transducer wires to the 555 timer output pins. Polarity does not matter.

Step 4: Check Your Work

Visually inspect all solder joints and connections. Reflow any bad solder connections and check for shorts or loose wires. Connect the 9V battery and test that the appropriate power LEDs light up on the ICs.

Customizing the Device

Now that the core components are wired up, here are some ways to customize and enhance your DIY dog bark deterrent:

Adding a Potentiometer

Add a potentiometer to adjust the volume of the ultrasonic output. Solder it to the 555 timer output and ground. This allows adjusting the intensity.

Including an On/Off Switch

Wire a toggle or slide switch to the positive battery wire to manually turn the device on and off. This saves battery life when not in use.

Using a Variable Resistor

Replace the potentiometer with a force sensitive variable resistor. Adjusting the pressure required to trigger it allows setting the bark volume threshold.

Adding a Range Adjustment

Add a second potentiometer on the LM386 amplifier to adjust the microphone input volume to control the detection range.

Incorporating a Timer Circuit

Add a 555 timer monostable circuit to limit the ultrasonic burst duration to 1-2 seconds after each detected bark. This improves efficacy.

Adding a Counter Circuit

Use a 4017 decade counter to activate the deterrent only after multiple barks in a set time window to prevent false positives.

Testing and Troubleshooting

Once assembled and customized to your needs, test your DIY dog bark deterrent and troubleshoot any issues with these tips:


Building your own DIY dog bark deterrent with common household items is an easy weekend project with huge payoff for curbing nuisance barking. Customize the circuit to match your specific needs. Properly calibrated and tuned, these harmless devices can drastically reduce excessive vocalizations without causing your dog discomfort. Just be sure to only use positive reinforcement training and never punishment to train good behavior. With this comprehensive guide, you now have all the knowledge to create an effective gadget to restore peace and quiet.