Introduction: Arduino With Buzzer and HC-SR04

Hi everyone, today I am making a arduino that can stop your dog from go into somewhere you do not want them to go. It is very useful for people who has pet.


All we need is:


measure distance( HC-SR04)


severals wires


Let do it!

Step 1: Program Your Arduino

The different is I used ardublock.

link: www.DavidHuang. Lab

Step 2: Connecting Arduino

be careful not to use D13 because it might caused some problems.

Step 3: Create a Container

dig some holes so you can put your buzzer outside.

Step 4: Video

Step 5: Try It!

Well, it is not difficult for people who just learn arduino. It is very suitable for children because it is not hard.