Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 219
Posts: 13898
Lua rocks!
|
 |
« Reply #15 on: January 19, 2012, 01:21:22 am » |
You shouldn't need to use analog reads. That will fundamentally slow it down. I did a post here about using an op-amp as a comparator. In fact that was about measuring light: http://gammon.com.au/forum/?id=11011Use a simple circuit like that, and then a digital read (and preferably an interrupt). But a loop with a digital read should be OK at those slow speeds.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 31
Life is art is life.
|
 |
« Reply #16 on: January 19, 2012, 01:37:32 am » |
You should go with interrupts as PaulS suggested. They will give you the fastest response possible. They might seem a bit complicated but will help you out in the long run. So, 50 mS to drop that distance. Since an ISR can activate in around 3 uS (16000 times as fast as that) you should easily be able to detect even very heavy objects, like elephants, falling.
Sorry to sound like a smart aleck but speed of an object falling has no relation with the weight of object. Galileo showed this by throwing 2 balls of different weights from the Leaning Tower of Pisa 
|
|
|
|
|
Logged
|
|
|
|
|
Scotland
Offline
Newbie
Karma: 0
Posts: 44
|
 |
« Reply #17 on: January 19, 2012, 01:55:54 am » |
That is in a vacuum, wind resistance is a factor for one!
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 219
Posts: 13898
Lua rocks!
|
 |
« Reply #18 on: January 19, 2012, 02:19:14 am » |
Sorry to sound like a smart aleck but speed of an object falling has no relation with the weight of object. Galileo showed this by throwing 2 balls of different weights from the Leaning Tower of Pisa  That's OK, I was expecting a comment.  I was thinking of Monty Python where they were talking about "what also floats on water?". "Lead". "Small rocks". But you have to admit that foam blocks fall more slowly than elephants. 
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Online
Brattain Member
Karma: 278
Posts: 25585
Solder is electric glue
|
 |
« Reply #19 on: January 19, 2012, 05:15:39 am » |
It's a fair cop.
One of the first things I saw on the internet way back in 1995 was that the most asked question was what does the Witch say in Monty Python, and the second most asked question was what does it mean!
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 31
Life is art is life.
|
 |
« Reply #20 on: January 19, 2012, 06:55:30 am » |
That is in a vacuum, wind resistance is a factor for one!
Wind resistance is dependent upon surface area. And surface area has nothing to do with weight. So if u throw 2 balls of same dimensions, but one of steel and one of wood(as Galileo did) from the same height, they reach the ground at same time even though the steel one is obviously a LOT heavier. And this will work even on Earth's atmosphere because the wind resistance will be same on both. We are getting totally out of the scope of this thread. But i love it  But you have to admit that foam blocks fall more slowly than elephants.  Only one way to find out: by throwing a foam elephant and a real elephant from the leaning tower of pisa. 
|
|
|
|
|
Logged
|
|
|
|
|
Gosport, UK
Offline
Faraday Member
Karma: 19
Posts: 3117
|
 |
« Reply #21 on: January 19, 2012, 07:07:53 am » |
Make sure you film that. I want to see it. Although the cell structure of the foam could well influence air resistance.
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 316
Posts: 35593
Seattle, WA USA
|
 |
« Reply #22 on: January 19, 2012, 07:38:54 am » |
Make sure you film that. Especially the part about getting the elephant to the top. Watch where you step.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 138
Posts: 19067
I don't think you connected the grounds, Dave.
|
 |
« Reply #23 on: January 19, 2012, 07:48:53 am » |
Dave Scott did the experiment on the Moon during the Apollo 15 mission, with a falcon's feather and a hammer (though where they found a spaceflight-certified feather is beyond me)
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Manchester (England England)
Online
Brattain Member
Karma: 278
Posts: 25585
Solder is electric glue
|
 |
« Reply #24 on: January 19, 2012, 08:27:48 am » |
Wind resistance is dependent upon surface area. And surface area has nothing to do with weight. So if u throw 2 balls of same dimensions, but one of steel and one of wood(as Galileo did) from the same height, Yes but Galileo didn't, While this story has been retold in popular accounts, there is no account by Galileo himself of such an experiment, and it is generally accepted by historians that it was at most a thought experiment which did not actually take place. Quote from:- http://en.wikipedia.org/wiki/Galileo_Galilei#Falling_bodiesAlso see:- http://www.jimloy.com/physics/galileo.htm
|
|
|
|
|
Logged
|
|
|
|
|
UK
Offline
Tesla Member
Karma: 89
Posts: 6415
-
|
 |
« Reply #25 on: January 19, 2012, 01:33:12 pm » |
Wind resistance is dependent upon surface area. And surface area has nothing to do with weight. So if u throw 2 balls of same dimensions, but one of steel and one of wood(as Galileo did) from the same height, they reach the ground at same time even though the steel one is obviously a LOT heavier. And this will work even on Earth's atmosphere because the wind resistance will be same on both.
Sorry for diving off-topic, but the bit in bold above is untrue. The point of the thought experiment is that it only works in a vacuum, because as soon as you introduce atmospheric drag the net acceleration is determined by both weight and aerodynamic drag.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 31
Life is art is life.
|
 |
« Reply #26 on: January 19, 2012, 10:44:13 pm » |
Make sure you film that. Especially the part about getting the elephant to the top. Watch where you step. There will be no difficulty taking it up. I'll take a baby elephant and wait for it to grow up. Yes but Galileo didn't, Yeah, guess he didnt. But we will! With elephants! Sorry for diving off-topic, but the bit in bold above is untrue. The point of the thought experiment is that it only works in a vacuum, because as soon as you introduce atmospheric drag the net acceleration is determined by both weight and aerodynamic drag.
Don't apologize. We are ALL totally off topic here.  Go through this (Seems like someone already tried out our experiment!): http://www.physicsclassroom.com/mmedia/newtlaws/efff.cfmand then this http://www.physicsclassroom.com/mmedia/newtlaws/efar.cfmSubsequently, the amount of air resistance is dependent upon the speed of the falling object and the surface area of the falling object[\quote] Quoted from the above 2nd link. Guess you are right that this will not happen on earth. But acceleration is same for both balls(9.8m/s^2). It is not determined by weight or aerodynamic drag(best explanation: www.jimloy.com/physics/galileo.htm and links above). Instead, the heavier ball will accelerate for longer time, hence having more terminal velocity and striking ground first.
|
|
|
|
|
Logged
|
|
|
|
|
Scotland
Offline
Newbie
Karma: 0
Posts: 44
|
 |
« Reply #27 on: January 20, 2012, 01:20:26 am » |
Iv just done it and yep elephants do actually fly, amazing!
|
|
|
|
|
Logged
|
|
|
|
|
|