Analog Light Sensor Data Sheet

Title

Analog Light Sensor

TI Item Name

STEMKT/AC/A

Description

Sensor that detects the light intensity of the environment.

Category

Environmental Sensors

Hub Connection

4-Pin Cable to any of these ports: IN 1, IN 2, IN 3

Assembly Instructions

Not applicable

Precautions

Light sensor leads may break if bent repeatedly

Specifications

Maximum voltage: 150, Maximum power: 100, Environmental Temp: -30~+70, Spectrum Peak Value: 540

 

HUB Commands

 

Sketch Object

LIGHTLEVEL

Command Syntax

Send("READ LIGHTLEVEL n")

Code
Sample:

Desired Action

Code Sample

Configure the program to use LIGHTLEVEL on port IN 1

Send("CONNECT LIGHTLEVEL 1 TO IN 1")

Read the light sensor

Send("READ LIGHTLEVEL 1")

Get(L)