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

Hardware Platform

The standalone test platform can evaluate the light sensor without external hardware such as a computer monitor. The display shows the device ID and lux values on the screen of the test platform, as shown in Figure 4-1. The interrupt and address operations are optional. If preferred, the test platform can connect externally to a PC using UART to print the device ID and lux.

GUID-F1ED41D8-05B8-48D6-9A7C-99D17D2D3B9B-low.svg Figure 4-1 Light Sensor Hardware Test Platform

TI provides hardware that can simplify the light sensor testing process, such as the microcontroller MSP-EXP432E401Y and sensor plus display board BOOSTXL-EDUMKII shown in Figure 4-2 and Figure 4-3. To use this hardware, place the OPT4001 on the BOOSTXL-EDUMKII board. Plug the BOOSTXL-EDUMKII into MSP-EXP432E401Y and download the correct firmware introduced in Section 4.4. The measured lux is printed on the BOOSTXL-EDUMKII screen and changes with the environmental light conditions. Before testing, confirm that the J5 jumper on the BOOSTXL-EDUMKII connects to the LCD backlight.

GUID-ACE6031B-90D7-49C1-9F1D-D4F65852A705-low.jpg Figure 4-2 BOOSTXL-EDUMKII Board

If preferred, MSP-EXP432E401Y has a UART to USB interface that can connect to the PC to display the light sensor readings.

GUID-AE6C3D1A-EC30-4D50-A438-4BD5F9C04D0E-low.jpg Figure 4-3 MSP-EXP432E401Y Board

The OPT3007 and OPT4001 PicoStar™ tests are similar, but the designer must build conversion boards because the PicoStar package has a bottom-facing sensor.

While any MCU can be used to build the standalone test platform, the BOOSTXL-EDUMKII Educational BoosterPack™ Plug-in Module Mark II user's guide and the SimpleLink™ Ethernet MSP432E401Y Microcontroller LaunchPad™ Development Kit (MSP-EXP432E401Y) user's guide provide all the necessary materials, including the schematic and build of materials.