SBAA432A april   2020  – july 2023 OPT3001 , OPT3001-Q1 , OPT3004 , OPT3006 , OPT3007

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction to TI's Light Sensor Portfolio
  5. 2Material Inspection
  6. 3Sensor Board Hardware Design
  7. 4Build-up Standalone Light Sensor Test Platform
    1. 4.1 Functional Test
      1. 4.1.1 Communication Test
      2. 4.1.2 Sensor Function Test
    2. 4.2 Test Equipment
    3. 4.3 Hardware Platform
    4. 4.4 Software Code Examples
  8. 5Summary
  9. 6References
  10. 7Revision History

Software Code Examples

TI provides light sensor drivers based on both microcontrollers and Android™ operating systems. The provided example code for the hardware platform, adjusts the backlight of the LCD and displays the measured lux value of the light sensor on the colored LCD. After installing Code Composer Studio™ (CCS), the example code is located at /i2copt3001_cpp, shown selected in Figure 4-4.

GUID-07ABD24F-2A76-4027-BCAC-B07441E708A5-low.jpgFigure 4-4 Light Sensor Test Code Example Location in CCS

Download MSP432-SDK using the code example located in /i2copt3001_cpp

The code examples are open source and can be modified as needed.