洋天科技洋天科技
公司簡介訂購方式匯款確認檔案下載 聯絡我們保固說明訂單查詢討論區
電子郵件:

密碼:

忘記密碼
加入會員
  首頁 | 原廠 Arduino® | 特殊服務設計 | 轉接座及轉接板/麵包板 | 開發板/燒錄器/模擬器 | 相容 For Arudino® 週邊及配件 | 旭日 RDK開發板 系列 | OKdo系列 | Saleae 系列 | Adafruit 系列 | ArduCam 系列 | Camera 攝像頭 | ROCK 系列 | Debix系列開發板 | Raspberry Pi 樹莓派 | WalnutPi 核桃派 | Banana Pi 香蕉派 | BeagleBone 狗骨頭 | M5Stack系列 | Micro:bit (BBC)系列 | NVIDIA Jetson Nano系列 | Pololu 系列 | Pycom 系列 | Seeed 系列 | Sparkfun 系列 | WeMos 系列 | 傳感器 | Cubieboard/CubieTruck系列 | Firefly 系列 | Microduino系列 | Orange Pi 香橙派 | PCB板 | PLC 系列 | Robot 機器人 | UDOO 系列 | RedBearLab 系列 | LattePanda系列 | LittleBits 系列 | Libelium 系列 | Luxonis 相機系列 | PCduino | RobotElectronics 系列 | MageDok 顯示屏 | LCD/LCM/TFT/LVDC | Dimension Engineer 系列 | 通訊模組 | 影音器材(含轉換器) | 線材/連結器/轉換器 | 測量儀器 | 馬達/馬逹控制器/電源模組 | 其他 | 焊接/維修工具 | IC零件 | LED燈-裝飾燈 | 工作站迷你電腦 mini PC | 擴大器 | 雕刻機 | 電池 | 電腦周邊 | AI 顯卡 | 停售商品
  首頁 » 商品目錄 » Seeed 系列 » Grove 傳感器系列 » 43117609
商品搜尋 進階
 |  購物車內容  |  結帳   
商品分類
  聯發科 LinkIt
  Grove Kit 套件
  Grove 傳感器系列
  Grove 擴展板/轉接板
  ReSpeaker 系列
  RF Explorer系列
  Solar Panel 太陽能板 系列
  Wio系列 Wio Link/Wio Node/Wio LTE
  Bluetooth Bee藍芽 (LoRa)Wireless無線
  Bus Blaster 系列
  Crazyflie系列
  DSO 系列
  FiPy 系列
  flick系列
  GPS GSM GPRS 系列
  LCD OLED 屏
  LED燈
  RFID/WIFI系列
  Xadow 系列
  套餐
  Al Linke
  Dangerous Prototypes
  RePhone系列
  Seeed Studio
  Tessel 系列
  Machine Vision
  Prototyping
  線材
  Robot Kit
  停售/停產
  MicroPython系列
  ODYSSEY - X86 系列
Arduino
Pololu
Seeed
Sparkfun
robot-electronics
dimensionengineering
libelium
adafruit
udoo
redbearlab
Arducam
goembed
Saleae
okdo
服務台
公司簡介
退換貨服務
訂購方式
聯絡我們
匯款確認
[<< 前一頁]  瀏覽相同分類產品 76 / 221  [下一頁 >>]
Grove - I2C Color Sensor V2.0 顏色傳感器(I2C) (101020341)
NT$644
運費NT$50
條碼43117609
產品說明0

※本產品原廠代理從國外進口,有些交期較長,下訂前請詢問!

Please note that the latest version V2.01 has replaced the IC with TCS3472 and the old library has also been updated

以更新最新版本V2.01 (以更新最新版本V2.01 (TCS3472為新款IC)***

This driver is for the Grove - I2C Color Sensor TCS34372(Adafruit TCS34725 Breakout. ------> http://www.adafruit.com/products/1334)

 The video shows how to recognize different colors with the sensor and then to drive the lamp lighting in blue, green, yellow, orange and red accordingly.

This module is based on the color sensor TCS3414CS with digital output I2C. Based on the 8*2 array of filtered photodiodes and 16-bits analog-to-digital converters, you can gain the color chromaticity of ambient light or the color of objects. Of the 16 photodiodes, 4 have red filters, 4 have green filters, 4 have blue filters and 4 have no filter(clear). With the synchronization input pin, external pulsed light source can provides precise synchronous conversion control.
 
Features
  • Grove compatible interface
  • 16-Bit digital output with I 2C at 400 kHz
  • SYNC Input Synchronizes Integration Cycle to Modulated Light Sources
  • Operating temperature range -40°C to 85°C
  • Programmable interrupt function with User-Defined Upper and lower threshold settings
 
Documents

 Please visit our wiki page for more info about this product. It will be appreciated if  you can help us improve the documents, add more demo code or tutorials. For technical support, please post your questions to our forum.

Arduino的 WIO BeagleBone 覆盆子皮 LinkIt ONE

 

Hardware Connections

Grove products have an eco system and all have the same connector which can plug onto the Grove Base Shield. Connect this module to the I2C port of Base Shield. However, you can also connect Grove - I2C Color Sensor to Arduino without Base Shield by jumper wires.

Arduino UNO Grove - I2C Color Sensor
5V VCC
GND GND
SDA SDA
SCL SCL

Software Installation

Download Arduino and install Arduino driver

Getting Started with Seeeduino/Arduino

 

Demos

This module can be used to detect the color of light source or the color of objects. When used to detect the color of the light source, the led switch should be turned off, and the light source should shine the sensor directly. When used to detect the color of things, the led should be on and you should put the object on the top of the enclosure closely. The theory of sensing the color of objects is Reflective Sensing Theory. Like the picture below.

Color Sensor Library

We have created a library to help you start playing quickly with the Seeeduino/Arduino, in this section we’ll show you how to set up the library.

Setup

  1. Download the library code as a zip file from the Grove_I2C_Color_Sensor github page. If you are using the latest version V2.01(IC is TCS3472 ), please use this new library
  2. Unzip the downloaded file into your …/arduino/libraries.
  3. Rename the unzipped folder “Color_Sensor”
  4. Start the Arduino IDE (or restart if it is open).

Description of function

This is the most important/useful function in the library, we invite you to look at the .h and .cpp files yourself to see all the functions available.

Read RGB data through the library function

readRGB(int *red, int *green, int *blue)

  • red: The variable address to save R.
  • green: The variable address to save G.
  • blue: The variable address to save B.
void loop()
{
    int red, green, blue;
    GroveColorSensor colorSensor;
    colorSensor.ledStatus = 1;            // When turn on the color sensor LED, ledStatus = 1; When turn off the color sensor LED, ledStatus = 0. while(1)
    {
        colorSensor.readRGB(&red, &green, &blue);    //Read RGB values to variables.
        delay(300);
        Serial.print("The RGB value are: RGB( ");
        Serial.print(red,DEC);
        Serial.print(", ");
        Serial.print(green,DEC);
        Serial.print(", ");
        Serial.print(blue,DEC);
        Serial.println(" )");
        colorSensor.clearInterrupt();
    }
}

Color Sensor Examples/Applications

This example shows how to use features of Grove - I2C Color Sensor and display the detected color with a Chainable RGB LED Grove.

Note

If you haven't downloaded Grove-Chainable RGB LED library to your Arduino IDE before, please download and set up the library first.
  • Open File->Examples->Color_Sensor->example->ColorSensorWithRGB-LED sketch for a complete example, or copy and paste code below to a new Arduino sketch.

Description: This example can measure the color chromaticity of ambient light or the color of objects, and via Chainable RGB LED Grove, display the detected color.

You also can use other display modules to display the detected color by Grove - I2C Color Sensor.

#include <Wire.h>
#include <GroveColorSensor.h>
#include <ChainableLED.h>

#define CLK_PIN 7
#define DATA_PIN 8
#define NUM_LEDS 1                       //The number of Chainable RGB LED

ChainableLED leds(CLK_PIN, DATA_PIN, NUM_LEDS);

void setup()
{
Serial.begin(9600);
Wire.begin();
}

void loop()

      int red, green, blue;
      GroveColorSensor colorSensor; 
      colorSensor.ledStatus = 1;                                          // When turn on the color sensor LED, ledStatus = 1; When turn off the color sensor LED, ledStatus = 0. 
        while(1)
        {
               colorSensor.readRGB(&red, &green, &blue); //Read RGB values to variables.
delay(300);
               Serial.print("The RGB value are: RGB( ");
               Serial.print(red,DEC);
               Serial.print(", ");
               Serial.print(green,DEC);
               Serial.print(", ");
               Serial.print(blue,DEC);
               Serial.println(" )");
               colorSensor.clearInterrupt();
               for(int i = 0; i<NUM_LEDS; i++) 
               { 
                           leds.setColorRGB(i, red, green, blue);
                     }
            }
}

  • Upload the code to the development board.
  • Then Grove_-_Chainable_RGB_LED would display the color which is detected.

Other Reference

This module is based on the color sensor TCS3414CS. The TCS3414CS digital color sensor returns data from four channels: red(R), green(G), blue(B) and clear(C)(non-filtered). The response from the red, green and blue channels (RGB) can be used to determine a particular source’s chromaticity coordinates (x, y). These standards are set by the Commission Internationale de l’Eclairage (CIE). The CIE is the main international organization concerned with color and color measurement.In order to acquire the color of a given object using TCS3414CS, we must first map the sensor response (RGB) to the CIE tristimulus values (XYZ). It is then necessary to calculate the chromaticity coordinates (x, y).

Chromaticity Calculation Process Overview

The equations to do the transformation:

Transformation Equations

  • When we get coordinates (x, y), please reference the below figure so as to get the recommended color.

Resources

問與答

目前沒有任何商品問答!
本商品上架日期:2013-07-12.
評價
建議購買的商品清單!可以參考看看喔
>(停產)RGB Color Sensor with IR filter TCS34725(ada1334)
>(停產)RGB Color Sensor with IR filter TCS34725(ada1334)
●原廠 AS7262 6-Channel Visible Light / Color Sensor 模組(ada3779)
●原廠 AS7262 6-Channel Visible Light / Color Sensor 模組(ada3779)
●CJMCU-34725 TCS34725 顏色傳感器Color Sensor RGB 開發板模塊 CJMCU34725
●CJMCU-34725 TCS34725 顏色傳感器Color Sensor RGB 開發板模塊 CJMCU34725
●美國進口 Parallax ColorPAL 顏色感測器 顏色傳感器 (PI1608)
●美國進口 Parallax ColorPAL 顏色感測器 顏色傳感器 (PI1608)
●#半導體製冷DIY套件 雙製冷片 空氣降溫裝置 冷卻設備 散熱交換器(雙核/不含電源)
●#半導體製冷DIY套件 雙製冷片 空氣降溫裝置 冷卻設備 散熱交換器(雙核/不含電源)
●FA-CAM202/NanoPi M3 配件USB監控攝像頭模組,高清免驅200w像素,支持NanoPi2樹莓派
●FA-CAM202/NanoPi M3 配件USB監控攝像頭模組,高清免驅200w像素,支持NanoPi2樹莓派
購物車 更多
空的...
查詢訂單狀態
 
請輸入您的訂單編號
商品通知狀態 更多
通知Grove - I2C Color Sensor V2.0 顏色傳感器(I2C) (101020341)
更新時通知我
推薦給朋友
 
推薦這個商品給朋友

聯絡方式:手機:0933807110 或 0968222607
E-mail:i0104@ms13.hinet.net(主要信箱) & i03070309@yahoo.com.tw(次要) & a_te0307@hotmail.com & A9215017@mail.ntust.edu.tw & r94922042@ntu.edu.tw