Pet Sensor Notifications: Food, Water, and Motion

by gmoney3553 in Living > Pets

97 Views, 0 Favorites, 0 Comments

Pet Sensor Notifications: Food, Water, and Motion

OIP.jpg

Make a sensor kit to keep your pets safe! This sensor kit can give your phone a notification of a motion alert, when food gets low, and/or when water gets low. This easy-to-do project only takes a few supplies and anyone can do it!

Supplies

- Arduino Nano 33 Iot

- 5v Power supply

- 4x Load Cells with HX711

- HC-SR04 Ultrasonic Sensor

- HC-SR501 Motion Sensor

- Wire

- Phone

Set Up IFTTT

Screenshot 2021-07-27 021250.png
Screenshot 2021-07-27 021257.png
Screenshot 2021-07-27 021254.png

First, set up an IFTTT account at www.ifttt.com. Then, create an applet. Select webhook, receive a web request and name it. If there are two words put an underscore in between them. Search and click on notification for the second part of this applet, then send a normal notification from the app. Now do this again for the water level alert, except use a different name. Now go to Explore>Webhook>Documentation. A new page will pop up with your key on it. You'll need this soon. Now, download the code from Git Hub and open it up using Arduino IDE. In the first place that says Project_Name, enter the motion alert applet name. In the second place that says Project_Name, enter the water level applet name. Then, enter your key where it says key. Lastly, enter your Wi-Fi SSID and Password at the very top of the code. Upload the Code and the Code is done!

Wire It Up!

90f2ef0e694b1960b894ac10e2ee480a90cd5a51.png

Use the table to wire the components:

Load Cell SCK -> 13

Load Cell Data -> 12

SR04 Echo -> 11

SR04 Trig -> 10

Motion Sensor -> 9

Power Supply (+) -> Arduino 5V -> Components 5V

Power Supply (-) -> Arduino GND -> Components GND