


However, color sensors have two major problems. The first being they are complex devices to get working. They don't just spit out R,G,B values in a nice formatted asynchronous serial transmitted string; That data has to be derived using complex signal processing.
The second problem is that a color sensor has no housing. You can't simply use it in the field without it somehow being protected, yet still be able to receive unobstructed light. Simply having a color sensor exposed to the moisture in the air will make it unreliable.
Although it wasn't easy to do, the Atlas Scientific ENV-RGB provides the embedded systems engineer with both formatted data and a rugged housing, enabling color detection in virtually any environment.
ENV-RGB DataSheet
Wiring Diagram
Raspberry Pi Sample Code
Arduino Sample Code
Arduino Mega Sample Code
ENV-RGB to Color Display