颜色传感器产品说明书

合集下载

三色颜色区分传感器数据手册说明书

三色颜色区分传感器数据手册说明书

DatasheetCompact, Self-Contained, Three-Output Color-DifferentiatingSensor•Two versions for application flexibility: QC50 models for most applications, and QCX50 models for more challenging applications•Compact, self-contained design•Analyzes and compares color to color, or varying intensities of one color •QCX50 models excel in challenging applications, such as differentiating dark blue from black•Easy-to-set programming options for 1, 2, or 3 colors•Three programming parameters: channel, sensing mode, and tolerance level •10 tolerance levels to allow for product variation•Output OFF-delay (6 options);selection applies to all three color channels•Gate mode option (also called inhibiting,synchronization,or windowing)WARNING: Not To Be Used for Personnel ProtectionNever use this device as a sensing device for personnel protection. Doing so could lead to serious injury or death.This device does not include the self-checking redundant circuitry necessary to allow its use in personnel safetyapplications. A sensor failure or malfunction can cause either an energized or de-energized sensor outputcondition.ModelsOverviewThe easy-to-use QC50 series true color sensor uses modulated white light with red,green, and blue (R, G, B) electronic filters to scan for the presence of one, two or threecolors. Its compact size allows it to be mounted almost anywhere. Configurationoptions include Programming mode for color detection parameters and Setup modefor selecting an adjustable output OFF-delay or selecting between two response speeds(some models). Three solid-state outputs may be set individually for colordifferentiation or for color-plus-intensity differentiation (seeProgram the Sensor onpage 2).The sensor has two push buttons, Set and Select, plus a 4-digit LED display, an OutputLED, and three Output Status LEDs (one for each sensing output), for easyprogramming and status monitoring during operation. The push buttons can be lockedfor security (see Disable the Push Buttons on page 4.Push ButtonSet Push4-Digit Displaymating cordset.QC50 Series True Color SensorOriginal Document111523 Rev. D27 February 2017111523Configuration InstructionsProgram the SensorProgramming mode determines the colors the sensor will detect for each of the three outputs. Repeat the following steps for each output. The procedure is identical for all models.The sensor has a 12-second time-out. If more than 12 seconds elapses between steps, sensor returns to Run mode without saving the settings.The QC50 can be programmed to sense one, two, or three colors. Three outputs are available for this purpose. When a programmed color is sensed, the yellow Output ("OUT") indicator LED and the associated green Output Status LED turn ON, and the respective output conducts.Sensing Modes—The Sensor functions in one of two sensing modes: Color only (expressed "C" on the 4-digit display) or Color-Plus-Intensity (expressed "C_I"). In Color sensing mode, only colors are sensed. This is most useful for sorting obvious color differences (for example, red or black or green). The Color-Plus-Intensity option refines the sensor's capabilities to include grayscale as well, broadening the spectrum of colors and shades which the sensor can be programmed to detect. This feature allows "batch" sorting or identifying within a color family (for example, light blue or medium blue or dark blue).Tolerance Levels—The Sensor can be configured for one of 10 levels of tolerance (0 to 9). A higher number (for example 9, expressed "toL9" on the 4-digit display) permits the sensor to accept a wider range of target conditions, compared with lower tolerance levels. A tolerance level of 0 (expressed "toL0") causes much more precise discrimination and a narrower range of target conditions.1.To sample the color, position the new color to be sensed within scanning distance, typically 20 mm (0.8 in).The sensor samples the color. The Output LED and all Output Status LEDs are off. The display shows run (no OFF-delay) or rund (OFF-delay selected).2.Select the channel.a)Press and hold Set for more than two seconds.b)By default, channel 1 (SEt1) is selected. Click Select until the desired channel is displayed.c)Click Set to save your selection.The Output LED and Output Status LEDs are OFF. The display shows SEt1 for channel 1, SEt2 for channel 2, or SEt3 for channel 3.3.Select the sensing mode.a)Click Select to choose between Color (default) or Color + Intensity.b)Click Set to save your selection.The Output LED and Output Status LEDs are OFF. The display shows C for Color or C_I for Color + Intensity. After the sensor saves the color settings, the Output LED is ON and the selected channel Output Status LED is on. The display shows uPdt (flashing for two seconds).4.Select the tolerance level.a)Click Select until the desired tolerance level is displayed. There are 10 tolerance levels to choose from.b)Click Set to save the tolerance setting.The Output LED is on and the Output Status LED for the selected channel is on. The displays reads toL0 (most selective) through toL9 (least selective).If the color being taught is out of the sensor’s range, FAIL appears in the 4-digit display, followed by Hi or Lo(indicating too much or too little light, respectively).Save the selected sensor settings by clicking the Set button at the end of Programming mode selection. The settings are saved in the sensor’s EEPROM memory and the sensor remembers the current settings, even after being powered off. - Tel: +1-763-544-3164P/N 111523 Rev. DIndicator DisplaysTo review the sensor's settings, press Select for 2 seconds or more.The output channel, sensing mode, and tolerance level will then be displayedsequentially, followed by the delay interval (applicable to all channels) and normal or fast mode (for QCX50 models). At the end of the sequence, the display indicates "run"or "rund" (depending on the delay setting).Non-Initialization Display Messages —When using a sensor for the first time, the message "E2Pr" may be displayed. This indicates the memory has yet to be used. To correct this situation, set up a channel according to the procedure described earlier in Programming Mode . When any channel is set up successfully, a "run" or "rund"message is displayed.Run Mode — Normal sensor operation is called Run mode. The LED indicators and the 4-digit display indicate current operating status. For example, if the color sensor is detecting the color for which output 1 is programmed and no delay is selected, the indicators appear:•Output (Out) LED: ON Yellow •Output 1 Status LED: ON Green •4-digit display: run Fast Mode —When a QCX50 model sensor is operating in Fast mode, the display will flash"FASt" for approximately 5 seconds of every 40 seconds.Repeats for each channelSet the Output OFF-DelaySensor OutputOutput EndsStartsThe output OFF-delay represents the time interval, following termination of sensing, during which the outputs remain active. The selected delay will apply to all three outputs.An output OFF-delay value up to 40 milliseconds may be set. The figure shows a 20 ms OFF-delay (d_20). The output continues for an interval after sensing stops (applies to all outputs).1.Press Set for more than six seconds.2.Click Select until the desired delay setting is displayed. You may choose from the following delay settings:•d_00 (no delay)•d_05 (5 ms delay)•d_10 (10 ms delay)•d_20 (20 ms delay)•d_30 (30 ms delay)•d_40 (40 ms delay)The Output LED is off (no target) and all Channel Status LEDs are off.3.Click Set to save the settings.The Output LED is off (no target) and all Channel Status LEDs are off. The display shows run (no delay selected) or rund (delay selected).Set the Sensing Response SpeedThe QCX50 models feature two selectable sensing response speeds: Normal and Fast. At either speed, sensing resolution is improved over that of the QC50 models.The faster the speed, the lower the resolution. Normal speed is the recommended mode for most applications and provides the best resolution. Normal speed enables such high-resolution sensing as differentiating between similar shades of beige.1.To access the selection mode, press and hold Set and Select together for more than two seconds.The current selection is displayed (norm or FASt).2.Click Select to toggle between fast and normal speeds.3.Press Set for more than two seconds or wait 20 seconds for the sensor to time out and return to Run mode with new settings.The new selection is displayed (norm or FASt).P/N 111523 Rev. D - Tel: +1-763-544-31643Using the Gating FunctionThe output function of the sensor's color detection can be gated using the sensor's red wire (see Wiring Diagrams on page 5). Using this function controls the sensor's output and permits output to occur only when signaled by the use of the red wire. This output control feature is most useful when multiple repeats of a color could occur, such as with registration marks in a margin, yet only one point on the work is needed for an accurate determination. Gating is also known as triggering, windowing, inhibiting, or synchronization.In the sensor's normal operating state (output enabled, red wire open or low), the sensor responds to all taught colors (the Output LED,Channel Status LEDs, and all outputs respond to target conditions). When the red wire is held high (output disabled, red wire at high supply potential), the sensor does not respond to the taught colors (LEDs do not light and outputs do not conduct; i.e., inhibit).Disable the Push ButtonsLock out the push buttons to prevent accidental or unauthorized adjustments on the production floor.1.Connect a switch between the Gate input and +10 to 30 V dc.The sensor is ready for the keypad to be enabled or disabled.2.To disable the buttons: close the Gate switch and power up the sensor.The sensor push buttons are disabled.3.To enable the buttons: open the Gate switch and power up the sensor.The sensor push buttons are enabled.Installing the Color SensorWhen sensing glossy surfaces, install the sensor at approximately a 15° angle with respect to the target.When the sensor is ON, the white emitter beam is ON and “run” or “rund”appears on the 4-digit status display.1.Determine the best position for the swivel connector (back, side, or bottom of the sensor).2.Measure the appropriate operating distance from the front surface of the sensor optics to the point where the sensor is to befastened.Typically, the ideal distance is 20 mm (0.8 in).3.Fasten the sensor to its intended location using two screws (M4 × 35 or longer).Any two of three holes in the housing may be used for this purpose.4.Attach the power cable to the sensor’s connector. Refer to Wiring Diagrams on page 5 for more information. - Tel: +1-763-544-3164P/N 111523 Rev. DWiring DiagramsSpecificationsSupply Voltage10 V dc to 30 V dc, 2 V pp maximum ripple40 mA maximum at 24 V dc (excluding output current)Supply Protection CircuitryProtected against reverse polarity, over-voltage, and transient voltageOutput Configuration3 PNP or 3 NPN outputs, depending on model30 V dc maximumSaturation Voltage: < 2 VOutput Rating100 mA maximum load per output channelOutput ProtectionProtected against output short-circuit, continuous overload, transient over-voltages, and false pulse on power upOutput Response TimeQC50 models: 335 microsecondsQCX50 models: Selectable 5 ms 9 normal) or 1 ms500 ms delay at power-up; outputs do not conduct during this timeData RetentionEEPROM nonvolatile memorySensing BeamPulsed white LED (400 nm to 700 nm)Sensing ReceiverSolid-state photodiode device with R, G, B filtersSensing Range20 mm (0.8 inches) typical; varies depending on sensor configurationAdjustments2 push buttons (Set and Select)Color scanning, color mode, delay and toleranceManual adjustment of color channels, sensing mode and tolerance levelIndicators4-digit LCD display: indicates sensing mode, display information, tolerancelevel, channel statusYellow output LED: ON when any output is conductingThree Green channel output status LEDs: ON when its corresponding channeloutput is conductingConnections8-pin M12/Euro-style swivel quick disconnect; 2 m (6.5 ft), 5 m (15 ft), or 9 m(30 ft) cable available separatelyConstructionABS shock-resistant housing; glass window and lensMinimum Spot Diameter4 mm (0.2 inches)Environmental RatingIEC IP67Ambient Light RejectionAccording to EN 609475-2Operating Conditions−10 °C to +55 °C (+14 °F to +131 °F)90% at +50 °C maximum relative humidity (non-condensing)Shock ResistanceApprox. 30 G; 3 shocks per axis; 11 ms durationVibration0.5 mm (0.2 inch) amplitude; 10 Hz to 60 Hz frequency; 30 minutes for each X,Y, Z axisCertificationsQC50 Models:QCX50 Models:Required Overcurrent ProtectionWARNING: Electrical connections must be madeby qualified personnel in accordance with localand national electrical codes and regulations.Overcurrent protection is required to be provided by end product applicationper the supplied table.Overcurrent protection may be provided with external fusing or via CurrentLimiting, Class 2 Power Supply.Supply wiring leads < 24 AWG shall not be spliced.For additional product support, go to .P/N 111523 Rev. D - Tel: +1-763-544-31645NOTE: M4 fasteners not includedAccessoriesCordsets - Tel: +1-763-544-3164P/N 111523 Rev. DSMBQC50•Multi-directional stainless steelL-bracket•Provides a variety of mountingoptions•Includes M4 SS hardware (2scews, 2 flat washers, 2 lockwashers, and 2 nuts)Banner Engineering Corp. Limited WarrantyBanner Engineering Corp. warrants its products to be free from defects in material and workmanship for one year following the date of shipment. Banner Engineering Corp. will repair or replace, free of charge, any product of its manufacture which, at the time it is returned to the factory, is found to have been defective during the warranty period. This warranty does not cover damage or liability for misuse, abuse, or the improper application or installation of the Banner product.THIS LIMITED WARRANTY IS EXCLUSIVE AND IN LIEU OF ALL OTHER WARRANTIES WHETHER EXPRESS OR IMPLIED (INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE), AND WHETHER ARISING UNDER COURSE OF PERFORMANCE, COURSE OF DEALING OR TRADE USAGE.This Warranty is exclusive and limited to repair or, at the discretion of Banner Engineering Corp., replacement. IN NO EVENT SHALL BANNER ENGINEERING CORP. BE LIABLE TO BUYER OR ANY OTHER PERSON OR ENTITY FOR ANY EXTRA COSTS, EXPENSES, LOSSES, LOSS OF PROFITS, OR ANY INCIDENTAL, CONSEQUENTIAL OR SPECIAL DAMAGES RESULTING FROM ANY PRODUCT DEFECT OR FROM THE USE OR INABILITY TO USE THE PRODUCT, WHETHER ARISING IN CONTRACT OR WARRANTY, STATUTE, TORT, STRICT LIABILITY, NEGLIGENCE, OR OTHERWISE. Banner Engineering Corp. reserves the right to change, modify or improve the design of the product without assuming any obligations or liabilities relating to any product previously manufactured by Banner Engineering Corp. Any misuse, abuse, or improper application or installation of this product or use of the product for personal protection applications when the product is identified as not intended for such purposes will void the product warranty. Any modifications to this product without prior express approval by Banner Engineering Corp will void the product warranties. All specifications published in this document are subject to change; Banner reserves the right to modify product specifications or update documentation at any time. Specifications and product information in English supersede that which is provided in any other language. For the most recent version of any documentation, refer to:.© Banner Engineering Corp. All rights reserved。

BE-1131颜色传感器模块说明书

BE-1131颜色传感器模块说明书

5 RGB888
读 RGB888 数据,返回为 24 位颜色数据,该值会受白平衡影响
6 原始 R 分量 7 原始 G 分量 8 原始 B 分量
读未经过任何处理的原始 Red 分量值,范围 0~1023 读未经过任何处理的原始 Green 分量值,范围 0~1023 读未经过任何处理的原始 Blue 分量值,范围 0~1023
6.模块最佳高度为板顶离地面 10mm,最高不要高于 15mm。
三、硬件安装
应用中,BE1131 颜色传感器能接插在 E2RCU 的 P1~P8 任一接口中。
四、使用说明
1、子函数说明:
首先,请确认安装的是最新版机器人快车软件,并且模块库版本为 3.98 以上,请用户在我们网站下载最新
的模块库进行升级。例子程序位于快车软件"文件\打开例程\光电传感器 \颜色检测"。
读经过白平衡处理之后输出的值的范围,默认为 100,该值可以修改,见命令 37
20~27 设置 LED 的状态
执行这些命令,模块自动进入 LED 控制模式,该模式下不能进行颜色识别,RGB 颜色值,HSV 值,没有意义,读 R/G/B 值返回的都是亮度值。修改 LED 状态掉电不保存。详细参照“功 能说明”的“改变灯的状态”
进行扫描。扫描完毕,发送命令 43 结束颜色学习过程,此时模块会暗大约 1 秒,自动将颜色参考值保存下
来,颜色学习结束。经过颜色学习之后,当该颜色已经进行了学习,那么识别结果将会产生变化,读回识
别结果,同一种颜色,颜色深(即亮度比较小)的识别结果将会加 10,颜色浅(即亮度较大)的返回原识
别结果(具体参照下面“颜色扩展模式”)。可以通过命令 61-66 读回颜色学习参考值。如果觉得识别不佳,

(完整版)TCS3200颜色传感器使用说明资料.doc

(完整版)TCS3200颜色传感器使用说明资料.doc

TCS3200 颜色传感器是一款全彩的颜色检测器,包括了一块 TAOS TCS3200RGB 感应芯片和 4 个白光 LED 灯, TCS3200 能在一定的范围内检测和测量几乎所有的可见光。

它适合于色度计测量应用领域。

比如彩色打印、医疗诊断、计算机彩色监视器校准以及油漆、纺织品、化妆品和印刷材料的过程控制。

通常所看到的物体颜色,实际上是物体表面吸收了照射到它上面的白光 (日光 ) 中的一部分有色成分,而反射出的另一部分有色光在人眼中的反应。

白色是由各种频率的可见光混合在一起构成的,也就是说白光中包含着各种颜色的色光 (如红R、黄Y、绿 G、青 V、蓝 B、紫 P)。

根据德国物理学家赫姆霍兹 (Helinholtz) 的三原色理论可知,各种颜色是由不同比例的三原色 (红、绿、蓝 )混合而成的。

由上面的三原色感应原理可知,如果知道构成各种颜色的三原色的值,就能够知道所测试物体的颜色。

对于 TCS3200D 来说,当选定一个颜色滤波器时,它只允许某种特定的原色通过,阻止其它原色的通过。

例如:当选择红色滤波器时,入射光中只有红色可以通过,蓝色和绿色都被阻止,这样就可以得到红色光的光强;同理,选择其它的滤波器,就可以得到蓝色光和绿色光的光强。

通过这三个光强值,就可以分析出反射到 TCS3200D 传感器上的光的颜色。

TCS3200D 传感器有红绿蓝和清除 4 种滤光器,可以通过其引脚 S2 和 S3 的高低电平来选择滤波器模式,如下图。

TCS3200D 有可编程的彩色光到电信号频率的转换器,当被测物体反射光的红、绿、蓝三色光线分别透过相应滤波器到达 TAOS TCS3200RGB感应芯片时,其内置的振荡器会输出方波,方波频率与所感应的光强成比例关系,光线越强,内置的振荡器方波频率越高。

TCS3200 传感器有一个 OUT 引脚,它输出信号的频率与内置振荡器的频率也成比例关系,它们的比率因子可以靠其引脚 S0 和 S1 的高低电平来选择,如下图。

OMRON E3X-DAC-S 颜色传感型 数字式光纤传感器 说明书

OMRON E3X-DAC-S 颜色传感型 数字式光纤传感器 说明书

颜色识别参考产品样本订购本公司工业自动化产品(以下简称本公司产品)时,当报价表、合同、规格书等没有提及特别说明事项时,适用以下的保证内容、免责事项、适合用途的条件等。

请务必在确认以下内容后进行订货。

1.保证内容①保证期限本公司产品的保证期限为购买后或在指定地点交货后1年。

②保证范围在上述保证期限内由于本公司的责任造成所购商品故障的情况下,本公司负责免费对故障产品进行维修或更 换,用户可以在购买处进行更换或要求维修。

但故障是由以下原因引起时,则不属于保证对象范围: a) 在本公司产品说明书所述条件••环境••使用方法以外的情况下使用而引起故障 b) 非本公司原因引起的故障c) 非本公司进行的改造和修理引起故障 d) 进行了本公司记述使用方法以外的使用e) 货品出厂时,当时的科学水平无法预见可能引起问题时 f) 其它由于天灾、灾害等非本公司负责的因素同时,上述保证仅指本公司产品本身,由于本公司产品故障所引起的损害排除在保证对象以外。

2.责任限定①因本公司产品引起的特别损失、间接损失、及其他相关损失等情况,本公司不承担任何责任。

②使用可编程设备时,因非本公司人员进行的编程,或者由此所引起的后果,本公司不负担任何责任。

3.适合用途、条件①当本公司产品与其他产品组合使用时,客户应事先确认适用规格••导则或者规制等。

另外,将本公司产品用于客 户的系统、设备、装置时,客户应自己确认其适用性。

若不执行上述事项时,本公司将对本公司产品的适合性不承 担责任。

②用于下述场合时,请与本公司销售人员商谈,确认产品规格书,并应选择额定••性能有一定余地的产品,同时应当 考虑各种安全对策,即使发生故障,也能将危险降低到最小程度的安全回路等。

a) 用于户外、可能有潜在的化学污染或电气故障的用途、或产品图册中未述及的条件/环境下使用时b) 原子能控制设备、焚烧设备、铁路/航空/车辆设备、医用设备、娱乐设备、安全装置以及必须符合行政机关和个 别行业特殊规定的设备c) 可能危及人身财产的系统、设备、装置 d) 煤气、自来水、电力的供应系统、24小时连续运转系统等要求高可靠性的设备 e) 其它的,类似上述a)~d)的,要求高度安全性的用途③当用户将本公司产品用于与人身财产安全密切相关的场合时,应做到明确系统整体的危险性,为确保安全性应 采用特殊的冗余设计,同时按照本公司产品在该系统中的适用目的,做到配套的配电••设置等。

QCM50颜色传感器说明书

QCM50颜色传感器说明书

QCM50 Color Sensor Instruction ManualOriginal Instructions209633 Rev. A21 January 2020© Banner Engineering Corp. All rights reservedContents1 Product Description (3)1.1 Models (3)1.2 Overview (3)2 Installation Instructions (4)2.1 Sensor Installation (4)2.2 Wiring Diagrams (4)3 Configuration Instructions (5)3.1 Menu System for the 4-pin Models (5)3.2 Menu System for the 5-pin and 8-pin Models (10)3.3 Program the Sensor (15)4 Specifications (16)4.1 Dimensions (17)5 Accessories (18)5.1 Cordsets (18)5.2 Brackets (19)6 Banner Engineering Corp. Limited Warranty (20)1 Product DescriptionHigh-performance color sensor with IO-Link•Reliable color detection across the entire range of the sensor•Up to 12 colors can be detected with one sensor, which saves inventory costs and enables faster changeover•Available in a glare suppression model to reliably detect reflective targets •Intuitive configuration with integrated digital display and on-board buttons •IO-Link communication for remote configurationand monitoringWARNING:•Do not use this device for personnel protection•Using this device for personnel protection could result in seriousinjury or death.•This device does not include the self-checking redundant circuitrynecessary to allow its use in personnel safety applications. A device failure or malfunction can cause either an energized (on) or de-energized (off) output condition.1.1 Models1.2 Overview12543Figure 1. Sensor Features1.Green LED: Power Indicator and IO-Link / Red: Status/Error Indicator2.Amber LED: Output Indicator3.Optical window4.Display5.Buttons2 Installation Instructions2.1 Sensor InstallationInstall the sensor so the object to be detected moves horizontally to the sensor.Figure 2. Installation for glare suppressionmodelsFigure 3. Installation for other models Figure 4. Installation for other models2.2 Wiring Diagrams+–The QCM50 Color Sensor requires a shielded cable. Refer to the Accessories list for a list of recommended cables.3 Configuration Instructions3.1 Menu System for the 4-pin ModelsThe following functions are available using the sensor's menu system. Q represents the transistor output.Color ScanSmartFunc *On* / OffTolerance 3 sB33,3%100%⇩⇩menu B 33,3%100%Unlock Figure 5. Menu Map for the 4-pin ModelsB33,3%100%⇩⇩menu B 33,3%100%Figure 6. Top Level Menu—Energy / brightness (normalized values)Off On⇩menu B 33,3%100%Color ScanFigure 7. Teach MenuTeaches the single color the sensor sees at this moment.Teaches all colors the sensor sees during the scan. The scanning can be paused.*On* / OffFigure 8. Config Q MenuFigure 9. Input MenuFigure 10. Settings Menu3.2 Menu System for the 5-pin and 8-pin ModelsThe following functions are available using the sensor's menu system. Q represents the transistor output.Color ScanSmartFunc*On* / OffToleranceOkBack 3 s Unlock ⇩menu B 33,3%100%B33,3%100%⇩Figure 11. Menu Map for the 5-pin and 8-pin Models⇩menu B 33,3%100%B33,3%100%⇩Figure 12. Top Level Menu—Energy / brightness (normalized values)Off On⇩menu B 33,3%100%Figure 13. Sensor Mode MenuChanging mode deactivates all Q. The stored colors C remain however.Color ScanFigure 14. Teach Q/C MenuTeaches a color (C) on a switching output (Q).*On* / Off Figure 15. Config Q MenuFigure 16. Config Q All MenuFigure 17. Settings Menu3.3 Program the SensorSensors have a large depth of field, so mount the sensor within its specified range (varies by model). For reflective targets, the sensor can be rotated up to 15 degrees from perpendicular to reduce specular reflections.The sensor buttons correspond to the menu options listed at the top of the LCD screen. These options change with each screen.1.Press and hold Unlock for 3 seconds to access the Menu.2.Press Menu.3.Select Sensor Mode and press OK.A warning message stating that changing the mode deactivates all outputs displays. Press OK to clear the message.e the arrow button to select Color or Best Fit mode and press Set.•Color Mode—Validates the taught color; requires one or more color.•Best Fit Mode—Switches to the closest taught color; requires two or more colors.e the Down arrow to highlight Teach Q/C (Q are transistor outputs; C are additional colors not associated with awired output) and press OK.6.Select the Q or C you would like to teach and press OK.7.Select Color for a target that is not moving and press OK.In Color Mode you also can select Color Scan if the target is moving or If you have a range of colors that you want associated with a single output.8.Present the target under the sensor LED and press Teach.In Color Mode there will be a bar graph on the screen showing the red/blue/green values of the target.9.Press Set.10.In Color Mode, adjust the tolerance using the Down arrow. Press Set.11.Select Finish to return to the Run mode configuration menu, then press OK.In Best Fit mode, at least two colors need to be configured. Repeat the previous steps with an additional Q or C being configured.12.Press Back to return the sensor to Run mode.13.Verify the output turns on and off when you present and remove the target color.4 SpecificationsSupply Voltage and Current 18 to 30 V dcLess than 60 mA, exclusive of load Supply Protective CircuitryProtected against reverse polarity and transient voltages Output ConfigurationSolid-state auto-detect PNP/NPN output with IO-Link on pin 4Output current < 100 mAOutputs protected against short circuitCertificationsLight Used LED, whiteResponse TimeGlare suppression models: ≤ 540 μs (at 500Hz)Other models: ≤ 180 μs (at ≥ 1500 Hz)LED classLED risk group 2(EN 62471:2008)Maximum Capacitive Load < 100 nF Control InputTrigger; keylockConstructionMaterials: Zinc die-cast, matte chrome housing; PMMA front screen and display Warm-up Time 5 minutes Power On Delay < 150 msIO-LinkCommunication mode: COM 2Minimum cycle time: 4 ms SIO mode: CompatibleLength of process data: 2 bytes / 6 bytes Specification: 1.1Environmental ConditionsOperating: –20 °C to +55 °C (–4 °F to +131°F)Storage: –20 °C to +80 °C (–4 °F to +176 °F)Environmental Rating 3IEC IP67, IEC IP69Vibration and Mechanical Shock EN 60947-5-2Required Overcurrent ProtectionWARNING: Electrical connections must be made by qualified personnel in accordance with local and national electrical codes and regulations.Overcurrent protection is required to be provided by end product application per the supplied table.Overcurrent protection may be provided with external fusing or via Current Limiting, Class 2 Power Supply.Supply wiring leads < 24 AWG shall not be spliced.For additional product support, go to .4.1 DimensionsAll measurements are listed in millimeters, unless noted otherwise.5 Accessories 5.1 Cordsets5.2 BracketsAll measurements are listed in millimeters, unless noted otherwise.6 Banner Engineering Corp. Limited WarrantyBanner Engineering Corp. warrants its products to be free from defects in material and workmanship for one year following the date of shipment. Banner Engineering Corp. will repair or replace, free of charge, any product of its manufacture which, at the time it is returned to the factory, is found to have been defective during the warranty period. This warranty does not cover damage or liability for misuse, abuse, or the improper application or installation of the Banner product.THIS LIMITED WARRANTY IS EXCLUSIVE AND IN LIEU OF ALL OTHER WARRANTIES WHETHER EXPRESS OR IMPLIED (INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE), AND WHETHER ARISING UNDER COURSE OF PERFORMANCE, COURSE OF DEALING OR TRADE USAGE.This Warranty is exclusive and limited to repair or, at the discretion of Banner Engineering Corp., replacement. IN NO EVENT SHALL BANNER ENGINEERING CORP. BE LIABLE TO BUYER OR ANY OTHER PERSON OR ENTITY FOR ANY EXTRA COSTS, EXPENSES, LOSSES, LOSS OF PROFITS, OR ANY INCIDENTAL, CONSEQUENTIAL OR SPECIAL DAMAGES RESULTING FROM ANY PRODUCT DEFECT OR FROM THE USE OR INABILITY TO USE THE PRODUCT, WHETHER ARISING IN CONTRACT OR WARRANTY, STATUTE, TORT, STRICT LIABILITY, NEGLIGENCE, OR OTHERWISE.Banner Engineering Corp. reserves the right to change, modify or improve the design of the product without assuming any obligations or liabilities relating to any product previously manufactured by Banner Engineering Corp. Any misuse, abuse, or improper application or installation of this product or use of the product for personal protection applications when the product is identified as not intended for such purposes will void the product warranty. Any modifications to this product without prior express approval by Banner Engineering Corp will void the product warranties. All specifications published in this document are subject to change; Banner reserves the right to modify product specifications or update documentation at any time. Specifications and product information in English supersede that which is provided in any other language. For the most recent version of any documentation, refer to: .For patent information, see /patents.。

TCS34725 Color Sensor 用户手册说明书

TCS34725 Color Sensor 用户手册说明书

TCS34725 Color Sensor用户手册产品概述本模块是ams AG 的TCS34725FN彩色光数字转换器为核心的颜色传感器,传感器提供红色,绿色,蓝色(RGB)和清晰光感应值的数字输出。

集成红外阻挡滤光片可最大限度地减少入射光的红外光谱成分,并可精确地进行颜色测量。

具有高灵敏度,宽动态范围和红外阻隔滤波器。

最小化IR和UV光谱分量效应,以产生准确的颜色测量。

并且带有环境光强检测和可屏蔽中断。

通过I2C接口通信。

产品参数工作电压: 3.3V/5V控制芯片TCS34725FN逻辑电压: 3.3V/5V通信接口:I2C产品尺寸:27X20(mm)接口说明功能引脚描述VCC 3.3V/5V电源正GND 电源地SDA I2C数据输入SCL I2C时钟输入INT 中断输出(开漏输出)LED 发光二极管目录产品概述 (1)产品参数 (1)接口说明 (1)硬件说明 (3)芯片 (3)通信协议 (3)I2C写时序 (3)I2C读时序 (4)I2C地址 (4)使用说明 (5)下载例程 (5)使用 (5)树莓派 (5)STM32 (11)预期效果 (11)Arduino (12)常见问题 (14)硬件说明芯片本产品采用TCS34725为核心,是一款基于IIC总线通信的彩色光数字转换器。

传感器提供红色,绿色,蓝色(RGB)和清晰光感应值的数字输出,带有集成红外阻隔滤波器。

具有高灵敏度,宽动态范围。

可在不同的光照条件下都可以实现准确的色彩和环境光线感应,带有可屏蔽中断。

通信协议从上的得知使用的是I2C通信,I2C 通信,一条数据线,一条时钟线。

I2C 总线在传送数据过程中共有三种类型信号:开始信号、结束信号和应答信号。

开始信号:SCL 为高电平时,SDA 由高电平向低电平跳变,开始传送数据。

结束信号:SCL 为高电平时,SDA 由低电平向高电平跳变,结束传送数据。

应答信号:接收数据的IC 在接收到8bit 数据后,向发送数据的IC 发出特定的低电平脉冲,表示已收到数据I2C写时序首先主机(即树莓派,后面统称为主机)会发送一个开始信号,然后将其I2C 的7 位地址与写操作位组合成8 位的数据发送给从机(即TSL2581 传感器模块,后面统称为从机),从机接收到后会响应一个应答信号,主机此时将命令寄存器地址发送给从机,从机接收到发送响应信号,此时主机发送命令寄存的值,从机回应一个响应信号,直到主机发送一个停止信号,此次I2C 写数据操作结束I2C读时序首先主机会发送一个开始信号,然后将其I2C 的7 位地址与写操作位组合成8 位的数据发送给从机,从机接收到后会响应一个应答信号,主机此时将命令寄存器地址发送给从机,从机接收到发送响应信号,此时主机重新发送一个开始信号,并且将其7 位地址和读操作位组合成8 位的数据发送给从机,从机接收到信号后发送响应信号,再将其寄存器中的值发送给主机,主机端给予响应信号,直到主机端发送停止信号,此次通信结束I2C地址TCS34725的I2C设备地址为0X29TCS34725数据手册第34页注意:0X29这个设备地址是7位的,8位设备地址需要向高位移一位变成0X52使用说明下载例程在官网上找到对应产品,在产品资料打开下载路径,在wiki中下载示例程序:得到解压包并解压,得到如下文件:例程:树莓派BCM2835、WiringPi、python例程、STM32例程、Arduino例程。

欧姆龙E3MCA色彩传感器说明书

欧姆龙E3MCA色彩传感器说明书

欧姆龙E3MC-A色彩传感器(LED式)说明书①谢谢您选择欧姆龙的产品,本手册主要描述了安装和使用本产品的过程中需要注意的问题。

在使用本产品以前,请仔细阅读该产品的相关知识。

方便起见,请将本说明书放在容易拿到的地方。

原产国:日本注意:这是A级产品,在住宅区使用可能会导致无线电干扰,这种情况下使用者最好采取足够的措施去降低干扰。

②安全使用的注意事项(1)不要在有易挥发的液体或者易燃的气体的地方使用(2)如果传感器或者电缆有机械锁定装置,确保在使用前锁定装置已经锁定(3)确保使用时的电流不超过额定电流(4)如果实际的电压超过额定电压,传感器可能会被损坏。

正确使用的注意事项(1)请不要在以下地方使用传感器。

●有较大温度改变的地反●高湿度会导致凝结现象的地方●有剧烈震动的地方(2)布线●在连接传感器的线周围,不要布置任何电线或者高压线。

●确保每个终端的极性是正确的(3)整洁●请不要在传感器上使用涂料稀释剂■注意事项:1.连接在同一个管道里面,不要同时放置传感器的连接线和电线或者高压线,否者传感器会损坏或者因为电磁感应出现功能故障或者被损坏。

确保和传感器连接的线安装在专门的防护管道里,需要和电源线,高压线或电线分开。

2.延长线可以使用延长线,最细为0.3平方毫米,最长为100米3.外来光线干扰不要在室外或者其他有外来光线的地方使用传感器。

4.电源如果使用标准的开关式稳压器连接传感器,确保其“FG(外壳接地)”和“G(接地)”的接头是接地的。

如果不接地,转换开关在转换时造成的干扰可能会使传感器工作时出现问题。

-------------------------------------------------------------- ③5.注意防水不要在以下的情况下使用该传感器:雨中,水里或者普通色室外6.操作保护罩在安装操作保护罩时,确保螺丝钉旋紧扭矩在0.2-0.3牛·米,否则,传感器将不防水。

搬运机器人专用传感器颜色传感器操作说明

搬运机器人专用传感器颜色传感器操作说明
其镜头内的探测器阵列,每个红色、绿色或蓝色的过滤器均匀地分布在整个阵列上,以消除颜色之间 的位置偏差。器件内部振荡器产生一个方波输出,其频率为所选颜色的强度成正比。
特点
Ø 传感器提供了一个 RGB颜 色组件作为数字频率读数
Ø 板载白平衡 LED,可以开 启或关闭环境光线的衰减
Ø 包含 5.6mm镜头,可以微 调聚焦点
//定时时间等于 12 时退出 while(----); //关中断 0 //停止定时器 0 定时 //外部中断计数红色光脉冲个数
//关闭定时计数器,只为显示 printf("R%3.3d",red); printf(" G%3.3d",green); printf(" B%3.3d\n",blue); delay_nms(100); GICR|=_BV(INT0); TCCR0 = 0x3; } return 0; }
长沙市科彩电子科技有限公司 长沙市开福区五一大道 202南栋 B座 621
TEL:0731-84252006
技术支持:13975851837
硬件说明
S0、S1用于选择输出比例因子或电源判断模式;S2、S3用于选择滤波器的类型;OE是频率输出使能引脚, 可以控制输出的状态,当有多个芯片引脚公用 MCU的输入引脚时,也可以作为片选信号;OUT是频率输出引脚, GND是芯片的接地引脚,VDD为芯片供电,5V为恒流源电路供电。下表是 S0、S1和 S2、S3的可用组合。
// PB0-s2 设置为输出 // PB1-s3 设置为输出
// PD4-LED 设置为输出
//串口初始化 //测试 led //延时等待串口调试工具 //打开 led
技术支持:13975851837

颜色传感器使用手册

颜色传感器使用手册
下面简要介绍TCS230芯片各个引脚的功能及它的一些组合选项。
S0、S1用于选择输出比例因子或电源关断模式;S2、S3用于选择滤波器的类型;OE反是频率输出使能引脚,可以控制输出的状态,当有多个芯片引脚共用微处理器的输出引脚时,也可以作为片选信号,OUT是频率输出引脚,GND是芯片的接地引脚,VCC为芯片提供工作电压,表1是S0、S1及S2、S3的可用组合。
作者:zhangxinchunleo
网站:
淘宝店:汇诚科技
【声明】此程序仅用于学习与参考,引用请注明版权和作者信息!
*********************************************************************/
当TCS230识别颜色时,就用这3个参数对所测颜色的R、G和B进行调整。这里有两种方法来计算调整参数:1、依次选通三颜色的滤波器,然后对TCS230的输出脉冲依次进行计数。当计数到255时停止计数,分别计算每个通道所用的时间,这些时间对应于实际测试时TCS230每种滤波器所采用的时间基准,在这段时间内所测得的脉冲数就是所对应的R、G和B的值。2、设置定时器为一固定时间(例如10ms),然后选通三种颜色的滤波器,计算这段时间内TCS230的输出脉冲数,计算出一个比例因子,通过这个比例因子可以把这些脉冲数变为255。在实际测试时,室外同样的时间进行计数,把测得的脉冲数再乘以求得的比例因子,然后就可以得到所对应的R寸:长34mmX宽26mmX高10mm
二、主要芯片:TCS230
三、工作电压:直流5V
四、输出频率电压0~5V
五、特点:
1、所有的引脚全部引出
2、输出占空比50%
3、采用高亮白色LED灯反射光
4、可直接和单片机连接

色标传感器说明书

色标传感器说明书

色标传感器说明书
色标传感器说明书
一、产品概述
色标传感器是一种光电转换设备,在光照条件下可以实现对物体颜色的识别。

本产品采用数字化设计和集成化制造,具有高精度、高稳定性、高速度等特点。

二、产品特点
1. 采用高精度的光电传感器,可实现对颜色的精准识别。

2. 内置高速数字信号处理器,支持多种数据传输方式。

3. 具有自动校正和自适应能力,能够适应复杂的环境。

4. 运行稳定,可靠性高,可长时间连续工作。

三、使用方法
1. 在使用前,需将传感器与控制器进行连接。

2. 将传感器放置在需要检测的物品或颜色上,并保持一定的距离。

3. 打开控制器的电源,并设置好识别参数。

4. 开始使用,可以实现对物品颜色的精准识别和输出信号的控制。

四、注意事项
1. 传感器不可受到强烈的光照和振动。

2. 不要在高温、潮湿、腐蚀性气体等环境下使用。

3. 使用前请阅读说明书,遵循正确的使用方法和操作规范。

4. 开机前,请检查电源电压是否符合要求。

五、技术参数
1. 识别精度:±0.5%;
2. 工作距离:30mm~150mm;
3. 输出信号:数字信号;
4. 数据传输方式:RS485;
5. 工作电压:DC12V;
6. 工作温度:-20℃~60℃;
7. 工作湿度:10%~90%RH。

备注:本产品与网络、电话无关,如需更多详情,请参考生产厂家提供的其他资料。

SICK CHINA CVS1 Easy 颜色视觉传感器操作手册说明书

SICK CHINA CVS1 Easy 颜色视觉传感器操作手册说明书

CVS1 EasySENSICK颜色视觉传感器操作手册(软件版本1.0)1.安全须知z在使用产品前,请仔细阅读操作说明.z CVS1 Easy的安装、调试和操作工作应该由受过培训的人员来完成z调试CVS1 Easy之前,请确保该传感器没有受潮和污垢z CVS1 Easy不属于EU Machine Guidelines定义的安全产品1.1.正确使用CVS1 Easy是一种视觉电子传感器,用来检测图像范围内被选择颜色是否存在。

该产品不能用在有爆炸危险的环境中。

2.安装安装CVS1 Easy时,请确保倾斜5度到45度来避免内置光源的反射光干扰(看图1).目标物体图1:工作距离和倾斜角度在工作距离内, 目标物体和CVS1 Easy前端的距离尽可能的短. 两者之间的距离越长, 环境光就越有可能影响检测效果. 如果需要, 可使用外部光源来减少外部光的干扰. 在使用中, 应避免直接的阳光或环境光干扰.3.功能CVS1 Easy计算在视野范围内被选择颜色的像素总和,并且当总和超过被示教的阈值时就会有信号输出。

4.设置和操作可以用传感器背面的键盘或者外部显示器CVSM-1(附件)来进行参数设置.4.1.LCD显示屏幕上的图像类型在运行模式下,按VIEW键,可以选择在LCD屏幕上的图像显示类型。

利用这些视图来调整CVS1 Easy到合适的位置并且查看当前颜色是否要检测的颜色。

B图2:在RUN模式下,图像视图中(D,F,2)的含义D….实时图像F…. 颜色增强图像2….只显示被检测的颜色4.2.屏幕参数描述1.模式: RUN , TEACHING , PARAMETER2.图像类型: F , 23.TEACH-IN的颜色 : 最黑的 , 最亮的4.颜色条 : 绿色= OK , 红色= NOT OK5.BANK序号 : 0 – 76.当前像素总和 : 绿色 = OK , 红色 = NOT OK7.最小像素总和 / 最低阈值8.SW1 = 当前安装的软件版本1.09.响应时间 ( 10倍 , 毫秒) TM 390 = 39.0 ms4.3.TEACH过程TEACH-IN•按TEACH/EXIT >3s•先TEACHING, 再缩放?•UP – DOWN 来进行( 0 – 19 ) 缩放•确认缩放区后, 按SET < 3s, 开始自动颜色分析•显示区显示一个颜色条, 关于所有被检测颜色, 如果改变参数, 会进行新的颜色分析•如果颜色太暗可以双倍快门时间•光泽表面可以减半快门时间•颜色差异微小的话, 可使用高分辨率•检测黑色物体•通过UP – DOWN 选择一种颜色, 按SET < 3s, 确认Teach-in•如果颜色条里没有想要检测的颜色, 可以通过 UP – DOWN改变快门时间, 分辨率, 或黑物体检测等•确认模式后, 按SET < 3s, 开始新的颜色分析•按EXIT <3s, 退回上一级菜单定义颜色参数值•选择好颜色后, 参数COLOR%, AREA LO , BANK, 将会被定义•通过UP – DOWN 来调整数值, 通过按SET <3s 来确认设置•做好TEACH-IN, 转换到RUN模式即可5.CVS1 Easy的特殊功能z最大可以存储8个参数组在BANK中,BANK的选择可以通过手动方式或者外部数字通道开关输入方式.z可以通过外部触发信号使CVS1 Easy同步.z可以减少FOV/ROI.z可以使用恢复出厂设置功能.6.电气连接图7.参数说明•AREA LO : 0 – 9999, 颜色像素总和的面积下限•BANK: 0-7 用于指定TEACH-IN的存储BANK或者选择已存储的BANK, 如果用于TEACH-IN后, 外部的BANK转换输入被禁止8 允许外部BANK转换输入, 进行BANK选择•BANK COPY : 把当前BANK的所有设置COPY到目标BANK, 当进行BANKCOPY 时, 将会停止图像处理和信号输出•COLOR% : 用于TEACH-IN期间, 设置被测颜色的色差范围 ( 精确调整颜色 ) •INITIAL : YES / NO , 恢复出厂设置•LIGHT: 0 – 集成光源关闭, 外部光源常亮或由触发控制; 1 – 集成光源和外部光源常亮或由触发控制•OFF DELAY : 0 – 5000 输出保持高电平的延迟时间•ON DELAY : 0 – 5000 输出保持低电平的延迟时间•ONE SHOT: 0 – 标准;1 – 如果结果从NOT OK 到OK, 输出保持高电平约OFF DELAY时间•OUTSIDE : 设置黑色线的输出信号; 0 – 标准; 1 – 反向•SYNCHRO: 0 – 4; 设置同步信号的功能0 : 输入低时, 连续采集 1 : 下降沿, 采集一次2 : 输入高时, 连续采集3 : 上升沿, 采集一次4 : 自由运行8.附件•CVSM-1 外部显示器, 带键盘•CVSL-S5 外部光源, 12颗白色LED•DSL-SH06-G03M 扩展线3m, CVSM-1用, 最多连接4根(15m)•BEF-AP-CVS, 2033267, 安装盘带M6螺丝9.维护:•在镜头侧的任何刮伤或标记都有可能会削弱CVS1 Easy的光学性能, 应避免这类行为, 保护镜头•CVS1 Easy是免维护产品, 如果需要, 可用温和的水对光源前端进行清洁, 不可含有粉末添加剂。

JHL3200颜色传感器数据手册

JHL3200颜色传感器数据手册

性能特点:● 输入光强度转换成频率输出 ● 可编程检测红、绿、蓝三基色分量 ● 可编程确定满量程输出频率 ● 直接连接单片机● 非线性误差(50kHz )0.2% ● 温度漂移200ppm /℃ ● 电源电压2.7V-5.5V● 掉电模式,电源电流仅0.1μA ● FC 标准光纤接头输入检测光 ● 配套带聚焦光源的光检测头 ● 方便用户灵活设计仪器结构原理描述:JHL3200通过FC 标准光纤接头连接光纤,传送检测光到光敏二极管矩阵,将光电流转换成占空比为50%的方波输出,方波频率与光强度成正比。

通过两个输入控制引脚,可以预设三种满量程输出频率。

输入和输出引脚的逻辑电平为TTL 电平,与单片机逻辑电平相兼容,因此可以直接连接单片机,而不必进行电平转换。

有一个使能(OE )引脚,控制芯片的输出引脚为高阻抗状态,从而能够和其它单元共用单片机的输入端口。

检测光窗为8*8的光敏二极管矩阵,每个光敏二极管的尺寸为110μm *110μm ,光敏二极管之间的距离为134μm 。

其中16个光敏二极管带有蓝色滤光片,16个光敏二极管带有红色滤光片,16光敏二极管带有绿色滤光片,还有16个光敏二极管无滤光。

四种检测不同颜色的光电二极管交叉排列,使其能够均匀地受到光辐射。

所有检测相同颜色的光敏二极管并联连接,提高光灵敏度。

控制引脚S2和S3用于选择激活检测某种颜色(红、绿、蓝、无色)的光敏二极管。

功能框图:引脚功能:表1:输出满量程频率选择表2:检测颜色选择室温条件下工作参数最大值:电源电压,V DD (6V)输入引脚电压,VI………………………………………….………..…-0.3V to V DD+0.3V 自然通风条件下工作温度范围,T A………………………………………-40℃ to 85℃存储温度范围,T A…………………………………………………………-40℃ to 85℃焊接最大温度………………………………………………………………..………..280℃注意:1、所有电压值以GND为参考。

颜色传感器使用说明

颜色传感器使用说明

颜色传感器模块有两种工作模式:一种是检测不同的颜色,另一种是测量光的强度。

使用两种模式为一个分支模块,等待模块或者循环模块产生一个真/假逻辑信号。

颜色传感器模式•号码显示了哪个NXT端口将连接至颜色传感器。

如果需要,可在配置面板中更改此号码。

•此图标显示颜色传感器模式•将模块放置于工作区域时,模块数据中心将自动打开。

必须至少将一条数据线从模块的输出接头连接至另一模块的数据中心。

(有关更多信息,请参见以下“数据中心”部分。

)在配置面板中使用下拉菜单选择“在范围内”,产生“真”信号;选择“在范围外”,产生“假”信号。

颜色传感器模块默认设置为“在范围内”、检测黄色。

检测到黄色会产生“真”信号,检测到其他颜色,会产生“假”信号。

在颜色传感器模式下,在配置面板内的反馈框显示的是当前检测到的颜色。

(接收返回值前,要确认传感器已连接到所选端口,并与NXT建立起通讯)颜色传感器模式下的配置•选择颜色传感器插入的端口。

默认情况下,模块会将端口3设置给颜色传感器。

如果需要,可更改此选择。

•下拉菜单可以让你选择颜色传感器模式或者光传感器模式。

选择‘Color Sensor’可检测不同的颜色。

•使用下拉菜单选择“Inside Range”或“Outside Range”。

如果你想颜色出发点在范围之内就选择“Inside Range”,如果想颜色触发点在范围之外就选择“”•是用左,右滑块来定义颜色范围的触发值:黑,蓝,绿,黄,红和白。

光传感器模式•号码显示了哪个NXT端口将连接至颜色传感器。

如果需要,可在配置面板中更改此号码。

•此图标显示了光传感器模式,在“功能”中选择光的颜色:红、绿或蓝。

•此图标表示设置触发点的强度。

显示的彩色条越多,触发点就越高。

•将模块放置于工作区域时,模块数据中心将自动打开。

必须至少将一条数据线从模块的输出接头连接至另一模块的数据中心。

(有关更多信息,请参见以下“数据中心”部分。

)可使用滑块或在输入框中键入值来指定触发点。

KC91 颜色标记传感器 说明书

KC91 颜色标记传感器 说明书

** KC91 COLOR MARK SENSORBLUE KEY GRAY KEY3 DIGIT DISPLAY#1 : Output type →NO : o, NC : c #2 : Key locking→KEY LOCK ON : C, KEY LOCK OFF : F #3 : Output signal→Output on : O, Output off : -1. GRAY KEY-Color Balance ( will change to SET MODE ) 2. BLUE KEY-Color teaching3. GRAY KEY + BLUE KEY -Release key lock mode-Parameter setting confirm* Key configuration•Normal mode display indication#1 #2#3NO , Key Lock off, Output off (Factory setting value )WIRING DIAGRAM** Color teaching method1. Install the sensor and fix at 9mm distance from target color.2. Press ‘BLUE KEY’ 3 sec until indicating ‘tch’.3. If teaching is done, display shall indicate status of sensor.BLUE KEY 3secColor teaching guide•Please check it is can distinguish background and target color when color teaching is done.•If you detection glossy object, Mount the sensor at an angle of 10°to 20°,as following diagrams•If you adjust color balance in balancing mode, you shall need to teach color again.•When you have done the teaching, key locking is recommended to prevent in case of changing teaching values by event of push keys.Flickering 3 times10-20* Teaching parameter settingGRAY KEY•Change setting mode by GRAY KEY + BLUE KEY. •Factory check mode is used for factory only. It is recommended to not use by end users.•If you don’t press the key in 5 sec, SET model shall be return to normal display mode.GRAY KEYKey lock ON / OFF Output NO/NCFactory checkFactory reset ( Not for sample model ) 1.Press GRAY KEY until display change to ‘SEt’ for 5sec.Flickering 3 timesBLUE KEY1. KEY LOCK SETTING1. Key lock on 1) Get into ‘SEt’mode and change to ‘LFF’ by GRAY KEY input 1 time. 2) Change display from ‘Lon’ to ‘LFF’ by BLUE KEY input and press ‘BLUE and GRAY Keys for 1.5 sec to confirm the Key Lock setting.3) Display shall shows ‘Loc’ when you push the keys after Key lock setting.BLUE KEY BLUE KEYGRAY KEYBLUE KEYGRAY KEYKey Lock Release Key Lock BLUE KEY GRAY KEYGRAY KEYBLUE KEYGRAY KEYPress 1.5 sec.2. Release key lock1) Please BLUE and GARY keys for 4 sec until ‘Set’ is indicated.2) Press ‘GRAY KEY’ tochange from ‘SEt’ to ‘Lon’ and press ‘BLUE KEY’ to change display from ‘Lon’ to ‘LFF’, 3) Press GRAY and BLUE keys for 1.5sec to confirm releasing key lock.And process is done ‘LFF’ is flickering 3 times andchange to normal mode.Press 4secPress 1.5 sec.1.Press GRAY KEY till ‘BAL’ is displayed.2.Place non-shining white paper or background color*at the same position of teaching color.3.Once color balance is done ‘BAL’ is flicking 3 times and return to normal mode. •If you have variety color on background ofteachig color, you shall place non-shining white paper. And if the background color is only one, you shall set the color balance on background directly.•Caution to set color balance :•KC91 has got default color balance value from factory•But if you are facing some difficult of distinguish color between background and teaching color, you shall try color balance setting to apply circumstance of teaching color to operation algorithm.•Also color balance value is not set correctly KC91 shall not operate as its own purpose. So please pay attention direction of manual when you set the color balance. •You shall return to default color balance value by factory reset funtion.GRAY KEY2. Color balance3. OUTPUT NO/NC1.Press ‘GRAY KEY’ 3 times till ‘nO’ or ‘ nc’ is displayed.2.Press ‘BLUE KEY’ to change mode ‘nc’ or ‘nO’ and press BLUE and GRAY keys for 1.5 sec to confirm the changed output mode. Once setting is done ‘nc’ or ‘nO’ is flicking 3 times and return to normal mode.BLUE KEYBLUE KEYGRAY KEY BLUE KEYGRAY KEYNO output mode. NC output modeGRAY KEYOutput mode :nO : Release a output signal for teaching color.It is a factory default setting value.nC : It is reverse signal of nO.It release output signal forbackground of teaching color.Press ‘GRAY KEY’ 3 times4. Factory Reset ( not for sample products)1.Press ‘GRAY KEY’ 4 times till ‘rEt’ is displayed.2.Press 2 key for 1.5sec to confirm factory reset3.Once factory reset is done, ‘rEt’ is flicking 3 times andreturn to normal mode.BLUE KEYGRAY KEYGRAY KEY* Factory reset parameter 1. Key lock : Release 2. Color balance : default 3. Output : ‘nO’ output4. Teaching color : No teaching value。

FT 50 C 颜色传感器说明书

FT 50 C 颜色传感器说明书

COLOUR SENSOR FT 50 C The winner of the Baden-WürttembergPrize for Innovation excels due toits compactness and excellent colourselectivity.FT 50 C>T each-in of single colours orscanning of colour ranges>S torage of reference colours inteach-in mode, either by pressinga key on the sensor or via anexternal input cable>H igh colour selectivity,insensitive to fluctuatingscanning distances>C olour selectivity can be adjustedseparately for each colour>T hree different sized light spotsavailable>F T 50 C standard: 3 separatecolour channels and signal outputsfor separation of objects.All-purpose,compact device for on-line colour detection in industrial sequences and processes.Light spotsIn order to cover as many application possi-bilities as possible,the FT 50 C is available withthree different sized light spots:Ø 4 mm (at scanning distance 22 mm)KeypadAll the sensor settings can be carried outusing 2 keys.7 LEDs provide a visual aid during teach-inand provide information on the signal statusof the outputs.Scan functionWith inhomogeneous colour surfaces,coloursequences can be scanned and stored usingthe scan function.Colours within the scannedcolour spectrum are subsequently detected.FT 50 CFT 50 C ... S1FT 50 C-I: ø 4 mmFT 50 C-2: 2 x 2 mmFT 50 C-3: 1 x 5 mm+/- 6 mm (factory setting)+/- 5 mm (factory setting)+/- 2 mm (factory setting)T olerance rangesThe detection window can be adjusted bysetting the colour selectivity.T ol 1The FT 50 C ... S1 barely differs from the standard model in appearance, but has an integrated RS485 interface and other additional functions.COLOUR SENSOR FT 50 C ... S1WITH SERIAL INTERFACEFT 50 C-S> W ith switching output, controlinput and bus-compatible RS485 interface > I nterface enables transmissionof colour channel or colour value as well as reading, modification and storage of sensor parameters > R eference colours can be addedor the colour range extended in up to 4 steps > C olour and grey selectivity canbe adjusted separately for every colourAny number of colours can be taught-in via the interface and stored in the control system in the form of colour vectors (data string with reference value incl.tolerances) and recalled later.ber of colours can be taught-in via the interface and stored in tPC-based softwareA combination of serial interface and PC software also makes it possible to control the entire scope of sensor functions from the PC. Interactive settings are possible and sensors can be easily adjusted to the respective appli-cation. Colour samples can also be stored after teach-in and reloaded again when required. Renewed teach-in is not necessary. The latest software version can be found on the Internet under .Colour scanInhomogeneous colour surfaces canbe taught-in (scanned) with the aid of the integrated scan or scanplus function.If a large colour range is scanned and allocated to a single channel, the sensor switches at every colour in the created colour spectrum (figure 1).Improved selectivity is achieved with the scanplus function which can split this range into several parts (figure 2).12FT 50 C-... Montage- und Bedienungsanleitung / Mounting and operating instructions / Instructions de service et de montage03.04.2007-02068-13491Ces appareils de détection optiques ne peu-vent pas être utilisés pour des applications de sécurité des personnes.These Proximity Switches are not suited for safety related applications.Der Einsatz dieser Geräte in Anwendungen, wo die Sicherheit von Personen von der Gerätefunktion abhängt, ist nicht zulässig.FT 50 C-... Montage- und Bedienungsanleitung / Mounting and operating instructions / Instructions de service et de montage03.04.2007-02068-13491。

Parallax ColorPAL 颜色传感器说明书

Parallax ColorPAL 颜色传感器说明书

Parallax ColorPALColorPAL side view.OverviewThe ColorPAL from Parallax is a miniature color and light sensor that can double as a color generator with its RGB LED. When sensing color, the ColorPAL uses its LED to illuminate a sample one color component at a time while measuring the light reflected back with a broad-spectrum light-to-voltage converter. The amount of light reflected from the sample under illumination from each red, green, and blue LED can be used to determine the sample’s color. For the ColorPAL to detect the color of a subject, the subject must be reflective and non-fluorescent. The color of objects that emit light (e.g. LEDs) cannot be detected.FeaturesDetects a wide range of colors and outputs data as 10-bit RGB (Red/Green/Blue) components.Detects broad-spectrum ambient light with sensitivity down to 44µW/cm2 per lsb.Generates 24-bit color using onboard RGB LED.Plugs into servo headers or cables or solderless breadboards.Single-pin interface uses a simple serial protocol to define and initiate color detection and generation.Color detection and generation details handled by onboard microcontroller.Onboard EEPROM for saving custom color detection and generation programs.Autorun feature permits running a pre-designated EEPROM program with only a power supply.SpecificationsPower requirements: 5.0 VDCCommunication: 1-wire serial (asynchronous, non-inverted, open-drain serial protocol) with automatic baud rate detection from 2400 – 7200 bpsDimensions: 1.72 × 0.90 × 0.65 in (44 × 23 × 17 mm)CommunicationCommunication with the ColorPAL takes place using serial I/O, transmitting and receiving at between 2400 and 7200 baud, using a non-inverted, open-drain protocol. The ColorPAL includes a pull-up resistor to Vdd, so you do not need to apply one externally. Because of the open-drain protocol, the pin used to communicate with the ColorPAL should always be configured as an input, except when being driven low. Also, when starting up, you should wait for this pin to be pulled high by the ColorPAL before trying to send it any commands. Please see the user’s manual (297k pdf) for more information.Documentation on producer website.。

TCS3200颜色传感器使用说明

TCS3200颜色传感器使用说明

---TAOS TCS3200RGB TCS3200颜色传感器是一款全彩的颜色检测器,包括了一块能在一定的范围内检测和测量几乎所有的LED灯,TCS3200感应芯片和4个白光可见光。

它适合于色度计测量应用领域。

比如彩色打印、医疗诊断、计算机彩色监视器校准以及油漆、纺织品、化妆品和印刷材料的过程控制。

)(日光通常所看到的物体颜色,实际上是物体表面吸收了照射到它上面的白光中的一部分有色成分,而反射出的另一部分有色光在人眼中的反应。

白色是由各种如红频率的可见光混合在一起构成的,也就是说白光中包含着各种颜色的色光(的三(Helinholtz)B、紫P)。

根据德国物理学家赫姆霍兹、黄RY、绿G、青V、蓝混合而成的。

)原色理论可知,各种颜色是由不同比例的三原色(红、绿、蓝由上面的三原色感应原理可知,如果知道构成各种颜色的三原色的值,就能够来说,当选定一个颜色滤波器时,它只知道所测试物体的颜色。

对于TCS3200D 允许某种特定的原色通过,阻止其它原色的通过。

例如:当选择红色滤波器时,入射光中只有红色可以通过,蓝色和绿色都被阻止,这样就可以得到红色光的光强;同理,选择其它的滤波器,就可以得到蓝色光和绿色光的光强。

通过这三个光强传感器上的光的颜色。

值,就可以分析出反射到TCS3200D的高低S34种滤光器,可以通过其引脚S2和传感器有红绿蓝和清除TCS3200D电平来选择滤波器模式,如下图。

有可编程的彩色光到电信号频率的转换器,当被测物体反射光的TCS3200D 感应芯片时,TAOS TCS3200RGB红、绿、蓝三色光线分别透过相应滤波器到达其内置的振荡器会输出方波,方波频率与所感应的光强成比例关系,光线越强,内引脚,它输出信号的频率置的振荡器方波频率越高。

TCS3200传感器有一个OUT的高S1S0与内置振荡器的频率也成比例关系,它们的比率因子可以靠其引脚和低电平来选择,如下图。

------引脚输出信号频率与其内置振荡器OUTTCS3200 传感器这个测试实验,我把引脚输出信OUT2%,有了输出频率比例因子,但是如何通过频率比率因子设为颜色值呢?这还需进行白平衡号频率来换算出被测物体由三原色光强组成的RGB比例因子才行!校正来得到RGB颜色传感器之下,两者相白平衡校正方法是:把一个白色物体放置在TCS3200 控制器的定时器设ArduinoLED4个白光灯,用距10mm左右,点亮传感器上的,然后选通三原色的滤波器,让被测物体反射光中红、绿、蓝三1s置一固定时间输出信OUTTCS3200传感器1s色光分别通过滤波器,计算时间内三色光对应的号脉冲数(单位时间的脉冲数包含了输出信号的频率信息),再通过正比算式得到比与三色光脉冲数的比例因子。

色标传感器使用说明书

色标传感器使用说明书

色标传感器使用说明书产品部件说明:输出电路:NPN 型号PNP 型号安装方法:* 安装在DIN 轨道上1、将主机底部的卡槽与轨道对齐。

按箭头 1 的方向推动主机的同时使其往箭头 2 的方向倾斜。

2、拆卸传感器的方法是,在朝箭头 1 的方向推动主机的同时,朝箭头 3 的方向提升主机。

* 安装到墙壁上(仅适用于主模块)将模块放到选配的安装架上,将其安装到一起,并使用两个 M3 螺钉固定住,连接光纤模块1, 按箭头 1 所示的方向开启防尘盖。

2, 按箭头 2 所示的方向往下移光纤锁杆。

3, 将光纤模块记号上标记的长度插入光纤孔。

4, 按箭头 4 所示的方向往下移光纤锁杆。

5, 如果使用较薄的光纤模块,则需要使用随其提供的转接器。

6, 如果没有连接正确的转接器,则薄型光纤模块将不能正确地检测目标物。

(转接器随光纤模块提供。

)7, 若将同轴反光型光纤模块连接到放大器上,应将单芯光纤连接到发射器侧而将多芯光纤连接到接收器侧。

设置灵敏度* MARK 模式下两点校准:1,在光纤头前方没有放置任何工件时,按 SET(设置)按钮(按键时间不超过 2 秒).2,将一个工件放置在光纤前方,按 SET(设置)按钮(按键时间不超过 2 秒).两个步骤测出的数值以及 RGB 检测通道会显示在屏幕上并自动记忆储存.* C 或 CI 模式下的校准自学习:把光纤对准需要检测的颜色,按下一次 SET 就可以了,传感器会自动记录当前的颜色匹配值及光亮值,作为正常工作时的判断标准.MATK 是普通的色标检测模式,放大器会选择 RGB 通道中的一个作为判断通道。

C 模式时通用的颜色匹配检测模式,千分之一千表示颜色完全相同,一般认为千分之 900 就是一种颜色。

CI 是颜色+光亮值模式,用来精确检测物体的颜色以及物体的光亮值。

千分之 1000 表示完全相同。

C 模式下物体在光纤前面晃动也可以正常检测,CI 模式下,物体在光纤前面有任何晃动都会造成信号值急剧减小,从而传感器认为 CI 不匹配。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

【产品展示图片】
引脚说明
1、S0
2、S1
3、OE
4、GND
5、VCC
6、OUT
7、S2
8、S3
简要说明
一、尺寸:长34mmX宽26mmX高10mm
二、主要芯片:TCS230
三、工作电压:直流5V
四、输出频率电压0~5V
五、特点:
1、所有的引脚全部引出
2、输出占空比50%
3、采用高亮白色LED灯反射光
4、可直接和单片机连接
5、静态检测被测物颜色
6、检测距离10mm最佳
操作说明请参看我们的优酷视频:/龙戈电子
适用场合:单片机学习、电子竞赛、产品开发、毕业设计等等附录:
颜色传感器TCS230及颜色识别电路
随着现代工业生产向高速化、自动化方向的发展,生产过程中长期以来由人眼起主导作用的颜色识别工作将越来越多地被相应的颜色传感器所替代。

例如:图书馆使用颜色区分对文献进行分类,能够极大地提高排架管理和统计等工作;在包装行业,产生包装利用不同的颜色和装潢来表示其不同的性质或用途。

目前的颜色传感器通常是在独立的光电二极管上覆盖经过修正的红、绿、蓝滤波片,然后对输出信号进行相应的处理,才能将颜色信号识别出来;有的将两者集合起来,但是输出模拟信号,需要一个A/D电路进行采集,对该信号进一步处理,才能进行识别,增加了电路的复杂性,并且存在较大的识别误差,影响了识别的效果。

TAOS(Texas Advanced Optoelectronic Solutions)公司最新推出的颜色传感器TCS230,不仅能够实现颜色的识别与检测,与以前的颜色传感器相比,还具有许多优良的新特性。

1 .TCS230芯片的结构框图与特点:
TCS230是TAOS公司推出的可编程彩色光到频率的转换器,它把可配置的硅光电二极管与电流频率转换器集成在一个单一的CMOS电路上,同时在单一芯片上集成了红绿蓝(RGB)三种滤光器,是业界第一个有数字兼容接口的RGB彩色传感器,TCS230的输出信号是数字量,可以驱动标准的TTL或CMOS逻辑输入,因此可直接与微处理器或其他逻辑电路相连接,由于输出的是数字量,并且能够实现每个彩色信道10位以上的转换精度,因而不再需要A/D转换电路,使电路变得更简单,图1是TCS230的引脚和功能框图。

图1中,TCS230采用8引脚的SOIC表面贴装式封装,在单一芯片上集成有64个光电二极管,这些二极管分为四种类型,其16个光电二极管带有红色滤波器;16个光电二极管带有绿色滤波器;16个光电二极管带有蓝色滤波器,其余16个不带有任何滤波器,可以透过全部的光信息,这些光电二极管在芯片内是交叉排列的,能够最大限度地减少入射光辐射的不均匀性,从而增加颜色识别的精确度;另一方面,相同颜色的16个光电二极管是并联连接的,均匀分布在二极管阵列中,可以消除颜色的位置误差。

工作时,通过两个可编程的引脚来动态选择所需要的滤波器,该传感器的典型输出频率范围从2Hz-500kHz,用户还可以通过两个可编程引脚来选择100%、20%或2%的输出比例因子,或电源关断模式。

输出比例因子使传感器的输出能够适应不同的测量范围,提高了它的适应能力。

例如,当使用低速的频率计数器时,就可以选择小的定标值,使TCS230的输出频率和计数器相匹配。

从图1可知:当入射光投射到TCS230上时,通过光电二极管控制引脚S2、S3的不同组合,可以选择不同的滤波器;经过电流到频率转换器后输出不同频率的方波(占空比是50%),不同的颜色和光强对应不同频率的方波;还可以通过输出定标控制引脚S0、S1,选择不同的输出比例因子,对输出频率范围进行调整,以适应不同的需求。

下面简要介绍TCS230芯片各个引脚的功能及它的一些组合选项。

S0、S1用于选择输出比例因子或电源关断模式;S2、S3用于选择滤波器的类型;OE反是频率输出使能引脚,可以控制输出的状态,当有多个芯片引脚共用微处理器的输出引脚时,也可以作为片选信号,OUT是频率输出引脚,GND是芯片的接地引脚,VCC为芯片提供工作电压,表1是S0、S1及S2、S3的可用组合。

2 .TCS230识别颜色的原理
由上面的介绍可知,这种可编程的彩色光到频率转换器适合于色度计测量应用领域,如彩色打印、医疗诊断、计算机彩色监视器校准以及油漆、纺织品、化妆品和印刷材料的过程控制和色彩配合。

下面以TCS230在液体颜色识别中的应用为例,介绍它的具体使用。

首先了解一些光与颜色的知识。

(1)三原色的感应原理
通常所看到的物体颜色,实际上是物体表面吸收了照射到它上面的白光(日光)中的一部分有色成分,而反射出的另一部分有色光在人眼中的反应。

白色是由各种频率的可见光混合在一起构成的,也就是说白光中包含着各种颜色的色光(如红R、黄Y、绿G、青V、蓝B、紫P)。

根据德国物理学家赫姆霍兹(Helinholtz)的三原色理论可知,各种颜色是由不同比例的三原色(红、绿、蓝)混合而成的。

(2)TCS230识别颜色的原理
由三原色感应原理可知,如果知道构成各种颜色的三原色的值,就能够知道所测试物体的颜色。

对于TCS230来说,当选定一个颜色滤波器时,它只允许某种特定的原色通过,阻止其他原色的通过。

例如:当选择红色滤波器时,入射光中只有红色可以通过,蓝色和绿色都被阻止,这样就可以得到红色光的光强;同时,选择其他的滤波器,就可以得到蓝色光和绿色光的光强。

通过这三个值,就可以分析投射到TCS230传感器上的光的颜色。

(3)白平衡和颜色识别原理
白平衡就是告诉系统什么是白色。

从理论上讲,白色是由等量的红色、绿色和蓝色混合而成的;但实际上,白色中的三原色并不完全相等,并且对于TCS230的光传感器来说,它对这三种基本色的敏感性是不相同的,导致TCS230的RGB输出并不相等,因此在测试前必须进行白平衡调整,使得TCS230对所检测的"白色"中的三原色是相等的。

进行白平衡调整是为后续的颜色识别作准备。

在本装置中,白平衡调整的具体步骤和方法如下:将空的试管放置在传感器的上方,试管的上方放置一个白色的光源,使入射光能够穿过试管照
射到TCS230上;根据前面所介绍的方法,依次选通红色、绿色和蓝色滤波器,分别测得红色、绿色和蓝色的值,然后就可计算出需要的3个调整参数。

当TCS230识别颜色时,就用这3个参数对所测颜色的R、G和B进行调整。

这里有两种方法来计算调整参数:1、依次选通三颜色的滤波器,然后对TCS230的输出脉冲依次进行计数。

当计数到255时停止计数,分别计算每个通道所用的时间,这些时间对应于实际测试时TCS230每种滤波器所采用的时间基准,在这段时间内所测得的脉冲数就是所对应的R、G和B的值。

2、设置定时器为一固定时间(例如10ms),然后选通三种颜色的滤波器,计算这段时间内TCS230的输出脉冲数,计算出一个比例因子,通过这个比例因子可以把这些脉冲数变为255。

在实际测试时,室外同样的时间进行计数,把测得的脉冲数再乘以求得的比例因子,然后就可以得到所对应的R、G和B的值。

3 应用中需要注意的问题
1、颜色识别时要避免外界光线的干扰,否则会影响颜色识别的结果,最好把传感器、光源等放置在一个密闭、无反射的箱子中进行测试。

2、对光源没有特殊的要求,但是光源发出的光要尽量集中,否则会造成传感器之间的相互干扰。

3、当第1次使用TCS230时,或TCS230识别模块重启、更换光源等情况时,都需要进行白平衡调整。

相关文档
最新文档