Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
wowowee said:i use two signals because the ir signal is supposedly used as a trigger for the timer of the pic in the receiver. and when the ultrasonic signal arrives the timer stops. then i'm gonna use that time and use the equation to get the distance. but i get your point that the speed of light is ignorable. so i can just use the speed of sound, multiply it with the time obtain. right?
wowowee said:now my problem is that the us signal will arrive first than the ir signal. can you help me with this? is it okay to use phototransistor for this? my arena is about 2 meters long. is the phototrans capable of that range?
There is absolutely no way you will EVER use a PIC to measure the 1nS/ft speed of light.wowowee said:i need help. i want to ask what is the equation for computing the time difference of arrival of infrared and ultrasonic signals. i'm using a 40kHz ultrasonic module and i used the gp1u52x as infrared receiver.
cadstarsucks said:There is absolutely no way you will EVER use a PIC to measure the 1nS/ft speed of light.
Don't let the less knowledgeable tell you otherwise!
Actually the original question WAS about the speed of light and the speed of sound. Later in the thread was the actual application of triangulation was brought up.Nigel Goodwin said:No one has ever suggested he could, nor is he wanting to, perhaps you should read the thread before you jump in?.
But that was ruled out on the second post, the rest of the thread was purely about the speed of sound and taking into account for the response time of the infrared sensor.cadstarsucks said:Actually the original question WAS about the speed of light and the speed of sound.