Introduction: Light Up Dog Collar

I made a light up dog collar with a countdown for a beeping sound. I made this because my dog always seems to disappear in our backyard at night while using the bathroom. After a set amount of time, the sound will go off and colors will flash, which makes my dog easy to find. You could hypothetically train your dog to come back inside when the beeping goes off so that you aren't yelling for them during the late hours of the night.

Supplies

Arduino, dog halter, wires, LED lights (optional)

Step 1: Code!

Code you project! This is the code that I used on MakeCode. If you want to set the timer for longer, just change the number value of 15 to a higher value.

Step 2: Connect It All Up!

Wire it all up! If you look closely, there is a little starfish button on the strap of the halter. Connect your A1 to a button of some sort. This is what will start the countdown after you have turned on your Arduino. I wired up an LED light off my A2 and connected it back to my ground. The code allows you to connect LED to both A3 and A4 as well if you wanted to incorporate more LED's, but for sake of time, I just did one on this project. The LED's will light up after the countdown has gone off. Just make sure all your positives and negatives are in the right place when you do this step! I hid my batter back underneath the fabric on the bottom of the halter.