Hardware Description The hardware consists of the EVM Controller, the TSL2540 EVM daughter card, and a USB interface cable. The EVM controller board provides power and I2C communication to the daughter card through a seven pin connector. When the EVM controller is connected to the PC through USB, a green LED on the board flashes once on power up to indicate the system is getting power.
TSL2540 EVM User Guide Figure 2. Evaluation Kit Hardware Software Description The main window (Figure 3) contains the system menus, system level controls, device information and logging status. The ALS tab contains controls for the light sensing function. The application polls the ALS data continuously and calculates the lux.
TSL2540 EVM User Guide controller board is connected to the USB, a green LED on the board flashes once on power up to indicate the USB cable is connected and providing power to the system. If the EVM board is disconnected from the USB bus while the program is running it displays an error message and then terminates.
TSL2540 EVM User Guide 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. Click Clear Log to discard any data that has already been collected. If there is data in memory, which has not been saved to disk, this function displays a prompt asking to verify it is OK to discard the data.
TSL2540 EVM User Guide Auto Polling The application automatically polls the TSL2540 raw ALS data if enabled. The Poll Interval displays the time between reads of the device. Device ID Information The lower left corner of the window displays the ID number of the EVM Controller board, identifies the device being used and displays the ID of the device.
TSL2540 EVM User Guide “ALS” Tab The main portion of the screen contains a tab labeled ALS. The controls in this tab are divided into 3 sections, each performing a separate function. Figure 9. ALS Tab 4.7.1 ALS Controls The left side of the ALS tab contains controls to set various ALS settings.
Page 9
TSL2540 EVM User Guide editor such as notepad to change the coefficients. Then go to File > Lux Coefficients > Load and select the XML file that was updated. The software can also automatically load new coefficients upon starting the GUI. To do this save the XML file as TSL2540_luxeq.xml in the system documents directory...
Resources For additional information regarding the TSL2540, please refer to the datasheet. For information regarding the installation of the TSL2540 EVM host application software please refer to the TSL2540 EVM Quick Start Guide. Designer’s Notebooks dealing with various aspects of optical measurement and optical measurement applications are available.
Need help?
Do you have a question about the TSL2540 EVM and is the answer not in the manual?
Questions and answers