Hi there, so I've been mulling around this project in my head a little bit. SO I built a rig that uses IR leds/IR recievers to sense when a BB was going out of the barrel of an airsoft gun (counting ammo usage through the course of a game). And I had a little bit of trouble with actually getting a signal off of some guns.
I'm wondering, what might have been causing the problem. I doubt that the arduino is running too slow to pick up the pulse. I think, assuming a 5mm bb, going say 500fps, Thatd be the 5mm turned into inches is ~.2in, to feet thats .016ft for the bb's cross section. .016 divided by the 500f/s gives you the amount of seconds that the BB takes to go by a point (the sensor), then multiply that by 1000 to get the number of milliseconds that it takes to pass by.
So .032ms, too fast for the arduino to pick up? Or is my math wrong? Or is there a better way overall to go about this?