Reports.TAOSTCS230 History

Hide minor edits - Show changes to output

Changed lines 165-167 from:
*[[http://carbonitp.wordpress.com/| Here is some code to read the R,G,B values
Photos of the Hook up
Video of the Graph readout
]]
to:
*[[http://carbonitp.wordpress.com| my blog with more info]]
Changed lines 165-167 from:
*[[http://carbonitp.wordpress.com/|Here is how to hook it up onto an arduino
Here is some code to read the R,G,B values
to:
*[[http://carbonitp.wordpress.com/| Here is some code to read the R,G,B values
Changed line 168 from:
*[[http://youtu.be/Pt4XzJjHhEI| TV cello w electromagnetic sensitivity]]
to:
*[[http://youtu.be/Pt4XzJjHhEI| MV Carbon TV cello w electromagnetic sensitivity]]
Changed lines 161-166 from:
Here is how to hook it up onto an arduino
to:
I built several cellos using electromagnetic and color sensitivity to affect the sound of the cello.

!!!!APPLICATION


*[[http://carbonitp.wordpress.com/|
Here is how to hook it up onto an arduino
Changed lines 169-174 from:
Video of the Graph readout

!!!!APPLICATION


*[[http://carbonitp.wordpress.com/| I built a cello that can read color frequency. The colors trigger sound bytes that are added onto the original amplified signal of the strings.
]]
to:
Video of the Graph readout]]
Changed lines 167-168 from:
I built a cello that can read color frequency. The colors trigger sound bytes that are added onto the original amplified signal of the strings.
to:


*[[http://carbonitp.wordpress.com/|
I built a cello that can read color frequency. The colors trigger sound bytes that are added onto the original amplified signal of the strings.]]
Changed lines 169-170 from:
*[[http://youtu.be/54gVACPH5kk| tv cello on youtube]]
to:
*[[http://youtu.be/Pt4XzJjHhEI| TV cello w electromagnetic sensitivity]]
*[[http://youtu.be/54gVACPH5kk| MV Carbon TV cello with color sensitivity
]]
Added lines 168-171:

*[[http://youtu.be/54gVACPH5kk| tv cello on youtube]]
Changed lines 12-13 from:
*[[http://roamingdrone.wordpress.com/2008/11/13/arduino-and-the-taos-tsl230r-light-sensor-getting-started/||informative DIY blog :) ]]
to:
*[[http://roamingdrone.wordpress.com/2008/11/13/arduino-and-the-taos-tsl230r-light-sensor-getting-started/|informative DIY blog :) ]]
Added line 13:
*[[http://roamingdrone.wordpress.com/2008/11/13/arduino-and-the-taos-tsl230r-light-sensor-getting-started/||informative DIY blog :) ]]
Changed line 11 from:
*[[http://www.etteam.com/product/robot/tcs230/catalog_tcs230.pdf/96470/ETC/TCS230.html|intelligen opto sensor TAOS ]]
to:
*[[http://www.etteam.com/product/robot/tcs230/catalog_tcs230.pdf|intelligent opto sensor TAOS ]]
Added line 11:
*[[http://www.etteam.com/product/robot/tcs230/catalog_tcs230.pdf/96470/ETC/TCS230.html|intelligen opto sensor TAOS ]]
Changed line 8 from:
[[http://www.parallax.com/dl/docs/prod/datast/TCS230.pdf | Datasheet for Module with Appmod Adapter]]
to:
*[[http://www.parallax.com/dl/docs/prod/datast/TCS230.pdf | Datasheet for Module with Appmod Adapter]]
Changed lines 2-4 from:
[[http://www.alldatasheet.com/datasheet-pdf/pdf/96470/ETC/TCS230.html| Datasheet]]

[[http://www.parallax.com/dl/docs/prod/datast/TCS230.pdf | Datasheet for Module with Appmod Adapter]]
to:
Added line 8:
[[http://www.parallax.com/dl/docs/prod/datast/TCS230.pdf | Datasheet for Module with Appmod Adapter]]
Changed lines 10-13 from:
*[[http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol4/col/nv98.pdf | Color Me Tickled]]
*[[http://youtu.be/gX3VMqXrn2A | simple]]
to:
*[[http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol4/col/nv98.pdf | Color Me Tickled article by Jon Williams]]
*[[http://youtu.be/gX3VMqXrn2A | simple demo of the sensor on youtube]]
Deleted lines 169-173:

!!!!LINKS
*[[http://www.alldatasheet.com/datasheet-pdf/pdf/96470/ETC/TCS230.html|datasheet]]
*[[http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol4/col/nv98.pdf | Color Me Tickled]]
*[[http://youtu.be/gX3VMqXrn2A | simple]]
Added lines 7-11:

!!!!LINKS
*[[http://www.alldatasheet.com/datasheet-pdf/pdf/96470/ETC/TCS230.html|datasheet]]
*[[http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol4/col/nv98.pdf | Color Me Tickled]]
*[[http://youtu.be/gX3VMqXrn2A | simple]]
Added lines 160-162:

!!!!APPLICATION
I built a cello that can read color frequency. The colors trigger sound bytes that are added onto the original amplified signal of the strings.
Changed lines 149-150 from:
to:
!!!!APPLICATION
I didn't get time to build my color-tracking turntable, but the following is a start on the Max patch I would use. This takes in the values from the sensor and assigns each (R, G and B) to a note, creating a chord. The patch also displays the color in the video box on the right.
http://www.spencerkiser.com/sensorWorkshop/ColorReceive.png
Changed lines 161-165 from:
!!!!APPLICATION

I didn't get time to build my color-tracking turntable, but the following is a start on the Max patch I would use. This takes in the values from the sensor and assigns each (R, G and B) to a note, creating a chord. The patch also displays the color in the video box on the right.
http://www.spencerkiser.com/sensorWorkshop/ColorReceive.png
to:
Deleted line 164:
Changed lines 88-102 from:
!!!SPENCER'S EXPERIENCE AND TRIALS WITH THE SENSOR:

The TCS230 ($2.67/each for 1,000) itself is surface mount, so to get started quickly I used the TCS230 Color Sensor module kit ($79/each) from Parallax. It comes with two printed circuit boards connectible by a 6" ribbon cable. The board housing the sensor has two LEDs for illumination and a 5.3mm lens. The sensor should be about an inch away from the source of the colors it needs to detect. Conveniently, the two LEDs converge into one brightly lit spot when the sensor board is approximately one inch from the source. The AppMod adapter board is made to plug right into the Parallax Board of Education, and it has two headers to accomodate two sensors.
John Schimmel was kind enough to lend me a Board of Education, but I also hooked up the sensor to the PIC18F452.
The sensor consists of an array of 64 photodiodes - some with red, green or blue filters - and a current-to-frequency converter. Light intensity is measured from each type of filtered photodiode set once per pass, and the output is a square wave with a frequency proportional to the light intensity.


!!!!MV CARBON'S EXPERIENCE AND EXPERIMENTS WITH THE SENSOR

Here is how to hook it up onto an arduino
Here is some code to read the R,G,B values
Photos of the Hook up
Video of the Graph readout
to:
Added lines 142-156:


!!!SPENCER'S EXPERIENCE AND TRIALS WITH THE SENSOR:

The TCS230 ($2.67/each for 1,000) itself is surface mount, so to get started quickly I used the TCS230 Color Sensor module kit ($79/each) from Parallax. It comes with two printed circuit boards connectible by a 6" ribbon cable. The board housing the sensor has two LEDs for illumination and a 5.3mm lens. The sensor should be about an inch away from the source of the colors it needs to detect. Conveniently, the two LEDs converge into one brightly lit spot when the sensor board is approximately one inch from the source. The AppMod adapter board is made to plug right into the Parallax Board of Education, and it has two headers to accomodate two sensors.
John Schimmel was kind enough to lend me a Board of Education, but I also hooked up the sensor to the PIC18F452.
The sensor consists of an array of 64 photodiodes - some with red, green or blue filters - and a current-to-frequency converter. Light intensity is measured from each type of filtered photodiode set once per pass, and the output is a square wave with a frequency proportional to the light intensity.


!!!!MV CARBON'S EXPERIENCE AND EXPERIMENTS WITH THE SENSOR

Here is how to hook it up onto an arduino
Here is some code to read the R,G,B values
Photos of the Hook up
Video of the Graph readout
Deleted lines 12-18:

!!!SPENCER'S EXPERIENCE AND TRIALS WITH THE SENSOR:

The TCS230 ($2.67/each for 1,000) itself is surface mount, so to get started quickly I used the TCS230 Color Sensor module kit ($79/each) from Parallax. It comes with two printed circuit boards connectible by a 6" ribbon cable. The board housing the sensor has two LEDs for illumination and a 5.3mm lens. The sensor should be about an inch away from the source of the colors it needs to detect. Conveniently, the two LEDs converge into one brightly lit spot when the sensor board is approximately one inch from the source. The AppMod adapter board is made to plug right into the Parallax Board of Education, and it has two headers to accomodate two sensors.
John Schimmel was kind enough to lend me a Board of Education, but I also hooked up the sensor to the PIC18F452.
The sensor consists of an array of 64 photodiodes - some with red, green or blue filters - and a current-to-frequency converter. Light intensity is measured from each type of filtered photodiode set once per pass, and the output is a square wave with a frequency proportional to the light intensity.
Added lines 85-93:



!!!SPENCER'S EXPERIENCE AND TRIALS WITH THE SENSOR:

The TCS230 ($2.67/each for 1,000) itself is surface mount, so to get started quickly I used the TCS230 Color Sensor module kit ($79/each) from Parallax. It comes with two printed circuit boards connectible by a 6" ribbon cable. The board housing the sensor has two LEDs for illumination and a 5.3mm lens. The sensor should be about an inch away from the source of the colors it needs to detect. Conveniently, the two LEDs converge into one brightly lit spot when the sensor board is approximately one inch from the source. The AppMod adapter board is made to plug right into the Parallax Board of Education, and it has two headers to accomodate two sensors.
John Schimmel was kind enough to lend me a Board of Education, but I also hooked up the sensor to the PIC18F452.
The sensor consists of an array of 64 photodiodes - some with red, green or blue filters - and a current-to-frequency converter. Light intensity is measured from each type of filtered photodiode set once per pass, and the output is a square wave with a frequency proportional to the light intensity.
Added lines 13-15:

!!!SPENCER'S EXPERIENCE AND TRIALS WITH THE SENSOR:
Deleted line 16:
Deleted line 17:
Added lines 92-99:

!!!!MV CARBON'S EXPERIENCE AND EXPERIMENTS WITH THE SENSOR

Here is how to hook it up onto an arduino
Here is some code to read the R,G,B values
Photos of the Hook up
Video of the Graph readout
Changed line 152 from:
*[[http://http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol4/col/nv98.pdf | Color Me Tickled]]
to:
*[[http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol4/col/nv98.pdf | Color Me Tickled]]
Changed line 153 from:
*[[http://http://youtu.be/gX3VMqXrn2A | simple]]
to:
*[[http://youtu.be/gX3VMqXrn2A | simple]]
Changed line 153 from:
*[[http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A//www.taosinc.com/downloads/pdf/tcs230wp.pdf&ei=zzdwQ461E8jcaLWQid4K&sig2=twgvNY3ObmLZ6VnNVw4uSw | Sensing color with the TAOS TCS230]]
to:
*[[http://http://youtu.be/gX3VMqXrn2A | simple]]
Changed lines 150-152 from:
*[[http://http://www.w-r-e.de/robotik/data/opt/tcs230.pdf |datasheet]]

*[[http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A//www.parallax.com/dl/docs/cols/nv/vol4/col/nv98.pdf&ei=HzdwQ5fHG6TKaJaBlcMK&sig2=G_QfkiKtCLax1vK3-E3eeQ | Color Me Tickled]]
to:
*[[http://www.alldatasheet.com/datasheet-pdf/pdf/96470/ETC/TCS230.html|datasheet]]

*[[http://http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol4/col/nv98.pdf | Color Me Tickled]]
Changed line 2 from:
[[http://pdf1.alldatasheet.com/datasheet-pdf/view/202765/TAOS/TCS230.html| Datasheet]]
to:
[[http://www.alldatasheet.com/datasheet-pdf/pdf/96470/ETC/TCS230.html| Datasheet]]
Changed lines 92-93 from:
S0 and S1 terminals determine the output scaling frequency, and S2 and S3 determine which photodiode type are used. There is also an Output Enable (OE) pin, which comes into play when you want to use two sensors on one microcontroller's input line. Low enables output.
to:
S0 and S1 terminals determine the output scaling frequency, and S2 and S3 determine which photodiode type are used.

There is also an Output Enable (OE) pin, which comes into play when you want to use two sensors on one microcontroller's input line. Low enables output.
Changed lines 98-99 from:
The output lines should be less than 12 inches, or a buffer or line driver is recommended.
to:
The output lines should be less than 12 inches, or a buffer or line driver is recommended---to avoid interference.
Changed lines 109-110 from:
The internal converter generates a "fixed-pulsewidth pulse train". The pulse train output is internally connected to a series of "frequency dividers", which enables scaling of the output frequency. The connected microcontroller uses a count function to measure the incoming frequency and thereby detect the color sensed by the converter.
to:
The internal converter generates a "fixed-pulsewidth pulse train". The pulse train output is internally connected to a series of "frequency dividers", which enables scaling of the output frequency. The connected microcontroller uses a count function to measure the incoming frequency and thereby detect the color sensed by the converter.


!!!!OUTPUT SCALING
Output Frequency scaling can be controlled by 2 logic inputs, SO and S1.
The internal light to frequency converter generates a fixed pulse width pulse- train.
You can scale by internally connecting the pulse train output of the converter to a series of frequency dividers..... Divided outputs are 50% duty cycle square waves with relative frequency values of 100% , 20%, and 2%.
-this is an average since the it is accomplished by counting pulses of the principal internal frequency
.
Deleted lines 123-129:

!!!!OUTPUT SCALING

Output Frequency scaling can be controlled by 2 logic inputs, SO and S1.
The internal light to frequency converter generates a fixed pulse width pulse- train.
You can scale by internally connecting the pulse train output of the converter to a series of frequency dividers..... Divided outputs are 50% duty cycle square waves with relative frequency values of 100% , 20%, and 2%.
-this is an average since the it is accomplished by counting pulses of the principal internal frequency.
Added lines 115-122:

!!!!OUTPUT SCALING

Output Frequency scaling can be controlled by 2 logic inputs, SO and S1.
The internal light to frequency converter generates a fixed pulse width pulse- train.
You can scale by internally connecting the pulse train output of the converter to a series of frequency dividers..... Divided outputs are 50% duty cycle square waves with relative frequency values of 100% , 20%, and 2%.
-this is an average since the it is accomplished by counting pulses of the principal internal frequency.
Added lines 140-141:
*[[http://http://www.w-r-e.de/robotik/data/opt/tcs230.pdf |datasheet]]
Changed line 2 from:
[[http://www.taosinc.com/images/product/document/TCS230-E14.pdf | Datasheet]]
to:
[[http://pdf1.alldatasheet.com/datasheet-pdf/view/202765/TAOS/TCS230.html| Datasheet]]
Changed lines 128-129 from:
[[http://www.nutsvolts.com/%7Edownloads/Color_Scan.BS2&ei=_DhwQ6nUN8aGapX_uaAK&sig2=LqKi87AGkF_agIsrGfTrUQ | Color Scanner with TAOS TCS230]] from the article "Color Me Tickled" by Jon Williams (see link below)
to:
[[http://www.nutsvolts.com/%7Edownloads/Color_Scan.BS2| Color Scanner with TAOS TCS230]] from the article "Color Me Tickled" by Jon Williams (see link below)
Added lines 134-136:
!!!!APPLICATION

I didn't get time to build my color-tracking turntable, but the following is a start on the Max patch I would use. This takes in the values from the sensor and assigns each (R, G and B) to a note, creating a chord. The patch also displays the color in the video box on the right.
Changed lines 134-135 from:
http://www.spencerkiser.com/sensorWorkshop/colorReceive.png
to:
http://www.spencerkiser.com/sensorWorkshop/ColorReceive.png
Changed lines 134-135 from:
Attach:ColorReceive.png
to:
http://www.spencerkiser.com/sensorWorkshop/colorReceive.png
Changed lines 134-135 from:
Attach: ColorReceive.png
to:
Attach:ColorReceive.png
Changed lines 134-135 from:
Attach: colorReceive.png
to:
Attach: ColorReceive.png
Changed lines 134-135 from:
Attach:colorReceive.png
to:
Attach: colorReceive.png
Changed lines 134-135 from:
Attach:ColorReceive.png
to:
Attach:colorReceive.png
Changed lines 134-135 from:
to:
Attach:ColorReceive.png
Changed lines 134-135 from:
Attach:colorReceive.png
to:
Changed lines 134-135 from:
to:
Attach:colorReceive.png
Changed lines 13-14 from:
The TCS230 ($2.67/each for 1,000) itself is surface mount, so to get started quickly I used the TCS230 Color Sensor module kit ($79/each) from Parallax. It comes with two printed circuit boards connectible by a 6" ribbon cable. The board housing the sensor has two LEDs for illumination and a 5.3mm lens. The AppMod adapter board is made to plug right into the Parallax Board of Education, and it has two headers to accomodate two sensors.
to:
The TCS230 ($2.67/each for 1,000) itself is surface mount, so to get started quickly I used the TCS230 Color Sensor module kit ($79/each) from Parallax. It comes with two printed circuit boards connectible by a 6" ribbon cable. The board housing the sensor has two LEDs for illumination and a 5.3mm lens. The sensor should be about an inch away from the source of the colors it needs to detect. Conveniently, the two LEDs converge into one brightly lit spot when the sensor board is approximately one inch from the source. The AppMod adapter board is made to plug right into the Parallax Board of Education, and it has two headers to accomodate two sensors.
Added lines 130-135:
This code for the Basic Stamp contains a calibration routine, scans and stores known color samples, and scans and identifies unknown samples. I altered Jon's code to get it to send RGB values it finds out serial to MAX/MSP.

[[Code.ColorScannerSerialOut | Color Scanner Serial Out]]

Changed lines 126-127 from:
This will spit separate red, green and blue values out of the serial port based on what you point the sensor at. No frequency scaling is taking place, and there is no calibration routine, so numbers are not that useful.
to:
"Hello Color Sensor!" will spit separate red, green and blue values out of the serial port based on what you point the sensor at. No frequency scaling is taking place, and there is no calibration routine, so numbers are not that useful.
Changed lines 128-129 from:
[[http://www.nutsvolts.com/%7Edownloads/Color_Scan.BS2&ei=_DhwQ6nUN8aGapX_uaAK&sig2=LqKi87AGkF_agIsrGfTrUQ | Color Scanner with TAOS TCS230]] by Jon Williams
to:
[[http://www.nutsvolts.com/%7Edownloads/Color_Scan.BS2&ei=_DhwQ6nUN8aGapX_uaAK&sig2=LqKi87AGkF_agIsrGfTrUQ | Color Scanner with TAOS TCS230]] from the article "Color Me Tickled" by Jon Williams (see link below)
Changed lines 128-129 from:
[[http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A//www.nutsvolts.com/%7Edownloads/Color_Scan.BS2&ei=_DhwQ6nUN8aGapX_uaAK&sig2=LqKi87AGkF_agIsrGfTrUQ | Color Scanner with TAOS TCS230]] by Jon Williams
to:
[[http://www.nutsvolts.com/%7Edownloads/Color_Scan.BS2&ei=_DhwQ6nUN8aGapX_uaAK&sig2=LqKi87AGkF_agIsrGfTrUQ | Color Scanner with TAOS TCS230]] by Jon Williams
Changed lines 128-129 from:
to:
[[http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A//www.nutsvolts.com/%7Edownloads/Color_Scan.BS2&ei=_DhwQ6nUN8aGapX_uaAK&sig2=LqKi87AGkF_agIsrGfTrUQ | Color Scanner with TAOS TCS230]] by Jon Williams
Changed lines 130-133 from:
to:
!!!!LINKS
*[[http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A//www.parallax.com/dl/docs/cols/nv/vol4/col/nv98.pdf&ei=HzdwQ5fHG6TKaJaBlcMK&sig2=G_QfkiKtCLax1vK3-E3eeQ | Color Me Tickled]]
*[[http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A//www.taosinc.com/downloads/pdf/tcs230wp.pdf&ei=zzdwQ461E8jcaLWQid4K&sig2=twgvNY3ObmLZ6VnNVw4uSw | Sensing color with the TAOS TCS230]]
Changed lines 116-118 from:
The "frequency-measurment" method is implemented in the code below.
to:
The "frequency-measurement" method is implemented in the code below.
Changed lines 116-120 from:
I implemented the "frequency-measurment" method in the


!!!!BASIC CODE
SAMPLES
to:
The "frequency-measurment" method is implemented in the code below.


!!!!CODE
SAMPLES

[[Code.HelloColorSensorBS2 | Hello Color Sensor! (BasicStamp)]] from the
[[http://www.parallax.com/dl/docs/prod/datast/TCS230.pdf | Datasheet for Module with Appmod Adapter]]
\\
Changed lines 125-127 from:
[[Code.HelloColorSensorBS2 | Hello Color Sensor! (BasicStamp)]] ''from the
[[http://www.parallax.com/dl/docs/prod/datast/TCS230.pdf | Datasheet for Module with Appmod Adapter]]
to:
Changed lines 128-131 from:
!!!!COLOR SCANNING CODE
to:
Changed lines 123-126 from:
to:
[[http://www.parallax.com/dl/docs/prod/datast/TCS230.pdf | Datasheet for Module with Appmod Adapter]]

This will spit separate red, green and blue values out of the serial port based on what you point the sensor at. No frequency scaling is taking place, and there is no calibration routine, so numbers are not that useful.
Added line 130:
Changed lines 2-4 from:
[[http://www.taosinc.com/images/product/document/TCS230-E14.pdf | datasheet]]

[[http://www.parallax.com/dl/docs/prod/datast/TCS230.pdf | datasheet for module with appmod adapter]]
to:
[[http://www.taosinc.com/images/product/document/TCS230-E14.pdf | Datasheet]]

[[http://www.parallax.com/dl/docs/prod/datast/TCS230.pdf | Datasheet for Module with Appmod Adapter]]
Deleted lines 110-111:
Changed lines 116-123 from:

!!!!BASIC STAMP CODE SAMPLES



!!!!PIC CODE SAMPLES

[[Code.HelloColorSensor | Hello Color Sensor
! (for the PIC)]]
to:
I implemented the "frequency-measurment" method in the


!!!!BASIC CODE SAMPLES

[[Code.HelloColorSensor | Hello Color Sensor! (for the
PIC)]]
[[Code.HelloColorSensorBS2 | Hello Color Sensor! (BasicStamp)]] ''from the

!!!!COLOR SCANNING CODE
Changed lines 107-108 from:
The internal converter generates a "fixed-pulsewidth pulse train". The pulse train output is internally connected to a series of "frequency dividers", which enables scaling of the output frequency. Division of the output frequency is achieved by first counting pulses of the principal internal frequency, so the final-output period is an average of the multiple periods of the principle frequency. The connected microcontroller uses a count function to measure the incoming frequency and thereby detect the color sensed by the converter.
to:
The internal converter generates a "fixed-pulsewidth pulse train". The pulse train output is internally connected to a series of "frequency dividers", which enables scaling of the output frequency. The connected microcontroller uses a count function to measure the incoming frequency and thereby detect the color sensed by the converter.
Changed lines 119-120 from:
!!!!CODE SAMPLES
to:
!!!!BASIC STAMP CODE SAMPLES



!!!!PIC
CODE SAMPLES
Changed lines 54-57 from:
(:table border=1 cellpadding=2 cellspacing=0:)
(:cell:) '''S0'''
(:cell:) '''S1'''
(:cell:) '''Output Frequency Scaling'''
to:
(:table border=1 align=right cellpadding=2 cellspacing=0:)
(:cell:) '''S2'''
(:cell:) '''S3'''
(:cell:) '''Photodiode Type'''
Changed line 60 from:
(:cell:) Power down
to:
(:cell:) Red
Changed line 63 from:
(:cell:) 2%
to:
(:cell:) Blue
Changed line 66 from:
(:cell:) 20%
to:
(:cell:) Clear (No Filter)
Changed line 69 from:
(:cell:) 100%
to:
(:cell:) Green
Deleted line 71:
Changed lines 73-75 from:
(:cell:) '''S2'''
(:cell:) '''S3'''
(:cell:) '''Photodiode Type'''
to:
(:cell:) '''S0'''
(:cell:) '''S1'''
(:cell:) '''Output Frequency Scaling'''
Changed line 78 from:
(:cell:) Red
to:
(:cell:) Power down
Changed line 81 from:
(:cell:) Blue
to:
(:cell:) 2%
Changed line 84 from:
(:cell:) Clear (No Filter)
to:
(:cell:) 20%
Changed line 87 from:
(:cell:) Green
to:
(:cell:) 100%
Changed lines 90-91 from:
S0 and S1 terminals determine the output scaling frequency (see below), S2 and S3 determine which photodiode type are used. There is also an Output Enable (OE) pin, which the datasheet states "places the output in the high-impedance state for multiple unit sharing of a microcontroller input line." Not quite sure what that is used for. The datasheet says that a "low impedance electrical connection between the device OE pin and the device GND pin is required for improved noise immunity."
to:
\\

S0 and S1 terminals determine the output scaling frequency, and S2 and S3 determine which photodiode type are used. There is also an Output Enable (OE) pin, which comes into play when you want to use two sensors on one microcontroller's input line. Low enables output.
Changed lines 100-102 from:
It houses an 8x8 array of photodiodes, 16 with red filters, 16 with green filters, 16 with blue filters and 16 with no filters. The four types of photodiodes are interdigitated, which I understand to mean that they are distributed evenly so that they make up for any uneven irradiance.
to:
It houses an 8x8 array of photodiodes, 16 with red filters, 16 with green filters, 16 with blue filters and 16 with no filters. The four types of photodiodes are interdigitated, which means that they are distributed evenly so that they make up for any uneven irradiance.
Changed line 23 from:
(:table border=1 cellpadding=5 cellspacing=0:)
to:
(:table border=1 cellpadding=2 cellspacing=0:)
Changed line 54 from:
(:table border=1 cellpadding=5 cellspacing=0:)
to:
(:table border=1 cellpadding=2 cellspacing=0:)
Added lines 64-69:
(:cellnr:) H
(:cell:) L
(:cell:) 20%
(:cellnr:) H
(:cell:) H
(:cell:) 100%
Added lines 72-90:

(:table border=1 cellpadding=2 cellspacing=0:)
(:cell:) '''S2'''
(:cell:) '''S3'''
(:cell:) '''Photodiode Type'''
(:cellnr:) L
(:cell:) L
(:cell:) Red
(:cellnr:) L
(:cell:) H
(:cell:) Blue
(:cellnr:) H
(:cell:) L
(:cell:) Clear (No Filter)
(:cellnr:) H
(:cell:) H
(:cell:) Green
(:tableend:)
Deleted line 12:
Changed lines 20-21 from:
%lfloat% http://www.spencerkiser.com/sensorWorkshop/TCS230TopView.gif | ''taken from TCS230 datasheet''
to:

%rfloat% http://www.spencerkiser.com/sensorWorkshop/TCS230TopView.gif | ''taken from TCS230 datasheet''

(:table border=1 cellpadding=5 cellspacing=0:)
(:cell:) '''Name'''
(:cell:) '''#'''
(:cell:) '''I/O'''
(:cell:) '''Description'''
(:cellnr:) S0,S1
(:cell:) 1,2
(:cell:) I
(:cell:) Scaling frequency
(:cellnr:) OE
(:cell:) 3
(:cell:) I
(:cell:) Output Enable (active low)
(:cellnr:) GND
(:cell:) 4
(:cell:)
(:cell:) Ground
(:cellnr:) V'_DD_'
(:cell:) 5
(:cell:)
(:cell:)Supply Voltage
(:cellnr:) OUT
(:cell:) 6
(:cell:) O
(:cell:) Output frequency
(:cellnr:) S2,S3
(:cell:) 7,8
(:cell:) I
(:cell:) Photodiode type selection
(:tableend:)

(:table border=1 cellpadding=5 cellspacing=0:)
(:cell:) '''S0'''
(:cell:) '''S1'''
(:cell:) '''Output Frequency Scaling'''
(:cellnr:) L
(:cell:) L
(:cell:) Power down
(:cellnr:) L
(:cell:) H
(:cell:) 2%
(:tableend:)
Changed lines 21-22 from:
http://www.spencerkiser.com/sensorWorkshop/TCS230TopView.gif | ''taken from TCS230 datasheet''
to:
%lfloat% http://www.spencerkiser.com/sensorWorkshop/TCS230TopView.gif | ''taken from TCS230 datasheet''
Changed lines 21-23 from:
%lfloat% http://www.spencerkiser.com/sensorWorkshop/TCS230TopView.gif
|''taken from TCS230 datasheet''
to:
http://www.spencerkiser.com/sensorWorkshop/TCS230TopView.gif | ''taken from TCS230 datasheet''
Changed lines 11-13 from:
%lframe% http://www.parallax.com/images/prod_gif/30054.gif
to:
%lfloat% http://www.parallax.com/images/prod_gif/30054.gif
Changed lines 21-23 from:
%rframe% http://www.spencerkiser.com/sensorWorkshop/TCS230TopView.gif
%rframe%''taken from TCS230 datasheet''
to:
%lfloat% http://www.spencerkiser.com/sensorWorkshop/TCS230TopView.gif
|''taken from TCS230 datasheet''
Changed lines 6-10 from:
%rframe% http://www.taosinc.com/images/product/TCS230.jpg


The TAOS TCS230 Programmable Color Light-To-Frequency Converter, strangely enough, converts light to frequency. One of the nice things about this, from what I've read, is that it dispenses with the need for expensive, hi-res ADC converters, as its output is a series of pulses that can be easily read by microcontrollers. Some applications for the converters are: color densitometer (an apparatus for measuring the optical density of a material, such as a photographic negative), color-edge finding robots and, potentially, color-tracking turntables.
to:
%rfloat% http://www.taosinc.com/images/product/TCS230.jpg


The TAOS TCS230 Programmable Color Light-To-Frequency Converter, strangely enough, converts light to frequency. One of the nice things about this, from what I've read, is that it dispenses with the need for expensive, hi-res ADC converters, as its output is a series of pulses that can be easily read by microcontrollers. Some applications for the converters are: color densitometer (an apparatus for measuring the optical density of a material, such as a photographic negative), to detect stamps or labels in manufacturing, color monitor calibration, color-edge finding robots and, potentially, color-tracking turntables.
Changed lines 21-23 from:
http://www.spencerkiser.com/sensorWorkshop/TCS230TopView.gif
''taken from TCS230 datasheet''
to:
%rframe% http://www.spencerkiser.com/sensorWorkshop/TCS230TopView.gif
%rframe%''taken from TCS230 datasheet''
Deleted lines 17-20:
\\
\\
\\
Added lines 6-8:
%rframe% http://www.taosinc.com/images/product/TCS230.jpg
Changed lines 11-23 from:
to:
%lframe% http://www.parallax.com/images/prod_gif/30054.gif


The TCS230 ($2.67/each for 1,000) itself is surface mount, so to get started quickly I used the TCS230 Color Sensor module kit ($79/each) from Parallax. It comes with two printed circuit boards connectible by a 6" ribbon cable. The board housing the sensor has two LEDs for illumination and a 5.3mm lens. The AppMod adapter board is made to plug right into the Parallax Board of Education, and it has two headers to accomodate two sensors.

John Schimmel was kind enough to lend me a Board of Education, but I also hooked up the sensor to the PIC18F452.

\\
\\
\\

The sensor consists of an array of 64 photodiodes - some with red, green or blue filters - and a current-to-frequency converter. Light intensity is measured from each type of filtered photodiode set once per pass, and the output is a square wave with a frequency proportional to the light intensity.
Added lines 38-42:


!!!!CODE SAMPLES

[[Code.HelloColorSensor | Hello Color Sensor! (for the PIC)]]
Changed lines 3-4 from:
[[http://www.parallax.com/dl/docs/prod/datast/TCS230.pdf datasheet for module with appmod adapter]]
to:
[[http://www.parallax.com/dl/docs/prod/datast/TCS230.pdf | datasheet for module with appmod adapter]]
Added line 3:
[[http://www.parallax.com/dl/docs/prod/datast/TCS230.pdf datasheet for module with appmod adapter]]
Changed lines 4-9 from:
The TAOS TCS230 Programmable Color Light-To-Frequency Converter, strangely enough, converts light to frequency. One of the nice things about this, from what I've read, is that it dispenses with the need for expensive, hi-res ADC converters, as its output is a series of pulses that can be easily read by microcontrollers. Some applications for the converters are: color densitometer, color-edge finding robots and, potentially, color-tracking turntables.

!!!!INPUT

It houses an 8x8 array of photodiodes, 16 with red filters, 16 with green filters
, 16 with blue filters and 16 with no filters. The four types of filters are interdigitated, which I understand to mean that they are distributed evenly so that they make up for any uneven irradiance.
to:
The TAOS TCS230 Programmable Color Light-To-Frequency Converter, strangely enough, converts light to frequency. One of the nice things about this, from what I've read, is that it dispenses with the need for expensive, hi-res ADC converters, as its output is a series of pulses that can be easily read by microcontrollers. Some applications for the converters are: color densitometer (an apparatus for measuring the optical density of a material, such as a photographic negative), color-edge finding robots and, potentially, color-tracking turntables.
Changed lines 11-12 from:
The datasheet says that a "low impedance electrical connection between the device OE pin and the device GND pin is required for improved noise immunity." Unsure how that is implemented.
to:
S0 and S1 terminals determine the output scaling frequency (see below), S2 and S3 determine which photodiode type are used. There is also an Output Enable (OE) pin, which the datasheet states "places the output in the high-impedance state for multiple unit sharing of a microcontroller input line." Not quite sure what that is used for. The datasheet says that a "low impedance electrical connection between the device OE pin and the device GND pin is required for improved noise immunity."

Power supply lines need to be decoupled by a 0.01 microF capacitor "with short leads mounted close to the device package."

The output lines should be less than 12 inches, or a buffer or line driver is recommended.

!!!!INPUT

It houses an 8x8 array of photodiodes, 16 with red filters, 16 with green filters, 16 with blue filters and 16 with no filters. The four types of photodiodes are interdigitated, which I understand to mean that they are distributed evenly so that they make up for any uneven irradiance.
Changed lines 24-35 from:
Output from the device is in the form of a square wave (50% duty cycle), the frequency of which is directly related to the intensity of the chosen color. The output pin can be connected directly to a microcontroller. The output frequency can be can be scaled by 2%, 20% or left at 100% in order to accomodate the speed or the connected microcontroller.

The internal converter generates a "fixed-pulsewidth pulse train". The pulse train output is internally connected to a series of "frequency dividers", which enables scaling of the output frequency. Division of the output frequency is achieved by counting pulses of the principal internal frequency, so the final-output period is an average of the multiple periods of the principle frequency. The connected microcontroller uses a count function to measure the incoming frequency and thereby detect the color sensed by the converter.

There is also an Output Enable pin, which the datasheet states "places the output in the high-impedance state for multiple unit sharing of a microcontroller input line." Not quite sure what that is used for.

!!!!DIVERSE INFORMATION

Power supply lines need to be decoupled by a 0.01 microF capacitor "with short leads mounted close to the device package."
The output lines should be less than 12 inches, or a buffer or line driver is recommended.

On page 6 the datasheet outlines the different methods of measuring the frequency
: period-measurement, frequency-measurement and pulse-accumulation or integration:
to:
Output from the device is in the form of a square wave (50% duty cycle), the frequency of which is directly related to the intensity of the chosen color. The output pin can be connected directly to a microcontroller. The output frequency can be can be scaled by 2%, 20% or left at 100% in order to accomodate the speed of the connected microcontroller.

The internal converter generates a "fixed-pulsewidth pulse train". The pulse train output is internally connected to a series of "frequency dividers", which enables scaling of the output frequency. Division of the output frequency is achieved by first counting pulses of the principal internal frequency, so the final-output period is an average of the multiple periods of the principle frequency. The connected microcontroller uses a count function to measure the incoming frequency and thereby detect the color sensed by the converter.

!!!!FREQUENCY MEASUREMENT



On page 6 the datasheet outlines
the different techniques of measuring the frequency with your microcontroller: period-measurement, frequency-measurement and pulse-accumulation or integration:
Changed line 29 from:
On page 6 the datasheet outlines the different methods of measuring the frequency: period-measurement, frequency-measurement and pulse-accumulation or integration.
to:
On page 6 the datasheet outlines the different methods of measuring the frequency: period-measurement, frequency-measurement and pulse-accumulation or integration:
Changed line 1 from:
!!!TCS230 Programmable Color Light-To-Frequency Converter
to:
!!!TAOS TCS230 Programmable Color Light-To-Frequency Converter
Changed lines 4-5 from:
The TCS230 Programmable Color Light-To-Frequency Converter, strangely enough, converts light to frequency. One of the nice things about this, from what I've read, is that it dispenses with the need for expensive, hi-res ADC converters, as its output is a series of pulses that can be easily read by microcontrollers. Some applications for the converters are: color densitometer, color-edge finding robots and, potentially, color-tracking turntables.
to:
The TAOS TCS230 Programmable Color Light-To-Frequency Converter, strangely enough, converts light to frequency. One of the nice things about this, from what I've read, is that it dispenses with the need for expensive, hi-res ADC converters, as its output is a series of pulses that can be easily read by microcontrollers. Some applications for the converters are: color densitometer, color-edge finding robots and, potentially, color-tracking turntables.
Changed lines 4-5 from:
The TCS230 Programmable Color Light-To-Frequency Converter, strangely enough, converts light to frequency. One of the nice things about this, from what I've read, is that it dispenses with the need for expensive, hi-res ADC converters, as its output is a series of pulses that can be easily read by microcontrollers. Some applications for the converters are: color densitometer, color-edge finding robots and potentially, color-tracking turntables.
to:
The TCS230 Programmable Color Light-To-Frequency Converter, strangely enough, converts light to frequency. One of the nice things about this, from what I've read, is that it dispenses with the need for expensive, hi-res ADC converters, as its output is a series of pulses that can be easily read by microcontrollers. Some applications for the converters are: color densitometer, color-edge finding robots and, potentially, color-tracking turntables.
Changed lines 4-5 from:
The TCS230 Programmable Color Light-To-Frequency Converter, strangely enough, converts light to frequency.
to:
The TCS230 Programmable Color Light-To-Frequency Converter, strangely enough, converts light to frequency. One of the nice things about this, from what I've read, is that it dispenses with the need for expensive, hi-res ADC converters, as its output is a series of pulses that can be easily read by microcontrollers. Some applications for the converters are: color densitometer, color-edge finding robots and potentially, color-tracking turntables.
Changed line 1 from:
!!!TAOS TCS230
to:
!!!TCS230 Programmable Color Light-To-Frequency Converter
Changed lines 12-13 from:
to:
''taken from TCS230 datasheet''
Added lines 29-32:
On page 6 the datasheet outlines the different methods of measuring the frequency: period-measurement, frequency-measurement and pulse-accumulation or integration.
*'''Period-measurement''' is measuring the time between two consecutive pulses and calculating the frequency as the reciprocal of this measured time (recording multiple calculations and averaging them would yield higher accuracy). The datasheet says that period-measurement requires the use of a fast reference clock (available resolution is directly related to the clock rate), and that it is most appropriate when measuring rapidly varying light levels or making very fast measurements of a constant light source.
*'''Frequency-measurement''' involves counting the number of pulses per fixed time interval and dividing by the length of the time interval. This method is optimal for slowly varying or constant light levels and reading average light levels over short periods of time.
*'''Integration''' or '''pulse-accumulation''' is measuring the accumulation of pulses over a very long period of time, and is used to measure exposure, the amount of light in a specific area over a given amount of time.
Added lines 10-12:
!!!!SCHEMATIC
http://www.spencerkiser.com/sensorWorkshop/TCS230TopView.gif
Added lines 1-24:
!!!TAOS TCS230
[[http://www.taosinc.com/images/product/document/TCS230-E14.pdf | datasheet]]
----
The TCS230 Programmable Color Light-To-Frequency Converter, strangely enough, converts light to frequency.

!!!!INPUT

It houses an 8x8 array of photodiodes, 16 with red filters, 16 with green filters, 16 with blue filters and 16 with no filters. The four types of filters are interdigitated, which I understand to mean that they are distributed evenly so that they make up for any uneven irradiance.

The datasheet says that a "low impedance electrical connection between the device OE pin and the device GND pin is required for improved noise immunity." Unsure how that is implemented.

!!!!OUTPUT

Output from the device is in the form of a square wave (50% duty cycle), the frequency of which is directly related to the intensity of the chosen color. The output pin can be connected directly to a microcontroller. The output frequency can be can be scaled by 2%, 20% or left at 100% in order to accomodate the speed or the connected microcontroller.

The internal converter generates a "fixed-pulsewidth pulse train". The pulse train output is internally connected to a series of "frequency dividers", which enables scaling of the output frequency. Division of the output frequency is achieved by counting pulses of the principal internal frequency, so the final-output period is an average of the multiple periods of the principle frequency. The connected microcontroller uses a count function to measure the incoming frequency and thereby detect the color sensed by the converter.

There is also an Output Enable pin, which the datasheet states "places the output in the high-impedance state for multiple unit sharing of a microcontroller input line." Not quite sure what that is used for.

!!!!DIVERSE INFORMATION

Power supply lines need to be decoupled by a 0.01 microF capacitor "with short leads mounted close to the device package."
The output lines should be less than 12 inches, or a buffer or line driver is recommended.