My school has a vacuum cannon and it fires small table tennis balls. We can only calculate the velocity theoretically because my school does not have any device that is capable of measuring a projectile traveling at around 350 to 400 m/s
I was thinking of using two tin foils and measuring the time interval of opening circuit. (Using a photo resistor would be too slow)
I did some research and I did find some useful resource: http://forum.arduino.cc/index.php/topic,114435.0.html
Please give me some advice on how I should tackle this problem. (Should I just use the method I found?)
Photoresistor would be fine - you have the same delay in detecting at two points, so they cancel out.
interval time = (T2+time_delay) - (T1+time_delay) = T2 +time_delay - T1 - time_delay = T2 - T1.
Also has the benefit of no tin foil impacting the time by slowing down the ball at all.
We can only calculate the velocity theoretically because my school does not have any device that is capable of measuring a projectile traveling at around 350 to 400 m/s
you can measure the soundpulse of the cannon firing and the soundpulse when it drops the floor or it hits the wall.
That too will give you two timestamps and a distance.
If you shoot right up in the air you can even determine the velocity of the ball leaving the canon as the ball makes (almost) a perfect parabola.
Gravity will decrease the velocity until it reaches zero
V = V0 - g x t
V = 0 when it is at the top, => V0 = g x t
g = 9.80665 (depends on where you live), and t is half the time between firing and the moment it hits earth again.
example:
so if t = 14.35 seconds => 0.5 t = 7.17 => V0 = g x t = 9.81 x 7.17 = 70.34 m/s
The height the ball would come is 0.5 x g x t2 = 0.5 x 9.81 x 7.172 = 252.16 meter (so don't test this indoors
The above calculations do not include drag / friction.
CrossRoads:
Photoresistor would be fine - you have the same delay in detecting at two points, so they cancel out.
interval time = (T2+time_delay) - (T1+time_delay) = T2 +time_delay - T1 - time_delay = T2 - T1.
Also has the benefit of no tin foil impacting the time by slowing down the ball at all.
I am just worried because I have never used a photoresistor for anything... and the projectile is moving very fast...
Also the photoresistor I have is a crap one (I believe) that just came with SparkFun Arduino starter kit...
Edit:
Based on simple calculation
Assuming it is traveling it at 350 m/s, a large projectile (cylinder shape with hemispheric nose and tail) which is around 6 cm
t = d/v = 0.06/350 = 0.0001714 seconds...
Arduino has 16 million clock cycle which is plenty to get readings but I think the photoresistor is just not that responsive...
(your calculations assume a perfect vacuum on one side of the projectile)
Edit:
Sanity check.
0 - 340ms-1 implies a steady acceleration of v2 /2s = 3402 / 4 = 28 900ms-2 or about 2950g.
Can a ping-pong ball really sustain that?