поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

TSL2581FN датащи(PDF) 35 Page - OSRAM GmbH

номер детали TSL2581FN
подробное описание детали  Light-to-Digital Converter
PDF  53 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  OSRAM [OSRAM GmbH]
домашняя страница  http://www.osram.com
Logo OSRAM - OSRAM GmbH

TSL2581FN датащи(HTML) 35 Page - OSRAM GmbH

Back Button TSL2581FN Datasheet HTML 31Page - OSRAM GmbH TSL2581FN Datasheet HTML 32Page - OSRAM GmbH TSL2581FN Datasheet HTML 33Page - OSRAM GmbH TSL2581FN Datasheet HTML 34Page - OSRAM GmbH TSL2581FN Datasheet HTML 35Page - OSRAM GmbH TSL2581FN Datasheet HTML 36Page - OSRAM GmbH TSL2581FN Datasheet HTML 37Page - OSRAM GmbH TSL2581FN Datasheet HTML 38Page - OSRAM GmbH TSL2581FN Datasheet HTML 39Page - OSRAM GmbH Next Button
Zoom Inzoom in Zoom Outzoom out
 35 / 53 page
background image
Page 34
ams Datasheet
Document Feedback
[v1-00] 2016-Apr-05
TSL2580, TSL2581 − Application Information: Software
Simplified Lux Calculation
Below is the argument and return value including source code
(shown on following page) for calculating lux with the
TSL2581FN. The source code is intended for embedded and/or
microcontroller applications. All floating point arithmetic
operations have been eliminated since embedded controllers
and microcontrollers generally do not support these types of
operations. Because floating point has been removed, scaling
must be performed prior to calculating illuminance if the
integration time is not 400 msec and/or if the gain is not 1x as
denoted in the source code on the following pages
//****************************************************************************
//
// 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
#define RATIO_SCALE 9 // scale ratio by 2^9
//---------------------------------------------------
// Integration time scaling factors
//---------------------------------------------------
#define CH_SCALE 16 // scale channel values by 2^16
#define NOM_INTEG_CYCLE 148 // Nominal 400 ms integration. See Timing Register
//---------------------------------------------------
// Gain scaling factors
//---------------------------------------------------
#define CH0GAIN128X 107 // 128X gain scalar for Ch0
#define CH1GAIN128X 115 // 128X gain scalar for Ch1
//---------------------------------------------------
// FN Package coefficients
//---------------------------------------------------
// For Ch1/Ch0=0.00 to 0.30:
//Lux=0.130*Ch0-0.240*Ch1
// For Ch1/Ch0=0.30 to 0.38:
// Lux=0.1649*Ch0-0.3562*Ch1
//
// For Ch1/Ch0=0.38 to 0.45:



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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