VEML7700 Ambient light sensor~
This feature is not included in precompiled binaries
When compiling your build add the following to
#ifndef USE_VEML7700 #define USE_VEML7700 // [I2cDriver50] Enable VEML7700 Ambient Light sensor (I2C addresses 0x10) (+4k5 code) #endif
VEML7700 is a high accuracy ambient light digital 16-bit resolution sensor in a miniature transparent 6.8 mm x 2.35 mm x 3.0 mm package. It includes a high sensitive photo diode, a low noise amplifier, a 16-bit A/D converter and supports an easy to use I2C bus communication interface. The ambient light result is available as digital value.
In the Configuration -> Configure Module page assign:
- GPIOx to
- GPIOy to
Commands and Use~
|VEML7700power||Power on/off the module||0/1|
|VEML7700inttime||Integration time in ms||25, 50, 100, |
200, 400, 800
|VEML7700gain||Gain setting |
(x1, x2, x1/8, x1/4)
|0 = x1 |
1 = x2
2 = x1/8
3 = x1/4
|VEML7700persist||ALS persistence protect number setting||0 = 1 |
1 = 2
2 = 4
3 = 8
With gain 1/8 and inttime 25 the sensor goes up to 120.000 Lux if someone needs it.
After a reboot the driver will detect VEML7700 automatically and display light intensity.