The ZOPT2202 Sensor integrates two types of ultra-violet light sensors: one that is primarily sensitive in the UVA spectral range and one that is sensitive in the UVB spectral range. The device is connected via an I2C interface to a microcontroller. Other I2C or SMBus devices can be connected to the same interface. The device has a programmable interrupt with hysteresis to respond to events and reduce the microcontroller tasks. A major application of the device is in smart phones or other mobile devices to enable UVA and UVB light measurements in support of diverse health care applications or contextual awareness algorithms.