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!
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.