Gravity VEML6075 UV Sensor Module
SKU:SEN0303
Introduction
This is a UV sensor module based on Vishay VEML6075 sensor, adopting individual UVA
and UVB channel solution with 16-bit resolution. It can convert solar UV light intensity
to digital data to provide an accurate measure of the signal strength.
VEML6075 UV sensor can give a reliable performance of UV radiation measurement
under long time solar UV exposure. Furthermore, the sensor provides excellent
temperature compensation capability within -40Ԩ to +85Ԩ. VEML6075 features, low
power consumption, and its minimum power can be as low as 800nA in shut-down
mode. The operating voltage of the sensor ranges from 3.3V to 5V. It adopts IIC
protocol, which can work well with any microcontroller that supports IIC.
Compatible with Arduino and Raspberry Pi, this sensor can be used in portable
electronic product, wearable device, weather station, flame detecting and so on. We
have related Arduino and Python library for your reference, and provide you with a
Gravity connector to enable you to use the sensor without soldering.
Application
Ultraviolet tester, outdoor UV detector, bactericidal lamp
Specification
Operating Voltage: 3.3V~5V
Operating Current: 700uA
Shut-down Mode: 10uA
UV Chip: VEML6075
Output: digital output
Response Wavelength: UVB (λ0.5) within 315nm to 340nm; UVA (λ0.5) within 350nm to
375nm.
Interface: PH2.0-4P
IIC Address: 0x10
Dimension: 22×30mm/0.87×1.18”
Mount Hole Size: 3mm
Mount Hole Pitch: 15mm
Operating Temperature: -40Ԩ~+85Ԩ
NOTE: to get more accurate measurement, the sensor should direct to ultraviolet
light source.
Pinout
Num
Label
Description
1
SDA
Serial Data Line
2
SCL
Serial Clock Line
3
GND
Ground
4
VCC
DC 3.3V~5.5V
Tutorial (Arduino)
Connect the sensor with Arduino UNO via I2C interface as shown below:
Connect the sensor VCC to power pin(3.3V or 5V) of Arduino microcontroller.
Connect the sensor GND to Arduino GND.
Connect the sensor SCL to I2C SCL pin of Arduino (pin A5 in Arduino UNO&328).
Connect the sensor SDA to I2C SDA pin of Arduino (pin A4 in Arduino UNO&328).
Arduino Example Code
Click to download DFRobot_VEML6075 Library file, about how to install the library?
/*!
* file VEML6075SimpleTest.ino
* simple test for VEML6075
* Print UVA index, UVB index and UV index on the serial monitor
*
* Copyright [DFRobot](http://www.dfrobot.com), 2018
* Copyright GNU Lesser General Public License
* version V1.0
* date 2018‐12‐18
*/
#include
#include
#define VEML6075_ADDR 0x10
DFRobot_VEML6075_IIC VEML6075(&Wire, VEML6075_ADDR); // create object
void setup()
{
Serial.begin(115200);
delay(2000);
while(!Serial);
Serial.println();
while(VEML6075.begin() != true) {
Serial.println("VEML6075 begin faild");
delay(2000);
}
Serial.println("VEML6075 begin successed");
}
void loop()
{
uint16_t UvaRaw = VEML6075.readUvaRaw(); // read UVA raw
uint16_t UvbRaw = VEML6075.readUvbRaw(); // read UVB raw
uint16_t comp1Raw = VEML6075.readUvComp1Raw(); // read COMP1 raw
uint16_t comp2Raw = VEML6075.readUvComp2Raw(); // read COMP2 raw
float Uva = VEML6075.getUva(); // get UVA
float Uvb = VEML6075.getUvb(); // get UVB
float Uvi = VEML6075.getUvi(Uva, Uvb); // get UV index
Serial.println();
Serial.println("======== start print ========");
Serial.print("UVA raw: ");
Serial.println(UvaRaw);
Serial.print("UVB raw: ");
Serial.println(UvbRaw);
Serial.print("COMP1 raw: ");
Serial.println(comp1Raw);
Serial.print("COMP2 raw: ");
Serial.println(comp2Raw);
Serial.print("UVA: ");
Serial.println(Uva, 2);
Serial.print("UVB: ");
Serial.println(Uvb, 2);
Serial.print("UVIndex: ");
Serial.print(Uvi, 2);
if(Uvi
很抱歉,暂时无法提供与“SEN0303”相匹配的价格&库存,您可以联系我们找货
免费人工找货- 国内价格 香港价格
- 1+63.056061+7.81303