Difference between revisions of "Sensor-Color Detector"
From Microduino Wiki
m (Fengfeng moved page Microduino-Color Detector to Sensor-Color Detector) |
(→Specification) |
||
Line 20: | Line 20: | ||
==Specification== | ==Specification== | ||
*Electrical specification | *Electrical specification | ||
− | **Operation voltage: 3.3 ~6.0 V | + | **Operation voltage: 3.3 ~6.0 V; |
− | **Input device | + | **Input device. |
*Tech parameters | *Tech parameters | ||
− | **ROHS authentication: YES | + | **ROHS authentication: YES; |
− | **Operation temperature: -40 ~ 85 °C | + | **Operation temperature: -40 ~ 85 °C. |
*Size | *Size | ||
− | **Size of the sensor: 5mm*5mm | + | **Size of the sensor: 5mm*5mm; |
− | **Size of the board: 20mm*20mm | + | **Size of the board: 20mm*20mm; |
− | **1.27mm-ptich 4Pin interface | + | **1.27mm-ptich 4Pin interface. |
*Connection method | *Connection method | ||
− | **Interface: IIC | + | **Interface: IIC; |
**Pin description: GND, VCC, signal 1 and signal 2. Since the output signal is IIC, you need IIC interface to receive signals, which can connect Sensorhub's IIC pin. | **Pin description: GND, VCC, signal 1 and signal 2. Since the output signal is IIC, you need IIC interface to receive signals, which can connect Sensorhub's IIC pin. | ||
[[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]] | [[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]] | ||
[[File: Microduino-Temp&Hum_I2C.jpg|600px|thumb|center]] | [[File: Microduino-Temp&Hum_I2C.jpg|600px|thumb|center]] | ||
− | |||
==Document== | ==Document== |
Revision as of 08:02, 24 August 2016
Language: | English • 中文 |
---|
Microduino-Color detector is a color detection senor. This module adopts TCS3414CS color chip and it can be connected through IIC interface. Based on 8×2 filtered photodiode and 16-bit analog-digital converter, you can measure light or light reflection on the surface of an object to acquire color value.
ContentsFeatures
Specification
Document
DevelopmentPreparation
Program
#define redMax 32767 #define greenMax 32767 #define blueMax 32767 int redValue,greenValue,blueValue;
redValue=map(red, 0, redMax, 0, 255); greenValue=map(green, 0, greenMax, 0, 255); blueValue=map(blue, 0, blueMax, 0, 255); Hardware Buildup
ApplicationMicroduino-Color detector is suitable for environment color detection.
Project
PurchaseHistoryPictures
|