跳到主要内容

Grove - UV Sensor

The Grove – UV Sensor is used for detecting the intensity of incident ultraviolet(UV) radiation. This form of electromagnetic radiation has shorter wavelengths than visible radiation. The Grove - UV Sensor is based on the sensor GUVA-S12D which has a wide spectral range of 200nm-400nm. The module outputs electrical signal which varies with the UV intensity, which gives your suggestion if it is a good idea to beach today.

Features

  • High stability
  • Good sensitivity
  • Low power consumption
  • Schottky type photodiode sensor
  • Wide response range
  • Grove Interface
提示

More details about Grove modules please refer to Grove System

Specifications

ItemMinTypicalMaxUnit
Operating Voltage3.05.05.1VDC
Current0.31mA
Output VoltagemV
Response wavelength240~370nm
Working Temperature-30~85

Platforms Supported

ArduinoRaspberry Pi
警告

The platforms mentioned above as supported is/are an indication of the module's software or theoritical compatibility. We only provide software library or code examples for Arduino platform in most cases. It is not possible to provide software library / demo code for all possible MCU platforms. Hence, users have to write their own software library.

Application Ideas

  • UV sensors are used in many different applications, include pharmaceuticals, automobiles, and robotics.
  • UV sensors are also used in the printing industry for solvent handling and dyeing processes.
  • In addition, UV sensors are used in the chemical industry for the production, storage, and transportation of chemicals as well.

The theory of UV sensor is: In sunlight, the UV index and Photocurrent are a linear relationship.

About our Grove - UV Sensor, we have converted Photocurrent to corresponding voltage value collected by Arduino/Seeeduino. The output voltage and the UV index is linear:

illumination intensity = 307 * Vsig

Vsig is the value of voltage measured from the SIG pin of the Grove interface, unit V. illumination intensity unit: mW/m2 for the combination strength of UV light with wavelength range: 240nm~370nm

备注

To calculate the UV index value, please refer to US EPA. It is hard to say that the measurement from this sensor can be converted to the EPA standard UV index, but can be estimated roughly.

UV Index = illumination intensity / 200

Getting Started

备注
This chapter is based on Win10 and Arduino IDE 1.6.9

We will show you how this Grove - UV Sensor works through a simple demo. First of all, you need to prepare the below stuffs:

Seeeduino V4Grove - UV SensorBase Shield
Get ONE NowGet ONE NowGet ONE Now

Connection

Thanks to the benefits of Grove series modules, you don't need to make soldering or bread board, what you need to do is to connect the modules to the right port of Base Shield. For this demo, we only need one Grove module.

  • Connect Grove UV Sensor to A0 port of Grove - Base Shield.
  • Plug the Grove - Base Shield into Arduino/Seeeduino and connect them to PC by using a USB cable.
  • The demo code is shown below.

Upload the sketch to Arduino and open the serial port to monitor the data

// modified by Victor
// to calculate UV index directly
void setup(){

Serial.begin(9600);
}

void loop()
{
int sensorValue;
long sum=0;
for(int i=0;i<1024;i++)// accumulate readings for 1024 times
{
sensorValue=analogRead(A0);
sum=sensorValue+sum;
delay(2);
}
long meanVal = sum/1024; // get mean value
Serial.print("The current UV index is:");
Serial.print((meanVal*1000/4.3-83)/21);// get a detailed calculating expression for UV index in schematic files.
Serial.print("\n");
delay(20);

}

Resources

Tech Support

Please submit any technical issue into our forum.

Upgradable to Industrial Sensors

With the SenseCAP S2110 controller and S2100 data logger, you can easily turn the Grove into a LoRaWAN® sensor. Seeed not only helps you with prototyping but also offers you the possibility to expand your project with the SenseCAP series of robust industrial sensors.

The IP66 housing, Bluetooth configuration, compatibility with the global LoRaWAN® network, built-in 19 Ah battery, and powerful support from APP make the SenseCAP S210x the best choice for industrial applications. The series includes sensors for soil moisture, air temperature and humidity, light intensity, CO2, EC, and an 8-in-1 weather station. Try the latest SenseCAP S210x for your next successful industrial project.

Loading Comments...