Laser break detection for high speed passing
Liveforliving
Posts: 2
So, I'm working on this project where a laser and a photoresistor are connected to an Arduino. The goal is when a 2inch board swings through, it breaks the laser beam, which triggers an LED to light up. The challenge is that the board is going to be traveling at 30-50mph.
Is a photoresistor able to detect the break in that quick of a moment? Does anyone have a better idea on what to use that will work better in detecting the 2inch board passing through?
Thanks!
Is a photoresistor able to detect the break in that quick of a moment? Does anyone have a better idea on what to use that will work better in detecting the 2inch board passing through?
Thanks!
Comments
Liveforliving, get yourself a phototransistor, and use it to detect the broken beam.
-Phil
If you just want a presence/absence detection then a phototransistor may do, but keep in mind it detects ambient light too.
If you want to measure the velocity with any precision, a phototransistor may not be enough.
You can get photo-logic receivers, in various forms. Those are a little more advanced than phototransistor, with a amplifier and schmitt / square wave out.
Examples would be
http://www.digikey.com/product-search/en/sensors-transducers/optical-sensors-photo-detectors-logic-output/
If the board is thin, and on controlled path you could also look at
http://www.digikey.com/product-search/en/sensors-transducers/optical-sensors-photointerrupters-slot-type-logic-output/
In this case, it is objects flying/swinging across that will have approx. 2x2 of area to break the laser.
I'll look into phototransistors if they are better than the photoresistors for the purposes of detecting a difference within milliseconds. We can always put the photoresistor or phototransistor in a small tube to block out ambient light.
-Mike
Interesting, I would not have thought of a Frequency Output device as fast, but if you measure every period, and run it at moderate light levels the frequency is comfortably sub-ms.
Another Sensor that has good range / speed trade off, are the Code-Learning IR receivers.
These have wider band (20 ~ 60kHz) than fixed-frequency RX, and will decode each IR modulation cycle (as opposed to bursts).
eg TSMP77000 TSMP6000 (and there is a separate-diode model too)
Less Range at 5m, but I think more widely useful than narrow band iR-Rx.
-Phil