データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

TCS3404 データシート(PDF) 21 Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS

部品番号 TCS3404
部品情報  DIGITAL COLOR SENSORS
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  TAOS [TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS]
ホームページ  http://www.taosinc.com
Logo TAOS - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS

TCS3404 データシート(HTML) 21 Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS

Back Button TCS3404 Datasheet HTML 17Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3404 Datasheet HTML 18Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3404 Datasheet HTML 19Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3404 Datasheet HTML 20Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3404 Datasheet HTML 21Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3404 Datasheet HTML 22Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3404 Datasheet HTML 23Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3404 Datasheet HTML 24Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS TCS3404 Datasheet HTML 25Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 40 page
background image
TCS3404, TCS3414
DIGITAL COLOR SENSORS
TAOS137A − APRIL 2011
21
The LUMENOLOGY
r Company
r
r
Copyright
E 2011, TAOS Inc.
www.taosinc.com
APPLICATION INFORMATION: SOFTWARE
Basic Operation
After applying VDD, the device will initially be in the power−down state. To operate the device, issue a command
to access the control register followed by the data value 03h to the control register to set ADC_EN and POWER
to power up the device. At this point, all four ADC channels will begin a conversion at the default integration time
of 12 ms. After 12 ms, the conversion results will be available in ADC Channel Data Registers (10h through 17h).
The following pseudo code illustrates a procedure for reading the TCS3404/14 device using Word and Byte
transactions:
// Read ADC Channels Using Read Word Protocol − RECOMMENDED
Address = 0x39
Command = 0x80
PowerUp = 0x03
//Power Up and Enable ADC
//Wait for integration conversion
//Address the Ch1 lower data register and configure for Read Word
Command = 0xB0
//Set Command bit and Word transaction
//Reads two bytes from sequential registers 10h and 11h
//Results are returned in DataLow and DataHigh variables
ReadWord (Address, Command, DataLow, DataHigh)
Channel1 = 256 * DataHigh + DataLow
//Address the Ch2 lower data register and configure for Read Word
Command = 0xB2
//Set Command bit and Word transaction
//Reads two bytes from sequential registers 12h and 13h
//Results are returned in DataLow and DataHigh variables
ReadWord (Address, Command, DataLow, DataHigh)
Channel2 = 256 * DataHigh + DataLow //Shift DataHigh to upper byte
//Address the Ch3 lower data register and configure for Read Word
Command = 0xB4
//Set Command bit and Word transaction
//Reads two bytes from sequential registers 14h and 15h
//Results are returned in DataLow and DataHigh variables
ReadWord (Address, Command, DataLow, DataHigh)
Channel3 = 256 * DataHigh + DataLow
//Address the Ch4 lower data register and configure for Read Word
Command = 0xB8
//Set Command bit and Word transaction
//Reads two bytes from sequential registers 16h and 17h
//Results are returned in DataLow and DataHigh variables
ReadWord (Address, Command, DataLow, DataHigh)
Channel4 = 256 * DataHigh + DataLow //Shift DataHigh to upper byte



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


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
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