Sam Storino was tired of his cats waking him up at 3am, meowing because they were hungry. So, he set out to build an automatic cat food dispenser that could both run on a schedule, or be triggered at the touch of a button. The dispenser he built, which has a nifty steampunk aesthetic, is a simple gravity-feed design that dispenses food from a hopper with a servo-actuated chute.
To get the automation setup, he connected that servo to a Raspberry Pi Model B, and created a couple of scripts to handle the control. First up was a Python script which monitors a Gmail account that was setup specifically for the feeder. When that account receives an email, the script triggers the dispenser. An IFTTT app lets him easily send that email at the touch of a button on his phone.
That same app can be setup to automatically send an email at regular times that Sam specifies, letting him keep the cats on a steady feeding schedule. Overall, the build is straightforward, and the guide provides all of the information you’d need to build your own in a few hours. For the sake of a good night’s sleep, it would be well worth it for most pet owners.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
featured adafruit products
Featured Adafruit Product!
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.