does anyone know what kind of sensor is used in this application?

Hi,
please see photo below to understand what im talking about
Does anyone know what kind of sensor is being used to detect whether a basket has been scored on these machines (see photo in link)?
When I google motion sensing and arduino, it mostly comes up with PIR sensors and projects aimed at detecting the presence of people or animals. I would like to detect moving objects like in the example below.
I would like to detect objects smaller than a basketball but also moving at speed.
Essentially I want to detect when something has passed through a hoop. But something smaller than a basketball.

Thanks for any help
(ideally i would like to detect anything that passes through the hoop, from things 4cm across or smaller, to a full sized basketball.)
Would beam break detection work? i.e. facing the emitter and receiver in the same direction, facing away from the back board under the hoop, when something passes through, the beam will be reflected back, triggering the ir detector? Or using a photoresistor to detect sudden decreases in light as an object flies past it at close proximity?
obviously i only want the circuit to be triggered if something passes through the hoop and not by people walking past, as may be the case with the IR break beam set up.
Might ultrasonic work, i.e. could I use that to calibrate the distance at which a detection is considered a hit, and not someone walking by.
is there any chance of one or multiple of these working? :
http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=131201356019&fromMakeTrack=true&ssPageName=VIP:watchlink:top:en

This is a light curtain application (meaning the requirements are similar regardless of the purpose) .
Google Omega Light Curtain
There's IR led transmitters and IR photo transistor detectors. They have to be mechanically aligned very accurately. The mounting
needs to be such that the angle can be adjusted. Once they're calibrated then they are very reliable.

Didn't you already post about this a few weeks ago, or was that some other person? The sensor in the first photo is an untrasonic distance sensor, also commonly called a "ping" sensor. It literally "chirps" an ultrasonic pulse out of one of the cans. In theory, the pulse echos off an obstruction and is received back to the other can. You typically count how long it takes for the pulse to come back, and from there it is a simple mathematical formula to calculate the distance. These are commonly used for robots to help with collision avoidance or for anything where you want to attempt to measure the distance from something. I've got some experience with them. I don't think they will be a good sensor for you to use on your hoop machine. First, they are prone to errors... The sound radiates outward and pulses can be echoed off a wide range of things... the further out the pulse goes, the bigger the chance the pulse will echo off something not directly in front. For example, I attempted to build a parking assistant for my garage. The pulses were constantly bouncing off other things in my garage causing false distances. Also, these don't work well if the surface they hit is curved or angled away. They work best with the object they hit is flat and directly facing the sensor. Case in point, my wife's car has a lot of curves on the front of it. I could never get the sensor to report correct distances with her car, yet it worked fine with my car.

As I mentioned in the other thread, the best way to do this is with an IR proximity detector or IR break beam. If you had it mounted just under the rim angled at a downward angle, this would probably eliminate false triggers. The idea is there is an IR emitter that shoots infrared light that gets reflected back only if a ball is in the way. Since the beam won't be reflected back until the ball is more than halfway in, you should be able to prove the ball is going through. You're probably going to have to adjust the angle until you get it right.

Give this one a try:

Or this one:

raschemmel:
This is a light curtain application (meaning the requirements are similar regardless of the purpose) .
Google Omega Light Curtain
There's IR led transmitters and IR photo transistor detectors. They have to be mechanically aligned very accurately. The mounting
needs to be such that the angle can be adjusted. Once they're calibrated then they are very reliable.

Would something like this work, if I mounted it on an adjustable mount like you say?

Xpendable:
Didn't you already post about this a few weeks ago, or was that some other person? The sensor in the first photo is an untrasonic distance sensor, also commonly called a "ping" sensor. It literally "chirps" an ultrasonic pulse out of one of the cans. In theory, the pulse echos off an obstruction and is received back to the other can. You typically count how long it takes for the pulse to come back, and from there it is a simple mathematical formula to calculate the distance. These are commonly used for robots to help with collision avoidance or for anything where you want to attempt to measure the distance from something. I've got some experience with them. I don't think they will be a good sensor for you to use on your hoop machine. First, they are prone to errors... The sound radiates outward and pulses can be echoed off a wide range of things... the further out the pulse goes, the bigger the chance the pulse will echo off something not directly in front. For example, I attempted to build a parking assistant for my garage. The pulses were constantly bouncing off other things in my garage causing false distances. Also, these don't work well if the surface they hit is curved or angled away. They work best with the object they hit is flat and directly facing the sensor. Case in point, my wife's car has a lot of curves on the front of it. I could never get the sensor to report correct distances with her car, yet it worked fine with my car.

As I mentioned in the other thread, the best way to do this is with an IR proximity detector or IR break beam. If you had it mounted just under the rim angled at a downward angle, this would probably eliminate false triggers. The idea is there is an IR emitter that shoots infrared light that gets reflected back only if a ball is in the way. Since the beam won't be reflected back until the ball is more than halfway in, you should be able to prove the ball is going through. You're probably going to have to adjust the angle until you get it right.

Give this one a try:
Pololu Carrier with Sharp/Socle GP2Y0D810Z0F Digital Distance Sensor 10cm

Or this one:
http://www.pololu.com/product/2464

Hi,
Thanks for all the advice was a thorough and enlightening read. The ultrasonic sensors sound a bit dodgy then.
Il take a look at the break beam and ir proximity detectors. Il order a few different ones in and have a play around to see what I can get working.
Thanks again for taking the time to give this thorough advice.

Xpendable:
Didn't you already post about this a few weeks ago, or was that some other person?

http://forum.arduino.cc/index.php?topic=246621.0

Would something like this work, if I mounted it on an adjustable mount like you say?

yes, but you need to understand what I mean by "adjustable mount". The emitters are adjustable but the detectors are fixed.
By "adjustable" I mean there is a tiny pc board mounted on a pivot. There are screws that go in and out adjusting the pivot angle.

raschemmel:
Infrared Emitters and Detectors - SEN-00241 - SparkFun Electronics

Would something like this work, if I mounted it on an adjustable mount like you say?

By "adjustable" I mean there is a tiny pc board mounted on a pivot. There are screws that go in and out adjusting the pivot angle.

Can you buys these ready made for purpose? Or will I have to create something myself?
Thanks again for all the help, just waiting for some parts to arrive at the moment and testing everything out.

https://www.google.com/search?q=ir+detector+module&rlz=1C1GPCK_enUS504US504&espv=2&tbm=isch&imgil=V6QHcEUWJOUwJM%253A%253Bhttps%253A%252F%252Fencrypted-tbn3.gstatic.com%252Fimages%253Fq%253Dtbn%253AANd9GcT90DEqvy37s5-MdYHuT0N5MHdGH1zPW1eHXWBQ_jzOwkcjiVUa%253B960%253B520%253BApO3JIOHyAD_MM%253Bhttp%25253A%25252F%25252Fwww.fasttech.com%25252Fproduct%25252F1380800-ir-infrared-obstacle-avoidance-sensor-module-w-dup&source=iu&usg=__cxYse1DHf5La74WUXs0dqSmdsN0%3D&sa=X&ei=XN-qU4HfJ4K8oQSc6ILABw&ved=0CEIQ9QEwAA&biw=903&bih=429#facrc=_&imgdii=V6QHcEUWJOUwJM%3A%3B-UVpR0HFAy_T6M%3BV6QHcEUWJOUwJM%3A&imgrc=V6QHcEUWJOUwJM%253A%3BApO3JIOHyAD_MM%3Bhttp%253A%252F%252Ffasttechcdn.com%252Fproducts%252F138%252F1380800%252F1380800-2.jpg%3Bhttp%253A%252F%252Fwww.fasttech.com%252Fproduct%252F1380800-ir-infrared-obstacle-avoidance-sensor-module-w-dup%3B960%3B520

The ones on this page are probably the only ones you can afford . There are probably industrial (as opposed to hobbyist) versions but they would cost more than you would be willing to spend.
The mounting hole is for a standoff. The standoff is mounted on a pivot with screws that allow you to adjust both axis a few mm.
You have to be creative.

Awesome, thats given me a few ideas of how i could make them adjustable. Thanks!