04-21-2017 01:39 AM
I am connecting two IR sensor module to the analog pin of arduino to detect the velocity of object. IR LED and photodiode are kept in front of one another when the object passes between them voltage differ similarly with the second module which is kept at some distance.We know the distance and the time will seen when the object is passes between the sensor then by using the formula of speed we will get the speed.
How to do this in labview. I have try this much only not able to proceed further.
Please Help!!!
Solved! Go to Solution.
04-21-2017 09:24 AM
If I understand your project you are using IrLED (Emitters and detectors?) to make two "photobeams", right?
Well it would seem to me that you would simply start a timer whew the object breaks the first beam and stop the timer when the object breaks the second beam.
Then knowing the distance traveled between the beams and the time it took you can calculate the speed of the object.
04-21-2017 09:41 AM
Here is an example.
04-21-2017 11:06 PM
Thanx but i have to use arduino.
04-23-2017 04:26 AM
Thanx but How i get photobeam1 and 2
04-23-2017 10:36 AM
Those are where you are implementing your Arduino reads.
04-24-2017 09:30 AM
@sona32 wrote:
Thanx but How i get photobeam1 and 2
Connect the Output if this example circuit to one of the Arduino's digital inputs for each photobeam.
In fact you do not even need the 10K pull up because the Ardunio has internal pullup resistors you can turn on.