參數(shù)資料
型號(hào): TSL2560CS
廠商: TAOS Inc.
英文描述: LIGHT-TO-DIGITAL CONVERTER
中文描述: 光到數(shù)字轉(zhuǎn)換器
文件頁(yè)數(shù): 21/38頁(yè)
文件大?。?/td> 441K
代理商: TSL2560CS
TSL2560, TSL2561
LIGHT-TO-DIGITAL CONVERTER
TAOS059K
APRIL 2007
21
The
LUMENOLOGY
Company
Copyright 2007, TAOS Inc.
www.taosinc.com
APPLICATION INFORMATION: SOFTWARE
The following example pseudo code illustrates the configuration of an SMB Alert style interrupt when the light
intensity changes 20% from the current value, and persists for 3 conversion cycles:
// Read current light level
Address = 0x39
Command = 0xAC
ReadWord (Address, Command, DataLow, DataHigh)
Channel0 = (256 * DataHigh) + DataLow
//Slave addr also 0x29 or 0x49
//Set Command bit and Word bit
//Calculate upper and lower thresholds
T_Upper = Channel0 + (0.2 * Channel0)
T_Lower = Channel0 – (0.2 * Channel0)
//Write the lower threshold register
Command = 0xA2
WriteWord (Address, Command, T_Lower.LoByte, T_Lower.HiByte)
//Addr lower threshold reg, set Word Bit
//Write the upper threshold register
Command = 0xA4
WriteWord (Address, Command, T_Upper.LoByte, T_Upper.HiByte)
//Addr upper threshold reg, set Word bit
//Enable interrupt
Command = 0x86
Data = 0x23
WriteByte(Address, Command, Data)
//Address interrupt register
//SMBAlert style, PERSIST = 3
In order to generate an interrupt on demand during system test or debug, a test mode (INTR = 11) can be used.
The following example illustrates how to generate an interrupt on demand:
// Generate an interrupt
Address = 0x39
Command = 0x86
Data = 0x30
WriteByte(Address, Command, Data)
//Slave addr also 0x29 or 0x49
//Address Interrupt register
//Test interrupt
//Interrupt line should now be low
相關(guān)PDF資料
PDF描述
TSL2560T LIGHT-TO-DIGITAL CONVERTER
TSL2561 LIGHT-TO-DIGITAL CONVERTER
TSL2561CS LIGHT-TO-DIGITAL CONVERTER
TSL2561T LIGHT-TO-DIGITAL CONVERTER
TSL2562 LOW-VOLTAGE LIGHT-TO-DIGITAL CONVERTER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TSL2560EVM 功能描述:光學(xué)傳感器開(kāi)發(fā)工具 Evaluation Module w/USB Interface RoHS:否 制造商:ams 工具用于評(píng)估: 接口類型: 最大工作溫度:
TSL2560FN 功能描述:光學(xué)數(shù)位轉(zhuǎn)換器 Ambient Light Sensor SMBus RoHS:否 制造商:ams 數(shù)據(jù)總線寬度: 峰值波長(zhǎng):470 nm 最大工作頻率: 工作電源電壓: 工作電流: 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:Chipscale-6 封裝:Reel
TSL2560T 功能描述:光學(xué)數(shù)位轉(zhuǎn)換器 Ambient Light Sensor Light to Digital RoHS:否 制造商:ams 數(shù)據(jù)總線寬度: 峰值波長(zhǎng):470 nm 最大工作頻率: 工作電源電壓: 工作電流: 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:Chipscale-6 封裝:Reel
TSL2561 制造商:TAOS 制造商全稱:TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS 功能描述:LIGHT-TO-DIGITAL CONVERTER
TSL2561CL 功能描述:光學(xué)數(shù)位轉(zhuǎn)換器 Ambient Light Sensor Light to Digital RoHS:否 制造商:ams 數(shù)據(jù)總線寬度: 峰值波長(zhǎng):470 nm 最大工作頻率: 工作電源電壓: 工作電流: 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:Chipscale-6 封裝:Reel