background image

www.ti.com

OPT3004EVM Software

11

SBOU220 – December 2018

Submit Documentation Feedback

Copyright © 2018, Texas Instruments Incorporated

OPT3004EVM User's Guide

Figure 12. I

2

C Address Selection

To quickly start using the device, leave the default settings selected, and click the

Write Reg x01

button,

and then click the

Run Continuously

flip switch. The software then begins capturing lux data from the

device. This

quick start

is a good test to make sure everything is operational. To stop the computer from

capturing data and plotting, click

Run Continuously

again.

3.4.2

Feature Descriptions

Register x00 is a read-only register that holds the range and converted value. These data are used (per
the

OPT3004 data sheet

) to compute the lux output, labeled

Reg x00 Lux

in

Figure 13

. Click the

Read

Reg x00

button to update these fields and the plot with the latest values from the OPT3004EVM.

Figure 13. Register x00 Button and Recorded Values

Register x01 configures the OPT3004 and provides feedback about the state of the device; the bit names
and full descriptions are shown in the

OPT3004 data sheet

. Each of the configurable, read and write bits

has a drop-down menu to select the appropriate value. Each of the read-only status bits has an
associated small, green indicator. As shown in

Figure 14

two buttons are provided to operate register x01

because some of the bits have read and write capability. Note that in

Figure 14

, the

Lux Full Scale Range

selection field has four identical automatic range modes: 0x0C-0x0F. Also, the

Mode

selection field has

two identical continuous sampling options: 0x02 and 0x03.

Figure 14. Register x01 Control and Status Register Bits

Registers x02 and x03 enforce low and high limits, respectively, on the output ranges (exponent) and
values (mantissa) from the OPT3004. These registers are programmed with the appropriate fields, as
shown in

Figure 15

Change the values of the data in these fields to write and read the values from the

OPT3004; no button press is required. However, if values are manually entered, exit the text field for the
field to update.

Содержание OPT3004EVM

Страница 1: ...acteristics operation and use of the OPT3004EVM evaluation module It discusses how to set up and configure the software and hardware and reviews various aspects of the program operation Throughout this document the terms evaluation board evaluation module and EVM are synonymous with the OPT3004EVM This document also includes an electrical schematic printed circuit board PCB layout drawings and a p...

Страница 2: ...ponse After Connecting OPT3004EVM to the Computer 6 6 OPT3001EVM Software Installation Files 7 7 OPT3001EVM Software Installation Launch 8 8 OPT3001EVM Software Installation Prompts 8 9 OPT3001 Main Operation Screen 9 10 Hardware Error Message 9 11 Power Indicators 10 12 I2 C Address Selection 11 13 Register x00 Button and Recorded Values 11 14 Register x01 Control and Status Register Bits 11 15 R...

Страница 3: ...DIG board that communicates with the computer provides power and sends and receives appropriate digital signals The second is the OPT3004 test board which contains the OPT3004 and its support circuitry 1 1 OPT3004EVM Kit Contents Table 1 summarizes the contents of the OPT3001EVM kit Figure 1 shows the included hardware Contact the Texas Instruments Product Information Center nearest you if any com...

Страница 4: ...nd is also available from the TI web site the Texas Instruments Literature Response Center at 800 477 8924 and the Product Information Center at 972 644 5580 When ordering identify the document by both title and literature number Table 2 Related Documentation Document Literature Number OPT3004 product data sheet SBOS929 SM USB DIG_Platform user s guide SBOU098 2 OPT3004EVM Hardware Figure 2 shows ...

Страница 5: ...o the SM USB DIG Platform and then connecting the USB cable This section presents the details of this procedure CAUTION Many of the components on the OPT3004EVM are susceptible to damage by electrostatic discharge ESD Customers are advised to observe proper ESD handling precautions when unpacking and handling the EVM including the use of a grounded wrist strap at an approved ESD workstation 2 2 1 ...

Страница 6: ...re USB Device pop up dialog window The pop up window then typically changes to Found New Hardware USB Human Interface Device This pop up indicates that the device is ready to be used The SM USB DIG Platform uses the human interface device drivers that are part of the Windows operating system Figure 5 Typical Response After Connecting OPT3004EVM to the Computer In some cases the Add Hardware Wizard...

Страница 7: ...001EVM software has been tested on the Windows 7 operating system OS with United States regional settings The software should function correctly on other Windows operating systems 3 2 Software Installation The OPT3001EVM software is available through the OPT3004EVM Product Folder on the TI web site www ti com To install the software to your computer navigate to the OPT3001EVM software and open the...

Страница 8: ...ted OPT3004EVM User s Guide The OPT3001EVM software then begins the installation process as shown in Figure 7 Figure 7 OPT3001EVM Software Installation Launch Follow the prompts as shown in Figure 8 to install the OPT3001EVM software Figure 8 OPT3001EVM Software Installation Prompts The OPT3001EVM GUI software is now installed ...

Страница 9: ...re 4 launch the EVM GUI software from the Windows Start menu It is located in a folder titled OPT3001EVM The software launches with a screen similar to that shown in Figure 9 Figure 9 OPT3001 Main Operation Screen If the message shown in Figure 10 appears when the OPT3001EVM GUI software is launched disconnect all components of the OPT3004EVM kit and repeat the hardware assembly and connection ins...

Страница 10: ... features of the OPT3004EVM Basic GUI functionality and a description of the tabs are also presented in this section 3 4 1 Getting Started With the hardware properly connected and the EVM software installed and operating check to see that the power to the device is turned on by looking at the LED on the SM USB DIG board and at the VDUT indicator on the SM USB DIG tab in the GUI software as shown i...

Страница 11: ...ister x01 configures the OPT3004 and provides feedback about the state of the device the bit names and full descriptions are shown in the OPT3004 data sheet Each of the configurable read and write bits has a drop down menu to select the appropriate value Each of the read only status bits has an associated small green indicator As shown in Figure 14 two buttons are provided to operate register x01 ...

Страница 12: ...mer represented by a rectangle shown in Figure 16 This rectangle changes from black through 254 shades of grey to white depending on the value of lux measured by the OPT3004 It shows a brighter backlight for high lux situations and a dim backlight for low lux situations The low limit darkest backlight is always 0 and the high limit brightest backlight can be adjusted with the Lux for White numeric...

Страница 13: ...igure 17 As readings are collected the plot is updated with those values The y axis is autoscaled to show the magnitude of the lux value recorded and has a visible history of 100 samples along the x axis The plot can be reset by returning to the SM USB DIG tab and clicking the Re Initialize button as shown in Figure 18 Access the plot axis range and formatting by right clicking the plot Figure 17 ...

Страница 14: ...ination file is selected by clicking Select a File Path turning on the Logging On Off selector switch appends data to that file in tab format Figure 19 Data Logging Setup and Enable Under the final tab Register Map shown in Figure 20 there is a button labeled Read All Clicking this button reads registers x00 through x0F and displays the results to the Register Table spreadsheet In this way all reg...

Страница 15: ... up resistor for the interrupt signal C1 is a bypass capacitor for VDUT and R4 is a jumper to tie the address pin to ground If another address is desired remove R4 and install a wire to the pad or via and then to the appropriate signal source Figure 21 OPT3004 Test Board Schematic The OPT3004 is mounted on the back side of the board so that the LED light from the SM USB DIG is directed away from t...

Страница 16: ...ght 2018 Texas Instruments Incorporated OPT3004EVM User s Guide 4 2 PCB Layout Figure 22 and Figure 23 show the top and bottom PCB layers respectively of the test board Figure 24 and Figure 25 show the assembly drawings of the top and bottom PCB layers respectively Figure 22 PCB Top Layer Figure 23 PCB Bottom Layer ...

Страница 17: ... 2018 Submit Documentation Feedback Copyright 2018 Texas Instruments Incorporated OPT3004EVM User s Guide Figure 24 PCB Top Layer Assembly Drawing Figure 25 PCB Bottom Layer Assembly Drawing 4 3 Bill of Materials Table 3 lists the bill of materials for the OPT3004 test board ...

Страница 18: ...able 3 OPT3001 Test Board Parts List Qty RefDes Description Part Number MFR 1 C1 CAP CERM 0 1uF 50V 10 X7R 0805 08055C104KAT2A AVX Corp 1 J1 Receptacle 50mil 10x1 R A TH 851 43 010 20 001000 Mill Max 1 R2 RES 10k ohm 5 0 125W 0805 CRCW080510K0JNEA Vishay Dale 1 R4 RES 0 ohm 5 0 125W 0805 CRCW08050000Z0EA Vishay Dale 1 U1 Ambient Light Sensor DNP0006A OPT3004DNP Texas Instruments ...

Страница 19: ...y set forth above or credit User s account for such EVM TI s liability under this warranty shall be limited to EVMs that are returned during the warranty period to the address designated by TI and that are determined by TI not to conform to such warranty If TI elects to repair or replace such EVM TI shall have a reasonable time to repair such EVM or provide replacements Repaired EVMs shall be warr...

Страница 20: ...the user guide with the maximum permissible gain and required antenna impedance for each antenna type indicated Antenna types not included in this list having a gain greater than the maximum gain indicated for that type are strictly prohibited for use with this device Concernant les EVMs avec antennes détachables Conformément à la réglementation d Industrie Canada le présent émetteur radio peut fo...

Страница 21: ...ed loads Any loads applied outside of the specified output range may also result in unintended and or inaccurate operation and or possible permanent damage to the EVM and or interface electronics Please consult the EVM user guide prior to connecting any load to the EVM output If there is uncertainty as to the load specification please contact a TI field representative During normal operation even ...

Страница 22: ...COST OF REMOVAL OR REINSTALLATION ANCILLARY COSTS TO THE PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES RETESTING OUTSIDE COMPUTER TIME LABOR COSTS LOSS OF GOODWILL LOSS OF PROFITS LOSS OF SAVINGS LOSS OF USE LOSS OF DATA OR BUSINESS INTERRUPTION NO CLAIM SUIT OR ACTION SHALL BE BROUGHT AGAINST TI MORE THAN TWELVE 12 MONTHS AFTER THE EVENT THAT GAVE RISE TO THE CAUSE OF ACTION HAS OCCURRED 8 2 Specif...

Страница 23: ...se resources are subject to change without notice TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource Other reproduction and display of these resources is prohibited No license is granted to any other TI intellectual property right or to any third party intellectual property right TI disclaims responsibility for...

Отзывы: