lidated with the device.
These LEDs are blindingly bright, to avoid to look directly into the light beam!
UV: Nichia NSPU510CS, 375 nm (3.3 V)
5004PCH02, 405 nm (3.5 V)
violet: YDG-504VC, 412 nm (3.5 V)
blue: Kingbright L-53MBC 455 nm (3.4 V)
Nichia NSPB500AS, 470 mn (3.2 V)
cyan: Nichia NEPE510JS, 495 nm (3.1 V)
green: Nichia NSPG500DS, 520 nm (3.2 V)
yellow: Yoldal YZ-Y5N15N, 590 nm (2.1 V)
orange: Avago HLMP-EH1A-Z10DD, 615 nm (2.1 V)
red: Kingbright L-7113SEC-H, 630 mn (2.1V)
Red, orange and yellow LEDs may require a 60 Ohm resistor to reduce the voltage from 3.3 to 2.1 V (@20 mA).
UV and violett LEDs are out of the range of the sensors, but might be used for fluorescence experiments.
Step 10: Software
Here you find my recent versions of the programs for the colorimeter.
TCS34725 RGB Bradspi ...py is a modification of a script developed by Brad Berkland. All credits go to him, the ugly part is mine. (http://bradsrpi.blogspot.de/2013/05/tcs34725-rgb-color-sensor-raspberry-pi.htm).
My script is asking you for a name of the sample, then read the values and tries to translate them into RGB values. For optimal RGB calculation you need to enter to enter blank (water/buffer w/o dye) values measured previously into the code as reverence values. At the start and the end of the measurement it is asking you if you like to stop measuring, "Y" stops.
The other three Python script are based on a recently released script for the tcs34725 by Adafruit.
You need all three in combination. The script allows to perform slow kinetics. You must enter the name of the sample, the number of measurements and the time, in seconds, between measurements. Results are written, with a timestamp, to the shell and to a CSV file.
Any hints, improvements, corrections are welcome.
The scripts for the TSL2591 will be added later.