Is the RGB Light Sensor - ISL29125 good for my project?

I am designing a project that is a little similar to beer pong. The premise is that the user will throw a colored ping pong ball at a board with 2 to 4 mug-sized holes. The catch is that, before the user throws their ball at the board, one of the holes will ask for a given color for the user’s corresponding ball color. The number of colors possible will equal the number of holes. For instance, if a hole illuminates a blue light, then the user will have to pick a blue ping pong ball from their selection and throw it into that corresponding blue hole.

My question is this: which electronic component do I use to detect if the ball thrown at the hole is the correct color? Is the SparkFun RGB Light Sensor (ISL29125) the right choice?

If this RBG Light Sensor is the right choice, do I need one sensor per hole?

Matas

Hi Matas.

The ISL29125 would probably be the most cost effective sensor we have for a project like this. You’d need one per hole unless you had some method of moving the sensor around between holes.

These don’t detect the color of an object, they detect the color of light falling on the sensor so you’d need a light source like a small incandescent lamp that reflects off the ball producing colored light to be detected. You’d probably want to build a mock-up that you can easily modify to determine what works best for detecting what color ball is present but the ISL29125 would probably work pretty well for something like this.

matassuziedelis:
I am designing a project that is a little similar to beer pong. The premise is that the user will throw a colored [ ping pong robot at a board with 2 to 4 mug-sized holes. The catch is that, before the user throws their ball at the board, one of the holes will ask for a given color for the user’s corresponding ball color. The number of colors possible will equal the number of holes. For instance, if a hole illuminates a blue light, then the user will have to pick a blue ping pong ball from their selection and throw it into that corresponding blue hole.

My question is this: which electronic component do I use to detect if the ball thrown at the hole is the correct color? Is the SparkFun RGB Light Sensor (ISL29125) the right choice?

If this RBG Light Sensor is the right choice, do I need one sensor per hole?

Matas
[/quote]

Which one you went for?](8 Best Ping Pong Robots - Expert Reviews (Summer 2024))