Introduction: Automatic Catapult for Throwing Pet Food (dog, Cat, Chicken, Etc), Throwing Balls and More!
Hello and welcome to my first Instructable!
Our dog LOVES her food, she'll quite literally eat all of it within seconds. I've been devising ways to slow this down, from balls with the food inside to throwing it all over the backyard. Amazingly, she's now like a vacuum and can find and eat the food impressively fast. So, back to the drawing board and I came up with this device to assist her to slow down and enjoy her food :)
Step 1: CONCEPT
Please take the few seconds to enjoy the 2 videos, they explain a lot.
But, in words, the basic concept is that the Rotator servo rotates and pulls down the catapult arm. It does this until it touches the limit switch. Then the Trigger servo goes to the hold position, which holds down the catapult arm. The Rotator servo then rewinds to the original position, ready for the next throw.
The Food Delivery servo rotates the pipe and delivers some food (or other things) to the catapult arm container/head. The Trigger servo then turns and lets the spring pull back the catapult arm and flings the food.
In testing, this setup catapulted dog food biscuits over 10 meters, with food rolling. Adjustments to servos and changing the spring will modify this completely.
Step 2: ELECTRONICS
I'll try to be succinct throughout this Instructable, not just for simplicity, but because this catapult can be made 100 different ways. It can be scaled and you can make various structures and use various materials. Besides the electronics and servos, the rest is completely flexible with what you have at hand, or to your budget.
I won't be explaining step by step how to do the electronics, there are plenty of impressive Instructables on that. Especially because I'm a newbie, I’ve probably made mistakes and you'd be better to learn off professionals ;)
Arduino Uno R3 - any arduino will do the job though
2 x 180 degree servos
1 x continuous rotation servo
10k ohm resistor
4 x AA batteries and case
1 x 6 volt lantern battery - can be (and I will) replaced with 5 x AA batteries wired together.
2 x switches - any kind will do, even the simplest.
Connecting cables - plenty of these ;)
Breadboard - for testing
MATERIALS - IF CREATING PERMANENT
2 x 2 pin connectors - optional, you could hard wire the batteries.
I bought a couple of cheap Lofty Ambition S3003 180 degree servos off eBay. You'll want something of at least this grunt, don't try to buy lesser as they'll just be able to take the load. But, they don't need to be expensive ones from Jaycar or the like either.
The continuous rotation servo I used is FS5106R. Model isn't important, but you'll definitely need the servo to have at least these specs
If you make the catapult stronger or larger, make sure you get bigger servos to match.
I've attached the Arduino sketch. I've utilised descriptive names, so hopefully not a lot is vague. The important element is right at the end, the very last Delay. This is where you can speed up the whole process, or slow it down. It depends on how much of a gutz your dog is :) We're feeding ours 1.5 cups of dry dog food and at the 3 second delay it's taking over half an hour to catapult all of the food.
Step 3: STRUCTURE
As previously stated, the structure is entirely up to you. You can make it out of plastic, wood or metal. The size is also up to you. If you want to be able to catapult more food (or other things) make it smaller or bigger. So, due to these points, I won't go into complete detail about how I made my structure. I'm very happy to provide any answers on anything.
I'm a BIG fan of reuse/recycle/upcycle/etc. So, much of what I've used I had in my shed. I've made most of my structure out of aluminium I had due to another project. The main structure is out of 25mm square aluminium tubing and "connect-it" plastic connectors. The brackets for the motors I made out of 25mm wide x 3mm aluminium.
The food delivery holder is made out of 40mm pvc pipe from my local hardware store. The actual arm is two smaller 45 degree connectors, connected together and hot glued into the larger pipe. The larger pvc tube has another 45 degree connector to make it easier to add in the pet food biscuits (or other things).
The rest for the food delivery arm was designed to allow easy circular motion - to make it easier on the servo. There are better ways (if you have the tools) to make this, but I did my best. I made some brackets, cut up some metal rod and used a product called "knead it" to attach the rods to the brackets and the bearings. As you can see by the videos, the pvc pipe turns smoothly over the bearings and these take much of the weight (and required torque) off the servo.
The catapult arm is a tennis ball thrower from a cheap shop $2.
The catapulting power is from an old spring I found in my workshop - as you can see from the rust. The size and type and strength of the spring is crucial to how strong and effective the catapult functions. You'll have to balance the servo strength with the spring strength.
The catapult arm is pulled down via fishing line through a little metal handle (or feeder, depends on your use), down under a platform that holds the limit switch (more on that in second), along the length of the structure, through another metal handle (to keep it from tangling), then attached onto the spindle (I used the plastic thing that holds cotton on the Rotator), which is attached to the continuous servo. Additionally, I used a thin and weak bit of elastic, attached to the fishing line and the Trigger brackets. This ensures that when the Rotator unwinds the fishing line doesn't get caught up anywhere.
I used this Tunnel Core - All purpose plastic sheet - Double wall utility board for an easy way to create the enclosure for the batteries and electronics.
The structure is very solid, yet quite light. The heaviest part of it is the lantern battery, which will be replaced shortly with AA rechargeable batteries.
Step 4: LESSONS LEARNED & FUTURE MODIFICATIONS
As with anything that you're aren't a master in, there are always things learnt along the way. In this project, well, let's just say you'd be bored with my list before you got to the end ;)
One of the biggest issues is food clogging. This food delivery arm came from an Instructable, but unfortunately I can't seem to find it. It very sporadically doesn't deliver any biscuits, but this is a good thing, it keeps the pet guessing! But, generally it works very well.
I built the structure out of aluminium because our dog isn't gentle, so it needs to hold up to her. Fortunately, thus far it's doing well.
I'll be improving the catapult arm, making it look a little sexier. Additionally, I'll program an Arduino Nano to replace the Uno. Most of the important elements can be broken down to allow access. e.g. food delivery, electronics enclosure.
All in all, a very fun project and our dog loves it! I'm very happy to provide any answers or advice on anything.
Thanks very much to Instructables and to you for reading about the Automatic Catapult.
Please feel free to vote for me in the competitions ;)
Runner Up in the