I have a small side project using Arduino (pro mini or nano) that would detect passing model race cars (and quadcopters) and counting how many times it passed through a selected location. I thought of using IR emitters and detectors (photodiode) to achieve this but I'm worried it might not be fast enough or it might miss some counts.
The setup would have a few (1 or 3) IR emitters on one side of the road and a detector on the opposite side, facing the emitters (or maybe the emitters on top, and detector on the bottom). They would be more or less 1 foot apart and the toys would pass in between (there is also an arch about 1ft and all of them should pass under the arch). I'm using these for the emitters and these for the detectors.
Only one car would pass through the track at any given time so there would be no issues arising from use of multiple cars.
The toys are about 4-5" length and width, and height of a quadcopter would be around 1-2".
Basically, just detect any brick-sized object passing through the arch.
Is there something I could do to guarantee a count and would IR even fit this type of application? Or should I use an alternative? If so, any suggestions?
Thanks in advance