SLOU583 September   2024 OPT101 , OPT3001 , OPT3001-Q1 , OPT3002 , OPT3004 , OPT3005 , OPT3006 , OPT3007 , OPT4001 , OPT4001-Q1 , OPT4003-Q1 , OPT4048 , OPT4060

 

  1.   1
  2.   Description
  3.   Features
  4.   4
  5. 1Evaluation Module Overview
    1. 1.1 Introduction
    2. 1.2 Kit Contents
    3. 1.3 Specifications
  6. 2Quick Start Guide
    1. 2.1 Hardware Setup
    2. 2.2 Software Setup
      1. 2.2.1 Hardware Requirements
      2. 2.2.2 Software Installation
      3. 2.2.3 Launching the LIGHTSOURCE01EVM Software
      4. 2.2.4 Software Operation
        1. 2.2.4.1 LIGHTSOURCE01 GUI
    3. 2.3 LIGHTSOURCE01EVM Light Sensor Calibration
      1. 2.3.1 Mounting and Setup
      2. 2.3.2 Calibration Procedure
  7. 3Software
    1. 3.1 Scripts Window
      1. 3.1.1 Hidden IDE Window
      2. 3.1.2 devInit.py
      3. 3.1.3 mLightController.py
  8. 4Serial Commands
    1. 4.1 Latte Command Line
    2. 4.2 Terminal Application
    3. 4.3 List of Commands
  9. 5Hardware Design Files
    1. 5.1 CAD Drawings
  10. 6Compliance Information
    1. 6.1 Compliance and Certifications
  11. 7Additional Information
    1. 7.1 Troubleshooting
      1. 7.1.1 Microsoft Windows 7 Manual Driver Installation
    2. 7.2 Trademarks

List of Commands

Note:

Before running these commands, configure COM port to 9600 baud, 8 data bits, no parity, 1 stop bit.

Table 4-1 LIGHTSOURCE01EVM Serial Commands

Command

Definition

Inputs

HWR?

Returns "C" if talking to control port, "D" if talking to data port. Must be connected to the control port to send commands and receive responses. The data port is unused.

LEDP<0/1/?>

LED Power

0: Turns off LEDs

1: Turns on LEDs

?: Returns 0 if LEDs off and update loop stopped, 1 if LEDs are on and update loop is running

LEDS<0/1/?>

LED Set

0: Sets LEDs to Noon mode

1: Sets LEDs to Sunset mode

?: Returns 0 if LEDs in Noon mode, 1 if LEDs in Sunset mode

LEDR?

LED Status

Returns 0 if LED output is settling, 1 if LED output is stable within ±1% of target irradiance

LEDL<value/?>

LED Lux

Sets LED target lux. Value is 4 digit hex (XXXX). Minimum lux setting is 0x0258. Maximum lux for Noon is 0x07D0. Maximum lux for Sunset is 0x05DC.

?: Returns the lux value in 4 digit hex

LED<TT/TF>?

LED Temperature

TT: Returns 4 digit hex of temperature sensor readouts. First 2 digits are LED driver junction temperature in Celsius. Last 2 digits are the average of 4 temperature sensors' temperature in Celsius

TF: Returns 0 if no temperature fault and 1 if temperature fault. Temperature fault occurs if junction temperature is greater than 80C or any of the temperature sensors are greater than 70C. Fault is cleared if junction temperature is less than 70C and all temperature sensors are reading less than 60C. Fault turns off LEDs and prevents LEDs from turning back on.

LEDI<S/C>?

LED Box Serial Number

S: Box serial number read

LED Calibration Serial Number

C: Calibration serial number read

LEDH?

LED Lamp Hours

LED lamp hour query. Returns time LEDs have been on in 0.3 second increments. Return value is 16 digit hex.