Arduino Controlled Catapult
I recently had the idea to create a catapult, But not just any kind of catapult, an electronic catapult! I wanted something I could just sit it down hit some buttons and watch it do its thing without being to big.
This is what I came up with:
It is a little bigger than what I would of hoped but maybe I will make a smaller desktop/ office version soon.
It uses the Arduino as the brains of the operation and do note I’m still quite new to Arduino.
It use 3 servos to control tension, angle and trigger.
Tension and angle are controlled but two potentiometers.
The trigger is controlled by a push of a button which also resets automatically!
There is a extra button for Manual Reset if needed, As well as the on and off button (blue)
all powered by Arduino and a custom shield to run the servo without killing the Arduino
Let me show you how I build it so you can build your own!
Step 1: Materials and tools
First thing first, Sit down.
Grab some paper and draw what you want! This way you wont spend hours in the hardware store getting things you wont need.
My design is very basic, it uses a H shaped piece for the angle stopper and just a simple arm made out of a plank of wood that share the same pivot as the H piece.
Design yours how you want, even do a Google on some designs if you don’t like mine.
I have listed some pictures to look at for ideas.
When you have your design and idea your going to need to get the stuff to build it out of, Now it doesn’t have to be wood, I could be anything!
Try and keep it light to keep the work low on the servos.
I went down to my local hardware store and picked up a bunch of wood for around about $15 for this project.
Your also going to need basic tools, bolts and other junk depending on your own design.
Step 2: Its all about Angles!
The angler was the hardest thing to figure out how to mount,
I had to mount a servo, H piece and catapult arm all on the same pivot join, The way I managed do this was to use two bolts ether side penetrated into the catapult arm that are countersunk flush so the servo could mount over it on the outside, On the two inner wood support pieces a nut was pressed flush into the inside to keep the bolts from coming out and hold ever thing together.
Two holes were drilled into the top of the H piece and a metal bar was tightly push though to act as a stop.
The servo itself was then mounted to a piece of acrylic that holds it nicely in place.
After running the arm up and down I noticed I was getting just a little bit of movement in the mount due to being a little of center, I didn’t what this to stress the mounts too much so I added springs to each bolt holding the acrylic firmly down while letting that little bit of movement. (3rd image)
Step 3: Springs!
Springs are what gives you the power!
Try and find some good long and strong springs to use for the main tension source, Don’t go too far overboard or else your servo wont be able to handle the load! If you overload a servo it will start humming or screaming and you could stall the motor and risk burning out the motor inside the servo.
My springs are all I had at the time, I had to double the length and overall strength to get them to suit my needs, although I did happen to find some better springs later on that allowed me to get another meter of distance.
For more detail: Arduino Controlled Catapult
JLCPCB – Prototype 10 PCBs for $2 + 2 days Lead Time
China’s Largest PCB Prototype Enterprise, 300,000+ Customers & 10,000+ Online Orders Per Day
Inside a huge PCB factory: https://www.youtube.com/watch?v=_XCznQFV-Mw
This Post / Project can also be found using search terms:
- arduino controlled catapult like a golf
- electrinic trigger cataput
- electronic catapult trigger
- nunchuck controlled catapult code