Author
Topic: A good color sensor! (Read 742 times)

Hi everyone!First of all i'm new here, but as much as i observed, this is a very nice and useful society I need some help about color sensors. I and a couple of friends from university are trying to make our first robot. We're making a robot which will determine the targets that have different colors and shoot some among them by recognizing the color. It shoots red ones and passes blue for example. We created the shooting system, it works but we couldn't find an adequate color sensor. We need one which can detect the color of an object from approximately 20-30 cm distance. Well, i don't know much about sensors, so let me know if there is one like that or not. Or you can give me another suggestion to acheive my goal. (selecting friends and enemies among targets) Thanks in advance

A color camera where you separate the colors is one way to recognize colored objects at a distance.

The low cost color detectors (like what SparkFun sells) need to be close to work. However, it is possible to add a lens that focuses a more distant object onto the sensor. This would be a lower cost and simpler solution but will require a little study on simple optical systems and some experimentation.

If you need 30 centimeters distance, then a camera is almost certainly the best way to do that. You can drive a USB webcam ($30 or so) from a Raspberry Pi (another $30 or so) to make your own image recognition system.