Skip to content

VEML6075 UVA/UVB/UVINDEX Sensor~

This feature is not included in precompiled binaries

When compiling your build add the following to user_config_override.h:

#ifndef USE_VEML6075
#define USE_VEML6075            // [I2cDriver49] Enable VEML6075 UVA/UVB/UVINDEX Sensor (I2C address 0x10) (+2k1 code)
#endif

This little sensor is a great way to add UVA and UVB light sensing to any microcontroller project. The VEML6075 from Vishay has both true UVA and UVB band light sensors and an I2C-controlled ADC that will take readings and integrate them. The sensor also comes with calibration registers so you can easily convert the UVA/UVB readings into the UV Index.

Configuration~

Wiring~

VEML6075 ESP
GND GND
VCC 3.3V
SDA GPIOx
SCL GPIOy

Tasmota Settings~

In the Configuration -> Configure Module page assign:

  1. GPIOx to I2C SDA
  2. GPIOy to I2C SCL

Commands and Use~

Console Commands Description values
VEML6075power Power on/off the module 0/1
VEML6075inttime UV integration time (50ms, 100ms, 200ms, 400ms, 800ms) 0/1/2/3/4
VEML6075dynamic dynamic setting (low, high) 0/1

Tasmota Main~

After a reboot the driver will detect VEML6075 automatically and display UVA/UVB/UVindex intensity.

Breakout Boards~

VEML6075