|
CLASS DOCUMENTS
REPORTS & ASSIGNMENTS
CLASS CONTENT
USING THIS SITE
registered authors login here You are: (logout) For more on PMWiki, see pmwiki.org |
TAOSTSL 13 SInitial report by Christopher Kucinski - 4 April 2007 ![]() The TSL-13S converts light intensity (irradiance) to voltage. Voltage output is linear to the light intensity it receives. The sensor is part of a larger light-to-voltage sensor family made by Texas Advanced Optoelectronic Solutions (TAOS). It responds to light with wavelengths in the range of 320nm to 1050nm. This range is just above the 'Near-UV' range (which is 200 - 400nm) through about half of the 'Near-Infrared range' (750 - 1400nm) and all of the visible light in between. The bell curve of the photodiode's spectral responsivity peaks near 760-780nm (a range just above the limit that most humans would perceive as the color 'red').
![]()
SourcesThe sensor is available from Mouser Electronics. It was $1.10 and readily available in a lead-free package.
ApplicationsAccording to TAOS' product line brochure, "light-to-voltage converters can be used to measure ambient light in lighting controls and electronic dimming ballasts, contrast and brightness controls in signs, media detection in printers, measuring light absorption and reflection in a variety of applications, and medical applications such as reagent strip readers and pulse oximetry [(measuring the amount of oxygenated hemoglobin in blood)]."
Electrical CharacteristicsTSL13S Datasheet
Pin DescriptionsThere are three pins on this sensor: Ground, VDD, and Output. The output pin should be connected to ground ('pulled down') through a 10K-Ohm resistor (but I didn't find this necessary as the resistor did not attenuate excess noise from the signal - there wasn't any noise to begin with).
![]()
Microcontroller ConnectionsUsing the TSL13S is straightforward - connect power and ground to the appropriate pins to turn it on. To interface with a microcontroller, simply connect the output pin to an ADC pin. The TSL13S maybe used in a comparator circuit as well, so connect the output pin to one of the inputs of the op amp in that circuit.
Code SampleCode for Arduino and Processing.
Typical BehaviorThe graph below shows an approximation of the ranges of types of light (ultraviolet, visible, infrared) and the spectral response of the sensor. Note that almost half of the response occurs in the IR range. ![]()
![]()
![]()
Application NotesI used this sensor to make a very simple, low resolution scanner. I attached a cardboard tube to a wooden board and placed a TSL13S and a tricolor LED (common anode) inside that tube against the wood facing the open end of the tube. I programmed the arduino to cycle through the three colors of the LED, taking a reading of the reflected light the sensor picked up for each color. The cycle went something like this:
I realized how nice it is to have a digital camera that has a nice white balance function early on in this project, since I had calibrate my own white balance in this circuit. Because the LED's were of different intensities and the sensor prefers red and infrared light, I tuned the intensity of each LED with different resistor values so that the sensor output the same voltage for each color when it was scanning a white sheet of paper (i.e., custom white balance). I was using a common anode Tricolor LED from Super Bright LEDs. I used a 470-ohm resistor for the red LED, a 47-ohm resistor for green, and a 380-ohm on blue. In doing this, the sensor output approximately 950mV for each individual color on a sheet of white paper: ![]()
My code for both the Arduino and Processing are available here.
![]()
|