VEML6070 UV light sensor~
This feature is included only in
When compiling your build add the following to
#ifndef USE_VEML6070 #define USE_VEML6070 // [I2cDriver12] Enable VEML6070 sensor (I2C addresses 0x38 and 0x39) (+1k5 code) #define USE_VEML6070_RSET 270000 // VEML6070, Rset in Ohm used on PCB board, default 270K = 270000ohm, range for this sensor: 220K ... 1Meg #define USE_VEML6070_SHOW_RAW // VEML6070, shows the raw value of UV-A #endif
This little sensor is a great way to add UV light sensing to any microcontroller project. The VEML6070 from Vishay has a true UV A light sensor and an I2C-controlled ADC that will take readings and integrate them for you over ~60ms to 500ms." See VEML6070 UV Sensor for more information.
In the Configuration -> Configure Module page assign:
- GPIOx to
- GPIOy to
After a reboot the driver will detect VEML6070 automatically and display UV light intensity.