1 of 33

IoT Pet Feeder

2 of 33

About this project

In this specific project, we set the feeder to start beeping from time to time. Once the pet comes closer to the device, the PIR sensor recognizes it and the servo is triggered.�Next, we have also decided to add the option to control the pet feeder from our mobile phone.[Blynk app]

And at last we have interfaced the pet feeder with Google Assistant

3 of 33

COMPONENTS

  • PIR Sensor
  • Esp8266-01
  • Power Source
  • Servo
  • Jumper Wires��

4 of 33

SOFTWARE

  • Arduino Ide
  • Blynk App
  • IFTTT
  • Adafruit IO
  • Google Assistant

5 of 33

BLOCK DIAGRAM

��

6 of 33

CIRCUIT DIAGRAM

��

7 of 33

HARDWARE SETUP

8 of 33

Interfacing the pet feeder with Blynk (part -1)

9 of 33

CODE: Interfacing the pet feeder with Blynk (part -1)

10 of 33

11 of 33

On being Clicked

On being released

Blynk App

12 of 33

Output (Part-1)

13 of 33

Interfacing the Pet Feeder with Google Assistant (Part-2)

14 of 33

Adafruit setup for IoT Pet Feeder

15 of 33

IFTTT Setup for IoT Pet Feeder

We will create an applet using If ‘This’ Than ‘That.’ Here ‘This’ is the service name by which we will give input and ‘That’ will generate trigger according to input. So in this project we will use Google Assistant as ‘This’ and Adafruit IO as ‘That.’

16 of 33

17 of 33

After write the phrase, click on Create trigger

18 of 33

Now one part of this applet is complete. For the second part click on the ‘That.’

19 of 33

20 of 33

In the next window choose the feed name for which you want to create trigger and then enter the word/Data that you want to send to the feed when you say your specified phrase. After that click on ‘Create Action.’ After this it will ask you to finish the setup by clicking on the finish button. Now our applet is ready to use.

21 of 33

Now we have created another applet by which we can feed our pet at a specific time by saying a phrase with the text, for example, “Ok Google Feed My Pet Today Morning.” By using this applet we can send a trigger to ESP8266 at a specific time. For this applet follow the same steps: click on profile and then ‘Create.’ After that in ‘This’ option choose ‘Google assistant’. Now in google assistant click on ‘Say phrase with a Text ingredient’.

In the next window click on ‘That’ and choose Adafruit. In Adafruit select the same feed name as previous applet. Then click on ‘Create action’ and ‘Finish’ to finish the process

22 of 33

23 of 33

CODE:

24 of 33

25 of 33

26 of 33

27 of 33

28 of 33

29 of 33

Output (Part-2)

30 of 33

Output (Part-2)

31 of 33

APPLICATION

  • This Iot based Pet Feeder enables the pet owners to feed food to their pets when they are at workplace, holiday, or any other event.

LIMITATIONS

  • Works best for single pet owner
  • Power issue, Network connectivity issue → No meal for the pet!

32 of 33

PROJECT OUTPUT

33 of 33

Thank You