UV sensor SKU: SEN0162

From DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot.com


This UV Sensor used GUVA-S12SD chip is suitable for detecting the UV raditation in sunlight. It can be used in UV Index Monitoring, DIY project, UV-A Lamp Monitoring, Plants growing Environmental monitoring...etc.
It can detect the UV wavelength of 200-370nm, fast response, linear analog voltage signal output. Small size, easy for installing. With the diagram of the world health organization UV index grading standards, you can know the UV index from the sensor directly.


  • UV-A Lamp Monitoring
  • UV Index Monitoring
  • DIY UV electronic project,etc...


  • Operating Voltage: 5V
  • Output voltage: DC 0-1V(Corresponding 0-10 UV index)
  • Operating Current: 0.06mA(0.1mA max)
  • UV wavelength detect: 200-370nm
  • Test accuracy: ±1UV INDEX
  • Response time: <0.5s
  • Operating temperature: -20℃-85℃
  • Dimension: 30 x 22mm


SEN0162 Connection diagram

UV index

Sample Code

# This Sample code is for testing the UV Sensor .
    OUT-Analog pin 0

void setup() 
  Serial.begin(9600);// open serial port, set the baud rate to 9600 bps
void loop() 
  int sensorValue;
  int analogValue = analogRead(0);//connect UV sensors to Analog 0    
  if (analogValue<20)
    sensorValue = 0;
    sensorValue = 0.05*analogValue-1;
  Serial.println(sensorValue);//print the value to serial  

Nextredirectltr.pngGo Shopping UV Sensor (SKU:SEN0162)