Local IOT Cat Treat Dispenser – Hackaday

[MostElectronics], like many of us, loves cats, and so wanted to make an internet connected treat dispenser for their most beloved. The result is an ingenious 3D printed mechanism connected to a Raspberry Pi that’s able to serve treats through a locally run web application.
The inside of a 3d printed cat treat dispenser, showing the different compartments, shaft and wires running out the back.
From the software side, the Raspberry Pi uses a RESTful API that one can connect to through a static IP. The API is implemented as a Python Flask application running under a stand alone web server Python script. The web application itself keeps track of the number of treats left and provides a simple interface to dispense treats at the operators leisure. The RpiMotorLib Python library is used to control a 28BYJ-48 stepper motor through its ULN2003 controller module, which is used to rotate the inside shaft of the treat dispenser.
The mechanism to dispense treats is a stacked, compartmentalized drum, with two drum layers for food compartments that turn to drop treats. The bottom drum dispenses treats through a chute connected to the tray for the cat, leaving an empty compartment that the top drum can replenish by dropping its treats into through a staggered opening. Each compartmentalized treat drum layer provides 11 treats, allowing for a total of 22 treats with two layers stacked on top of each other. One could imagine extending the treat dispenser to include more drum layers by adding even more layers.
Source code is available on GitHub and the STL files for the dispenser are available on Thingiverse. We’ve seen cat electronic feeders before, sometimes with escalating consequences that shake us to our core and leave us questioning our superiority.
Video after the break!


Would be great to see this ported to work using a Pi Pico W.
doesn’t seem to be a very complex device – i would assume an esp8266 and Blynk would be appropriate and quick to whip up
Good idea but in few months it’ll be thrown out as biofouling sets in.
Print with PET filament?
Please be kind and respectful to help make the comments section excellent. (Comment Policy)
This site uses Akismet to reduce spam. Learn how your comment data is processed.
By using our website and services, you expressly agree to the placement of our performance, functionality and advertising cookies. Learn more

source

Note that any programming tips and code writing requires some knowledge of computer programming. Please, be careful if you do not know what you are doing…

Post expires at 7:35pm on Thursday February 23rd, 2023

Leave a Reply

Next Post

PointsBet Promo Code for FIFA World Cup 2022 Games Today - Get 5x $100 In Free Bets- 23 November, 2022 - Sportskeeda

Wed Nov 23 , 2022
PointsBet offers up to $500 (no promo code required) in free bets and innovative betting options like PointsBetting and Bet Multipliers. In this article, we will go through ways to get the benefits of the offer for betting on FIFA World Cup games.No promo code is required if you join […]
%d bloggers like this: