參數(shù)資料
型號: TSL2563CS
廠商: TAOS Inc.
英文描述: LOW-VOLTAGE LIGHT-TO-DIGITAL CONVERTER
中文描述: 低壓光到數(shù)字轉換器
文件頁數(shù): 21/38頁
文件大?。?/td> 443K
代理商: TSL2563CS
TSL2562, TSL2563
LOW-VOLTAGE
LIGHT-TO-DIGITAL CONVERTER
TAOS066J
MAY 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
相關PDF資料
PDF描述
TSL2563T LOW-VOLTAGE LIGHT-TO-DIGITAL CONVERTER
TSL257-LF HIGH-SENSITIVITY LIGHT-TO-VOLTAGE CONVERTER
TSL257SM-LF HIGH-SENSITIVITY LIGHT-TO-VOLTAGE CONVERTER
TSL257T HIGH-SENSITIVITY LIGHT-TO-VOLTAGE CONVERTER
TSL257 HIGHSENSITIVITY LIGHTTOVOLTAGE CONVERTER
相關代理商/技術參數(shù)
參數(shù)描述
TSL2563FN 功能描述:光學數(shù)位轉換器 Ambient Light Sensor Light to Digital RoHS:否 制造商:ams 數(shù)據(jù)總線寬度: 峰值波長:470 nm 最大工作頻率: 工作電源電壓: 工作電流: 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:Chipscale-6 封裝:Reel
TSL2563T 功能描述:光學數(shù)位轉換器 Ambient Light Sensor Light to Digital RoHS:否 制造商:ams 數(shù)據(jù)總線寬度: 峰值波長:470 nm 最大工作頻率: 工作電源電壓: 工作電流: 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:Chipscale-6 封裝:Reel
TSL2568 制造商:AMSCO 制造商全稱:austriamicrosystems AG 功能描述:LIGHT-TO-DIGITAL CONVERTER
TSL2569 制造商:AMSCO 制造商全稱:austriamicrosystems AG 功能描述:LIGHT-TO-DIGITAL CONVERTER
TSL2569CS 功能描述:光學數(shù)位轉換器 Light to Digital Sensor RoHS:否 制造商:ams 數(shù)據(jù)總線寬度: 峰值波長:470 nm 最大工作頻率: 工作電源電壓: 工作電流: 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:Chipscale-6 封裝:Reel