VEML6035 www.vishay.com Vishay Semiconductors TABLE 2 - HIGH THRESHOLD WINDOWS SETTING 01 (HEX)REGISTER NAMEBITFUNCTION / DESCRIPTION 15 : 8 High threshold window setting (MSB) 01 7 : 0 High threshold window setting (LSB) Note • INT function must be enabled to trigger on this high threshold TABLE 3 - LOW THRESHOLD WINDOWS SETTING 02 (HEX)REGISTER NAMEBITFUNCTION / DESCRIPTION 15 : 8 Low threshold window setting (MSB) 02 7 : 0 Low threshold window setting (LSB) Note • INT function must be enabled to trigger on this low threshold TABLE 4 - ALS HIGH RESOLUTION OUTPUT DATA 04 (HEX)REGISTER NAMEBITFUNCTION / DESCRIPTION 15 : 8 MSB 8 bits data of whole 16 bits 04 7 : 0 LSB 8 bits data of whole 16 bits TABLE 5 - WHITE CHANNEL OUTPUT DATA 05 (HEX)REGISTER NAMEBITFUNCTION / DESCRIPTION 15 : 8 MSB 8 bits data of whole 16 bits 05 7 : 0 LSB 8 bits data of whole 16 bits TABLE 6 - INTERRUPT STATUS 06 (HEX)REGISTER NAMEBITFUNCTION / DESCRIPTION Low threshold interrupt flag 15 0 = interrupt not triggered 1 = interrupt occurred 06 High threshold interrupt flag 14 0 = interrupt not triggered 1 = interrupt occurred CALCULATING THE LUX LEVEL Command code 04 contains the results of the ALS measurement. This 16-bit code needs to be converted to a decimal value to determine the corresponding lux value. The calculation of the corresponding lux level is dependent on the programmed gain setting and the chosen integration time. The component is most sensitive with GAIN = 1, DG = 1, SENS = 0 and an integration time of 800 ms, specified to 0.0004 lx/step. Every time the integration time is halved, the resolution is halved, the lx/cnt value is doubled. The same principle is valid for the gain and sensitivity settings. For GAIN = 0 it is doubled and also for DG = 1 it is again doubled. For SENS = 1 the sensitivity is programmed to just 1/8, to allow for higher illuminations up to about 6.7 klx. Rev. 1.0, 12-Mar-2019 8 Document Number: 84889 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