Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

TCS3413 Datasheet(PDF) 23 Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS

Part # TCS3413
Description  DIGITAL COLOR SENSORS
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TAOS [TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS]
Direct Link  http://www.taosinc.com
Logo TAOS - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS

TCS3413 Datasheet(HTML) 23 Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS

Back Button TCS3413 Datasheet HTML 19Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3413 Datasheet HTML 20Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3413 Datasheet HTML 21Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3413 Datasheet HTML 22Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3413 Datasheet HTML 23Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3413 Datasheet HTML 24Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3413 Datasheet HTML 25Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3413 Datasheet HTML 26Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3413 Datasheet HTML 27Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 40 page
background image
TCS3404, TCS3414
DIGITAL COLOR SENSORS
TAOS137A − APRIL 2011
23
The LUMENOLOGY
r Company
r
r
Copyright
E 2011, TAOS Inc.
www.taosinc.com
APPLICATION INFORMATION: SOFTWARE
Configuring the Timing Register
The command, timing, and control registers are initialized to default values on power up. Setting these registers
to the desired values would be part of a normal initialization or setup procedure. In addition, to maximize the
performance of the device under various conditions, the integration time and gain may be changed often during
operation. The following pseudo code illustrates a procedure for setting up the timing register for various
options.
// Set up Timing Register
//Low Gain (1x), integration time of 12ms (default value)
Address = 0x39
Command = 0x81
//Timing Register
Data = 0x02
WriteByte(Address, Command, Data)
//Low Gain (1x), integration time of 101ms
Command = 0x81
//Timing Register
Data = 0x01
WriteByte(Address, Command, Data)
//Low Gain (1x), integration time of 12ms
Data = 0x00
WriteByte(Address, Command, Data)
//High Gain (16x), integration time of 101ms
Command = 0x81
//Timing Register
Data = 0x01
WriteByte(Address, Command, Data)
Command = 0x87
//Gain Control Register
Data = 0x20
WriteByte(Address, Command, Data)
//Read data registers (see Basic Operation example)
//Perform Manual Integration of 50 us
//Set up for manual integration
Command = 0x80
Data = 0x01
//Disable ADC_EN
WriteByte(Address, Command, Data)
Command = 0x81
Data = 0x10
//Set manual integration
WriteByte(Address, Command, Data)
Command = 0x80
Data = 0x03
//Enable ADC_EN and begin integration
WriteByte(Address, Command, Data)
//Integrate for 50ms
Sleep (50)
//Wait for 50ms
//Stop integrating
Command 0x80
Data = 0x01
//Disable ADC_EN and stop integration
WriteByte(Address, Command, Data)
//Read data registers (see Basic Operation example)



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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