The TCS34725, which has RGB and Clear light sensing elements. An IR blocking filter, integrated on-chip and localized to the color sensing photodiodes, minimizes the IR spectral component of the incoming light and allows color measurements to be made accurately. The filter means you'll get much truer color than most sensors, since humans don't see IR. The sensor also has an incredible 3,800,000:1 dynamic range with adjustable integration time and gain so it is suited for use behind darkened glass.
We add supporting circuitry as well, such as a 3.3V regulator so you can power the breakout with 3-5VDC safely and level shifting for the I2C pins so they can be used with 3.3V or 5V logic. Finally, we specified a nice neutral 4150°K temperature LED with a MOSFET driver onboard to illuminate what you're trying to sense. The LED can be easily turned on or off by any logic level output.
Connect to any microcontroller with I2C and our example code will quickly get you going with 4 channel readings. We include some example code to detect light lux and temperature that we snagged from the eval board software.
Wire up the sensor by connecting VDD to 3-5VDC, Ground to common ground, SCL to I2C Clock and SDA to I2C Data on your Arduino. Restart the IDE and select the example sketch and start putting all your favorite fruit next to the sensor element!
{"id":1649469030472,"title":"TCS34725 Color Sensor","handle":"tcs34725-color-sensor","description":"\u003cp\u003e\u003cspan\u003eThe TCS34725, which has RGB and Clear light sensing elements. An IR blocking filter, integrated on-chip and localized to the color sensing photodiodes, minimizes the IR spectral component of the incoming light and allows color measurements to be made accurately. The filter means you'll get much truer color than most sensors, since humans don't see IR. The sensor also has an incredible 3,800,000:1 dynamic range with adjustable integration time and gain so it is suited for use behind darkened glass.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eWe add supporting circuitry as well, such as a 3.3V regulator so you can power the breakout with 3-5VDC safely and level shifting for the I2C pins so they can be used with 3.3V or 5V logic. Finally, we specified a nice neutral 4150°K temperature LED with a MOSFET driver onboard to illuminate what you're trying to sense. The LED can be easily turned on or off by any logic level output.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eConnect to any microcontroller with I2C and our example code will quickly get you going with 4 channel readings. We include some example code to detect light lux and temperature that we snagged from the eval board software.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eWire up the sensor by connecting VDD to 3-5VDC, Ground to common ground, SCL to I2C Clock and SDA to I2C Data on your Arduino. Restart the IDE and select the example sketch and start putting all your favorite fruit next to the sensor element!\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003e\u003cspan\u003eSpecifications\u003c\/span\u003e\u003c\/h5\u003e\n\u003cp\u003e\u003cspan\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0014\/4313\/5560\/files\/download_a84b1192-d23f-4210-a4de-0059c7766bd4_480x480.jpg?v=1592573017\" alt=\"\"\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0014\/4313\/5560\/files\/arduino-and-tcs34725_bb_480x480.png?v=1592573076\" alt=\"\"\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003ch5\u003e\u003cspan\u003eResources\u003c\/span\u003e\u003c\/h5\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/DATASHEET\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC1044\"\u003e\u003cspan\u003eDatasheet\u003c\/span\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/LIBRARIES\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC1044\"\u003e\u003cspan\u003eLibrary\u003c\/span\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/SAMPLE_CODE\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC1044\"\u003e\u003cspan\u003eSample Code\u003c\/span\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003ch5\u003e\u003cspan\u003eTutorial\u003c\/span\u003e\u003c\/h5\u003e\n\u003ciframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/dCnjwxkWZ-w\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"\u003e\u003c\/iframe\u003e \u003ciframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/RHO3bPcbysM\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"\u003e\u003c\/iframe\u003e\n\u003cp\u003e \u003c\/p\u003e","published_at":"2022-12-06T11:23:19+05:30","created_at":"2019-03-02T16:19:28+05:30","vendor":"ThinkRobotics.in","type":"Sensor","tags":["3 color","Arduino","Arduino Mega","Arduino Module","Arduino Sensor","color","color sensor","Color Sensors","ELC1","I2C","I2C module","I2C sensor","ir","LGT-SNR","RGB","RGB color sensor","RGB Sensor","Sensor","TCS34725","TCS34725 color sensor"],"price":38999,"price_min":38999,"price_max":38999,"available":true,"price_varies":false,"compare_at_price":50000,"compare_at_price_min":50000,"compare_at_price_max":65600,"compare_at_price_varies":true,"variants":[{"id":27847055245384,"title":"Without Soldered Pin","option1":"Without Soldered Pin","option2":null,"option3":null,"sku":"ELC1044","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"TCS34725 Color Sensor - Without Soldered Pin","public_title":"Without Soldered Pin","options":["Without Soldered Pin"],"price":38999,"weight":20,"compare_at_price":50000,"inventory_management":"shopify","barcode":"27847055245384","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":16218750943304,"title":"With Soldered Pin","option1":"With Soldered Pin","option2":null,"option3":null,"sku":"ELC1044S","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"TCS34725 Color Sensor - With Soldered Pin","public_title":"With Soldered Pin","options":["With Soldered Pin"],"price":38999,"weight":20,"compare_at_price":65600,"inventory_management":"shopify","barcode":"16218750943304","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/thinkrobotics.com\/cdn\/shop\/products\/H64c91ab8b4cd456c94205b1460e03d82y.jpg?v=1660702846"],"featured_image":"\/\/thinkrobotics.com\/cdn\/shop\/products\/H64c91ab8b4cd456c94205b1460e03d82y.jpg?v=1660702846","options":["Soldered"],"media":[{"alt":null,"id":23138408988758,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1360,"width":1360,"src":"\/\/thinkrobotics.com\/cdn\/shop\/products\/H64c91ab8b4cd456c94205b1460e03d82y.jpg?v=1660702846"},"aspect_ratio":1.0,"height":1360,"media_type":"image","src":"\/\/thinkrobotics.com\/cdn\/shop\/products\/H64c91ab8b4cd456c94205b1460e03d82y.jpg?v=1660702846","width":1360}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e\u003cspan\u003eThe TCS34725, which has RGB and Clear light sensing elements. An IR blocking filter, integrated on-chip and localized to the color sensing photodiodes, minimizes the IR spectral component of the incoming light and allows color measurements to be made accurately. The filter means you'll get much truer color than most sensors, since humans don't see IR. The sensor also has an incredible 3,800,000:1 dynamic range with adjustable integration time and gain so it is suited for use behind darkened glass.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eWe add supporting circuitry as well, such as a 3.3V regulator so you can power the breakout with 3-5VDC safely and level shifting for the I2C pins so they can be used with 3.3V or 5V logic. Finally, we specified a nice neutral 4150°K temperature LED with a MOSFET driver onboard to illuminate what you're trying to sense. The LED can be easily turned on or off by any logic level output.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eConnect to any microcontroller with I2C and our example code will quickly get you going with 4 channel readings. We include some example code to detect light lux and temperature that we snagged from the eval board software.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eWire up the sensor by connecting VDD to 3-5VDC, Ground to common ground, SCL to I2C Clock and SDA to I2C Data on your Arduino. Restart the IDE and select the example sketch and start putting all your favorite fruit next to the sensor element!\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003e\u003cspan\u003eSpecifications\u003c\/span\u003e\u003c\/h5\u003e\n\u003cp\u003e\u003cspan\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0014\/4313\/5560\/files\/download_a84b1192-d23f-4210-a4de-0059c7766bd4_480x480.jpg?v=1592573017\" alt=\"\"\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0014\/4313\/5560\/files\/arduino-and-tcs34725_bb_480x480.png?v=1592573076\" alt=\"\"\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003ch5\u003e\u003cspan\u003eResources\u003c\/span\u003e\u003c\/h5\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/DATASHEET\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC1044\"\u003e\u003cspan\u003eDatasheet\u003c\/span\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/LIBRARIES\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC1044\"\u003e\u003cspan\u003eLibrary\u003c\/span\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/SAMPLE_CODE\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC1044\"\u003e\u003cspan\u003eSample Code\u003c\/span\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003ch5\u003e\u003cspan\u003eTutorial\u003c\/span\u003e\u003c\/h5\u003e\n\u003ciframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/dCnjwxkWZ-w\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"\u003e\u003c\/iframe\u003e \u003ciframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/RHO3bPcbysM\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"\u003e\u003c\/iframe\u003e\n\u003cp\u003e \u003c\/p\u003e"}