AMS TSL2541 User Manual Download Page 5

TSL2541 EVM User Guide 

 

 

Page 5 

If the EVM board is disconnected from the USB bus while the program is running it displays an error 
message and then terminates.  Reconnect the EVM board and restart the program. 

4.2 

System Menus 

At the top of the window there are pull-

down menus labeled “File”, “Log”, and “Help”. The 

File

 menu 

provides basic application-level control. The 

Log

 menu is used to control the logging function, and 

the 

Help

 menu provides version and copyright information for the application. 

4.2.1  File Menu 

The File menu contains the following functions: 

Figure 4. File Menu 

 

The 

Reread Registers

 function forces the program to re-read all of the control registers from the 

device and display them on the screen.  This does not read the output data, because those 
registers are continually read while the program is running. 

The 

Lux Coefficients

 menu allows the user to Display, Load or Save the lux coefficients used to 

calculate lux. See 

ALS Lux Coefficients

 section for more details.  

Click on the 

Exit

 command to close the main window and terminate the application.  Any unsaved 

log data is cleared from memory. The application can 

also be close by clicking the red “X” in the 

upper right hand corner.  

4.2.2  Log Menu 

The Log menu is used to control the logging function and to save the log data to a file. Log data is 
accumulated in memory until it is discarded or written to a data file. 

Figure 5. Log Menu 

 

Click 

Start Logging

 to start the logging function. Each time the program polls the output information 

from the device, it creates a new log entry showing the raw data values, the values of various 
control registers, and the values entered by the user into the text fields near the bottom right corner 
of the window. 

Click 

Stop Logging

 to stop the logging function. Once logging is stopped, the data can be written to 

a file, or the user can continue collecting additional data by clicking 

Start Logging

 again. 

The 

Log a Single Entry

 command causes logging to start, collect one single entry, and 

immediately stop again.  This function is not available when logging is already running. 

Summary of Contents for TSL2541

Page 1: ...User guide TSL2541 EVM TSL2541 ALS Light to Digital Sensor Evaluation Kit Version 1 0 ...

Page 2: ...s 3 2 Getting Started 3 3 Hardware Description 3 4 Software Description 4 4 1 Connect Software to Hardware 4 4 2 System Menus 5 4 3 System Level Controls 6 4 4 Auto Polling 6 4 5 Device ID Information 7 4 6 Log Status and Control Information 7 4 7 ALS Tab 8 5 Resources 10 ...

Page 3: ...oads the required driver for the USB interface and also the device s graphical user interface GUI The balance of this document identifies and describes the controls available on the GUI In combination with the TSL2541 datasheet the QSG and application notes available on the ams website www ams com there should be enough information to allow evaluation of the TSL2541 device 3 Hardware Description T...

Page 4: ...he software automatically connects to the hardware On successful initialization the software displays a main window containing controls pertinent to the connected device If the software detects an error an error window appears If Device not found or is unsupported appears verify the correct daughterboard is properly connected to the EVM controller board If Cannot connect to EVM board appears verif...

Page 5: ...ALS Lux Coefficients section for more details Click on the Exit command to close the main window and terminate the application Any unsaved log data is cleared from memory The application can also be close by clicking the red X in the upper right hand corner 4 2 2 Log Menu The Log menu is used to control the logging function and to save the log data to a file Log data is accumulated in memory until...

Page 6: ...plays a dialog box Figure 7 showing the version and copyright information for the application and library Click the OK button to close this window and continue Figure 7 About Widow 4 3 System Level Controls Immediately below the top menu bar there are checkboxes used to control the system level functions of the TSL2541 device The Power On checkbox controls the PON function of the TSL2541 When this...

Page 7: ...e default log file name is based on these values at the time the log file is written If nothing is entered in these boxes they default to a period Sample default file name TSL2541_1 2 3_Log_HH_MM_SS csv From Application From User Input The Count value displayed is a count of the number of samples currently in the log buffer The Elapsed Time value indicates the elapsed time since data logging was s...

Page 8: ...ues of WTIME and WLONG are ignored The WTIME control sets the time to wait between ALS cycles WTIME can be adjusted in 2 778ms steps The WLONG checkbox controls sets the WTIME factor When this box is checked the wait time between ALS cycles is extended by a factor of 12x 4 7 2 ALS Lux Coefficients The TSL2541 ALS supplies information that is used to calculate Lux unit of illumination The Lux equat...

Page 9: ...e 145 006 coef name CoefB value 0 14 coef name CoefC value 1 078 coef name CoefD value 0 156 eq_values luxeq 4 7 3 ALS Output Data The top right corner of the ALS tab displays the output data This data is continuously read The polling interval is shown above the tab Visible displays the data counts for the Visible channel multiplied by the adjustment factor IR displays the data counts for the IR c...

Page 10: ...d but the actual plot will not be updated until the plot function is re enabled 5 Resources For additional information regarding the TSL2541 please refer to the datasheet For information regarding the installation of the TSL2541 EVM host application software please refer to the TSL2541 EVM Quick Start Guide Designer s Notebooks dealing with various aspects of optical measurement and optical measur...

Page 11: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information ams TSL2541 DB TSL2541 EVM ...

Reviews: