From MikroElektonika Documentation
Part | Datasheet |
---|---|
![]() |
MIKROE-2378 (pdf) |
PDF Datasheet Preview |
---|
UV 2 click From MikroElektonika Documentation UVA 2 click carries a VEML6075 UVA and UVB light sensor. VEML6075 is a CMOS chip that incorporates a photodiode, amplifiers, and analog/digital circuits into a single chip. Features and usage notes UV 2 click With UV 2 click, Solar ultraviolet light intensity is converted to 16-bit digital values. To keep a stable output in changing temperature conditions, the chip has temperature compensation capabilities. This ensures reliable performance under long term UV exposure. The sensor has a specified UVA sensitivity of 365 nm and UVB sensitivity of 315 nm . Measurement results are stored in four separate registers. The last result read will remain in the Schematic also available in PDF register until a new measurement is loaded. In addition to UVA and UVB it has UVD a dummy channel for dark current cancellation , UVcomp1, and UVcomp2. All registers are UV 2 click accessible via I2C communication. IC/Module VEML6075 The board communicates with the target MCU through the mikroBUS I2C interface. Both standard 100 kHz and fast 400 kHz I2C is supported. Designed to use a power supply only. Interface I2C The chip vendor provides a separate Application Note sheet with detailed specifications on how to derive UV radiation values from the sensor readings. For reference, here we provide an explanation of UVA and UVB, taken from the Application Note sheet: Power supply Website 3.3V The UVB rays - wavelengths ranging from 280 nm to 320 nm - are extremely energetic and harmful for the skin to the extent that they are responsible for 65 % of skin tumors. Thankfully, only % of the solar energy that arrives on the earth’s surface is in the shape of UVB radiation. The UVA rays - wavelengths ranging from 320 nm to 400 nm - are less powerful than the previous ones, but highly penetrating. They are capable of reaching the skin, becoming responsible for photoaging and promoting the onset of different forms of skin cancer. % of the solar energy is made up of UVA rays. Programming Code starts up the UV 2 click, reads the UV index and prints it out on the TFT board. 1 #include <stdint.h> 2 #include "resources.h" 4 uint8_t uv2_get_8bit uint8_t reg uint8_t tempreg = reg; uint8_t temp = 0; I2C1_Start ; I2C1_Write 0x10, &tempreg,1,END_MODE_RESTART ; I2C1_Read 0x10,&temp,1, END_MODE_STOP ; 13 uint16_t uv2_get_16bit uint8_t reg uint8_t temp[2] = uint16_t retval = 0; uint8_t tempreg = reg; I2C1_Start ; I2C1_Write 0x10, &tempreg,1,END_MODE_RESTART ; |
More datasheets: 9UMS9633BFILFT | 9UMS9633BKILF | 9UMS9633BFILF | 9UMS9633BKILFT | UF2840G | MAXQ1741-KIT# | QW050F1 | QW075F1 | HUF76439S3S | HUF76439P3 |
Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived MIKROE-2378 Datasheet file may be downloaded here without warranties.