Published © GPL3+

IoT Pet Feeder

Use to build a smart food dispenser for your pet controlled directly from your phone.

IntermediateFull instructions provided8 hours195,052

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
PIR Motion Sensor (generic)
PIR Motion Sensor (generic)
ESP8266 ESP-01
Espressif ESP8266 ESP-01
Speaker: 0.25W, 8 ohms
Speaker: 0.25W, 8 ohms
SparkFun Servo - Generic Metal Gear (Micro Size)

Software apps and online services
Use this magic link >>


Read more

Custom parts and enclosures

speaker mount

servo mount

servo case

PIR case


Pet Feeder Dashboard

Download this file to your computer and import it to Freeboard according to the steps in the "connectivity" section of the tutorial.


IoT pet feeder code

1. Replace firmware.ino test code from with the firmware.ino code here. 2. Make sure to leave "Include Libraries" and "Pin definitions" from the original code (the one generated automatically), 3. Check that the pin definitions remain the same, or change them if needed.

Credits team team

29 projects • 597 followers is an online platform that generates wiring and code for Arduino projects. Want to know more? Visit