I want to detect and distinguish different colours of a RGB led. The Precision Light Sensor (ID: 1127_0)https://www.phidgets.com/?tier=3&catid= ... &prodid=99 could be used in combination with an optical filter to detect a single colour of the led I guess.
How would I have to process the sensor output data then?
However I would prefer to being able to distinguish different colours with the same sensor. The assembling of different sensors in parallel each detecting another colour would not work in my use case.
We don't carry any sort of sensor that will detect multiple colours out of the box.
If you're limited to a single sensor, you could construct some sort of rotating canister to move the different filters across the light sensor.
Alternatively, if you have access to the wiring of the RGB LED, you may be able to use current sensors to estimate the colour based on the current flowing through each wire.
A heavyweight solution would be to use a webcam and a visual processing library like OpenCV to detect the colour.