In my engineering class we must make a machine that can sort 15 marbles with 3 different types in less than 2 minutes. I plan on having one marble go over/under a light sensor with a flashlight on the opposite side so it can read its reflection, then have a gear with three cups spin according to what the light sensor value is.
Do you think that the light sensor will be able to read the value and spin in less than 1 second? Or should I put something to stop the marble while it is being read?