Figuring Out Acceleration on a Potato Gun
I got to thinking, though, that I could go beyond just shooting the potatoes, and actually turn this into something useful. If there was a way to determine the acceleration of the potato inside the barrel, that would be super cool. I've had a few ideas on this so far:
The most complicated involves drilling holes on each side of the barrel. The holes would be every inch the entire length of the barrel. On one side led's would be installed and wired in parallel to remain on constantly. On the other side photoresistors would be installed and also wired in parallel with a microcontroller. When the potato traveled down the barrel it would block the light to some of the photoresistors and the microcontroller would get a readout. If there was a way to program this whole system and get a graph on a computer of the acceleration/time curve, that would be awesome!!
Another way would yield a less accurate number. Shooting the cannon straight up and timing how long it takes the potato to hit the ground would give you the initial velocity. Vf = Vi + Gt, so: -2Vi = -9.81t . Once the initial velocity is known, if the time it takes for the potato to leave the barrel can be figured out, the acceleration could be figured out.
Let me know what you think!
Note: I will attach images as they come.
17
comments
|
Add Comment
|
I personally built the exact device you are talking about to measure it very precisely using IR LEDs and photo transistors. One thing that you have to be careful of is choosing the proper transistor. The projectile is traveling so fast that unless the rise and fall time of the transistor is very short ~ 5 - 10 nS the transistor will not actually shut off. When I first built the timer I did not know C++ so I found a "pinewood derby timer" program online that I was able to use and capture the events and time them. Since then I have learned C++ and Assembly and have developed a program that allows you to input all of your cannon criteria (sensor location, chamber size, chamber pressure, barrel length, barrel diameter, projectile size and weight). Then the computer will tell you the theoretical muzzle velocity and then measure the actual velocity when you fire the gun.
One of my favorite things to shoot is ping pong balls and golf ball cores. You would be amazed at the damage that a ping pong ball will cause when leaving the barrel at speeds in the neighborhood of 450 mph. I can put a ping pong ball through an orange box.
How did you get -2Vi = -9.81t ?
The -2Vi = -9.81t becuase if the potato goes straight up, then when it hits its starting position it will be going the same speed as when it left, or the opposite velocity. Therefore Vf = -Vi, and then combining the two Vi's give me -2Vi.
If the potato didn't end up below where it started (because the cannon is held in the air), the equation deltaY = Vi(t) + .5G(t2). The second equation would be more accurate, because it takes into account the change in position (about 1m).
A photogate is just what you describes. It measures velocity / acceleration by comparing the change in position to the change in time by doing what you just described :D
1. Shine it on a phototransister, properly feed the phototransister with power
(http://encyclobeamia.solarbotics.net/articles/phototransistor.html)
3. detect a change in voltage somehow. I've already suggested the parallel printer port on an old PC
4. ???
5. profit
At sea level density is approximately 1.223 kg/m3. A sphere has a drag coefficent of approximately 0.4.
A 3" diameter potato leaving the gun at 45 m/s (in the ball park for a potato traveling 300 yards in 10 seconds experiences a drag force of 2.26 N. Doesn't seem like much, but over the whole flight it adds up and makes the problem a nonlinear system.
Let me take this opportunity to plug my favorite aerodynamics book: Flight Without Formulae.
V^2^= V2
Or do you just want the velocity of teh spud as it leaves your device?
If you just want the velocity, there are things called chronographs for firearms that should work out of the box. Google image search for chronograph skyscreen to see what these things look like.
The skyscreens look like IR emitting diodes at the bottom of the V, and some reflective tape at the bow. There's likely a photo transistor also measuring the reflected light at the bottom of the V, but I want to stress that I've never seen one in real life. They should be homebrewable.
The best chronographs use three skyscreens and average the results.
As for measuring the acceleration in the barrel, you have a number of options that firearm people don't.
First off, you can get clear PVC tubing instead of the white kind. Also, IR light might pass right through normal white PVC tubing. I think your holes idea is a good one, except without the holes.
What about cheap laser pointers?
One thing I'd like to stress is to use phototransistors instead of the photoresistors you mentioned. Photoresisters, IIRC, do not react to light fast enough to measure accurately.
Then you've got to measure the data. I would offhand recommend an olde PC with a printer port, running FreeDOS or something. However, I am unsure of how fast you can sample the input ports on the parallel/printer port. Anyone know?
![]() |

















Vancouver Mini Maker Faire 2012
Rebuilding NordicTrack ski machine drive rollers
Looking for New Zealand-based Instructables authors for conference on August 27 in Wellington
Call to makers - Brighton Mini Maker Faire
Milk Crates - not as green as you think
TEDxBaghdad - Iraq - violence, dust storms and open sourced manufacturing
UK Mini Maker Faire - The Derby Silk Mill - New Poster to Share!







