VEML6030
www.vishay.com
Vishay Semiconductors
Rev. 1.2, 13-Jan-17
7
Document Number: 84366
For technical questions, contact: sensorstechsupport@vishay.com
THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT NOTICE. THE PRODUCTS DESCRIBED HEREIN AND THIS DOCUMENT
ARE SUBJECT TO SPECIFIC DISCLAIMERS, SET FORTH AT www.vishay.com/doc?91000
Register Addresses
VEML6030 has actual six user accessible 16 bit command
codes.
The addresses are 00h to 06h (03h not defined / reserved).
Auto-Memorization
VEML6030 can memorize the last ambient data before
shutdown and keep this data before waking up.
When VEML6030 is in shutdown mode, the host can freely
read this data via read command directly.
When VEML6030 wakes up, the data will be refreshed by
new detection.
Note
Command code 0 default value is 01 = devices is shut down
Command Code #0: Configuration Register
Register address = 00h
The command code #0 is for configuration of the ambient light measurements.
Note
Light level [lx] is (ALS OUTPUT DATA [dec.] / ALS Gain x responsivity). Please study also the application note.
COMMAND REGISTER FORMAT
COMMAND CODE REGISTER NAME BIT FUNCTION / DESCRIPTION R / W
00 ALS_CONF 0 15 : 0 ALS gain, integration time, interrupt, and shut down W
01 ALS_WH
15 : 8 ALS high threshold window setting (MSB) W
7 : 0 ALS high threshold window setting (LSB) W
02 ALS_WL
15 : 8 ALS low threshold window setting (MSB) W
7 : 0 ALS low threshold window setting (LSB) W
03 Power saving 15 : 0 Set (15 : 3) 0000 0000 0000 0b
04 ALS
15 : 8 MSB 8 bits data of whole ALS 16 bits R
7 : 0 LSB 8 bits data of whole ALS 16 bits R
05 WHITE
15 : 8 MSB 8 bits data of whole WHITE 16 bits R
7 : 0 LSB 8 bits data of whole WHITE 16 bits R
06 ALS_INT 15 : 0 ALS INT trigger event R
TABLE 1 - CONFIGURATION REGISTER #0
REGISTER NAME BIT FUNCTION / DESCRIPTION R / W
Reserved 15 : 13 Set 000b W
ALS_GAIN 12 : 11
Gain selection
00 = ALS gain x 1
01 = ALS gain x 2
10 = ALS gain x (1/8)
11 = ALS gain x (1/4)
W
reserved 10 Set 0b W
ALS_IT 9 : 6
ALS integration time setting
1100 = 25 ms
1000 = 50 ms
0000 = 100 ms
0001 = 200 ms
0010 = 400 ms
0011 = 800 ms
W
ALS_PERS 5 : 4
ALS persistence protect number setting
00 = 1
01 = 2
10 = 4
11 = 8
W
Reserved 3 : 2 Set 00b W
ALS_INT_EN 1
ALS interrupt enable setting
0 = ALS INT disable
1 = ALS INT enable
W
ALS_SD 0
ALS shut down setting
0 = ALS power on
1 = ALS shut down
W
VEML6030
www.vishay.com
Vishay Semiconductors
Rev. 1.2, 13-Jan-17
8
Document Number: 84366
For technical questions, contact: sensorstechsupport@vishay.com
THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT NOTICE. THE PRODUCTS DESCRIBED HEREIN AND THIS DOCUMENT
ARE SUBJECT TO SPECIFIC DISCLAIMERS, SET FORTH AT www.vishay.com/doc?91000
Command Code #1: High Threshold Windows Setting
Command code address = 01h. Once enable INT function and use high / low windows threshold, bit 15:0 provides 16 bit register
for high bound threshold windows setting.
Command Code #2: Low Threshold Windows Setting
Command code address = 02h. Once enable INT function and use high / low windows threshold, bit 15:0 provides 16 bit register
for low bound threshold windows setting.
Command Code #3: Power Saving Mode: PSM
Command code address = 03h. Bits 2 and 1 define the power saving modes. Bits 15 : 3 are reserved.
Command Code #4: ALS High Resolution Output Data
Command code address = 04h. To access 16 bit high resolution ALS output, it is suitable to follow read protocol to read from
command code #04 16 bits register.
Command Code #5: White Channel Output Data
Command code address = 05h. To access 16 bit WHITE output, it is suitable to follow read protocol to read from command
code #05 16 bits register.
TABLE 2 - HIGH THRESHOLD WINDOWS SETTING #1
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Description
ALS high threshold window setting (15:8 MSB 8 bits of whole 16 bits)
ALS high threshold window setting (7:0 LSB 8 bits of whole 16 bits)
TABLE 3 - LOW THRESHOLD WINDOWS SETTING #2
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Description
ALS low threshold window setting (15:8 MSB 8 bits of whole 16 bits)
ALS low threshold window setting (7:0 LSB 8 bits of whole 16 bits)
TABLE 4 - POWER SAVING MODES
COMMAND CODE REGISTER NAME BIT FUNCTION / DESCRIPTION R / W
03
PSM 2 : 1
Power saving mode; see table “Refresh time”
00 = mode 1
01 = mode 2
10 = mode 3
11 = mode 4
W
PSM_EN 0
Power saving mode enable setting
0 = disable
1 = enable
W
TABLE 5 - ALS HIGH RESOLUTION OUTPUT DATA #4
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Description
ALS high resolution output data (15 : 8 MSB 8 bits of whole 16 bits)
ALS high resolution output data (7 : 0 LSB 8 bits of whole 16 bits)
TABLE 6 - WHITE CHANNEL OUTPUT DATA #5
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Description
WHITE output data (15 : 8 MSB 8 bits of whole 16 bits)
WHITE output data (7 : 0 LSB 8 bits of whole 16 bits)
VEML6030
www.vishay.com
Vishay Semiconductors
Rev. 1.2, 13-Jan-17
9
Document Number: 84366
For technical questions, contact: sensorstechsupport@vishay.com
THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT NOTICE. THE PRODUCTS DESCRIBED HEREIN AND THIS DOCUMENT
ARE SUBJECT TO SPECIFIC DISCLAIMERS, SET FORTH AT www.vishay.com/doc?91000
Command Code #6: Interrupt Status
Command code address = 06h. Bit 15 defines interrupt flag while trigger occurred due to data crossing low threshold windows.
Bit 14 defines interrupt flag while trigger occurred due to data crossing high threshold windows.
REFRESH TIME DETERMINATION OF PSM
VEML6030’s refresh time can be determined by PSM and ALS_IT setting in power saving mode (PSM). Cooperating with the
command register setting, the designer has a flexible method in defining the timing, power consumption, and sensitivity for light
data collection.
TABLE 7 - INTERRUPT STATUS #6
Bit 15 Bit 14 Bit 13 to 0
int_th_low int_th_high reserved
Description
int_th_low Read bit. Indicated a low threshold exceed
int_th_high Read bit. Indicated a high threshold exceed
REFRESH TIME, I
DD
, AND RESOLUTION RELATION
ALS_GAIN PSM ALS_IT REFRESH TIME (ms) I
DD
(μA) RESOLUTION (lx/bit)
01 00 0000 600 8 0.0288
01 01 0000 1100 5 0.0288
01 10 0000 2100 3 0.0288
01 11 0000 4100 2 0.0288
01 00 0001 700 13 0.0144
01 01 0001 1200 8 0.0144
01 10 0001 2200 5 0.0144
01 11 0001 4200 3 0.0144
01 00 0010 900 20 0.0072
01 01 0010 1400 13 0.0072
01 10 0010 2400 8 0.0072
01 11 0010 4400 5 0.0072
01 00 0011 1300 28 0.0036
01 01 0011 1800 20 0.0036
01 10 0011 2800 13 0.0036
01 11 0011 4800 8 0.0036

VEML6030

Mfr. #:
Manufacturer:
Vishay Semiconductors
Description:
Ambient Light Sensors Opr 2.5-3.6V 0.005x Filtron O-Trim 16Bit
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet