For this project on creating a protest object, I wanted to focus on animal abuse. Occasionally pet owners unintentionally forget to give water to their pets, however, it can get to a point where pets may become sickly due to lack of water when pet owners disregard it for long enough, especially in hotter environments such as Florida. The alarm I created will constantly flash and play a sound at full brightness/volume in order to alert the pet owner to fill the bowl in order to turn off the alarm. The alarm itself is hidden in a decorative treat jar.
To create this I created a simple if-else statement saying that if a pin is not being touched it will trigger a bright light animation and loud looping sound. To the Circuit Playground Express, I connected an alligator clip to the corresponding pin and attached it to the inner edge of the water bowl. I had to add a clip to the ground as well to have it trigger correctly. Finally, I placed the CPE in a treat jar to disguise it as decoration.
Comments
Please log in or sign up to comment.