DIY Color Sensor : 8 Steps (with Pictures) | tecno4 | Scoop.it
Microcontroller-based color detection can be difficult. Color sensors are expensive and most of the sensor kits do not come with color sensors. It is an issue I face time and time again in my classes when a student wants to do color-detection using an Arduino for sorting or some other application. Most suggestions you find online tell you to use a camera, which can be expensive and is overkill computationally, or to use an IR sensor, which cannot really distinguish colors and varies wildly.