| 数据搜索系统,热门电子元器件搜索 |
|
TSL2568CS 数据表(PDF) 37 Page - OSRAM GmbH |
|
|
|||||||||||||||||||||||||||||
TSL2568CS 数据表(HTML) 37 Page - OSRAM GmbH |
|
37 / 56 page ![]() Page 36 ams Datasheet Document Feedback [v1-00] 2016-Apr-12 TSL2568, TSL2569 − Application Information: Software TMB Package For 0 < CH1/CH0 ≤ 0.35 Lux = 0.00763 × CH0 - 0.01031 × CH1 For 0.35 < CH1/CH0 ≤ 0.50 Lux = 0.00817 × CH0 - 0.01188 × CH1 For 0.50 < CH1/CH0 ≤ 0.60 Lux = 0.00723 × CH0 - 0.01000 × CH1 For 0.60 < CH1/CH0 ≤ 0.72 Lux = 0.00573 × CH0 - 0.00750 × CH1 For 0.72 < CH1/CH0 ≤ 0.85 Lux = 0.00216 × CH0 - 0.00254 × CH1 For CH1/CH0 > 0.85 Lux = 0 The formulas shown above were obtained by optical testing with fluorescent and incandescent light sources, and apply only to open-air applications. Optical apertures (e.g. light pipes) will affect the incident light on the device. Simplified Lux Calculation Below is the argument and return value including source code (shown on following page) for calculating lux. The source code is intended for embedded and/or microcontroller applications. Two individual code sets are provided, one for the chipscale package and one for the TMB package. All floating point arithmetic operations have been eliminated since embedded controllers and microcontrollers generally do not support these types of operations. Since floating point has been removed, scaling must be performed prior to calculating illuminance if the integration time is not 402ms and/or if the gain is not 16× as denoted in the source code on the following pages. This sequence scales first to mitigate rounding errors induced by decimal math. extern unsigned int CalculateLux(unsigned int iGain, unsigned int tInt, unsigned int ch0, unsigned int ch1, int iType) //**************************************************************************** // // Copyright ams AG // // THIS CODE AND INFORMATION IS PROVIDED ”AS IS” WITHOUT WARRANTY OF ANY // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR // PURPOSE. // // Module Name: // lux.cpp // //**************************************************************************** #define LUX_SCALE 16 //scale by 2^16 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |