An RGB color sensor polled by an ATtiny85 sending readings to Raspberrys serial port.

The circuit can alternatively be fitted with an XBee to replace direct serial connection.

Beware: This is my very first Fritzing port and the circuit is yet untested!