We are using a belt to run basketballs up to the shooter part of our robot for this year. We are planning on using the line following sensor from last year to determine when there is a ball in place. Mechanical insists that it is possible (and I think it is too), but I am not sure how to do this exactly.
Any help or ways to get me started would be useful.
Best thing to do would be to set up a line sensor, plop a ball in front of it, and play with the line sensor adjustment to see if you can reliably get it to detect a ball and not anything else. It won’t take long at all and it’ll give you a definite answer. Please let us know what you find out
Oh, right what am I thinking. Too late at night lol. There are still a lot of other variables tho, but I would be interested to see your results from test. Our team will probably be using limit switched tho is i think it will be more reliable
Happens And yes there definitely are, the biggest problem I’d see with it would be ambient light interfering with it, and the spherical shape of the balls. You’d probably need to make some sort of dark chamber for them to pass into with the line sensor.
Limit switches would probably be my preference too, as with that kind of mechanical solution there seems to be a lot less margin for error (unless the squishyness of the balls presents you with issues triggering it or something), and with something like ball collection where accidentally grabbing extra balls could cost you a penalty, I’d rather be safe than sorry.