Xadow - UV Sensor

Xadow UV Sensor is suitable for measuring the UV radiation in sunlight. It can detect the UV wavelength of 290 ~ 400 nm. The UV Sensor is outputting digital voltage value corresponding to UV light intensity. With the diagram of output voltage and UV, we can easy to know the current UV index. The Xadow UV Sensor can be powered by 3.3V. And it is compatible with Xadow system.

Xadow UV Sensor can output a voltage value corresponding to UV index. Because there is a linear relationship between the output voltage and UV index, you can also directly see UV index with a formula. Next we show how to use UV sensor to know the UV index and display it on the OLED screen.

When connect Xadow UV Sensor to Xadow Main Board, you should concern about the connection direction. The connection method is that the unfilled corner of one Xadow module need to connect to the right angle of another module(see four corners of each Xadow module).

The Xadow UV Sensor has a seven-bit hardware address which is referred to as a slave address. And the slave address is configured by the ADR0 and ADR1 address selection inputs. ADR0 and ADR1 can be low level, left floating, or tied to high level.The state of these inputs sets the hardware address that the module responds to on the I2C bus (see the below Table).

Slave Address[A6 - A0]

ADR0 and ADR1 inputs state

ADR1

ADR0

1010000(0x50)

Floating

Floating

1010001(0x51)

Floating

L

1010010(0x52)

Floating

H

1010100(0x54)

L

Floating

1010101(0x55)

L

L

1010110(0x56)

L

H

1011000(0x58)

H

Floating

1011001(0x59)

H

L

1011010(default 0x5A)

H

H

In default mode, ADR0 and ADR1 are connected to "H"(see the Xadow UV Sensor)