The GUVA-S12SD is a UV light sensor manufactured by KEYES, with the part ID "UNO". This sensor is designed to detect ultraviolet (UV) radiation in the wavelength range of 240 to 370 nm. It outputs an analog voltage proportional to the intensity of UV light, making it an ideal choice for applications requiring UV monitoring.
The GUVA-S12SD UV sensor is a compact and efficient device with the following key specifications:
Parameter | Value |
---|---|
Operating Voltage | 3.3V to 5V |
Operating Current | 0.06 mA (typical) |
Wavelength Range | 240 nm to 370 nm |
Output Voltage Range | 0V to Vcc (proportional to UV intensity) |
Operating Temperature | -30°C to +85°C |
Dimensions | 20 mm x 10 mm x 2 mm |
The GUVA-S12SD sensor has three pins, as described in the table below:
Pin | Name | Description |
---|---|---|
1 | VCC | Power supply input (3.3V to 5V) |
2 | GND | Ground connection |
3 | OUT | Analog output voltage proportional to UV intensity |
The following example demonstrates how to connect and read data from the GUVA-S12SD sensor using an Arduino UNO:
// GUVA-S12SD UV Sensor Example with Arduino UNO
// Reads the analog output from the sensor and calculates UV intensity.
const int uvSensorPin = A0; // Analog pin connected to the sensor's OUT pin
float uvVoltage = 0.0; // Variable to store the sensor's output voltage
float uvIntensity = 0.0; // Variable to store the calculated UV intensity
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud
pinMode(uvSensorPin, INPUT); // Set the sensor pin as input
}
void loop() {
int sensorValue = analogRead(uvSensorPin); // Read the analog value
uvVoltage = sensorValue * (5.0 / 1023.0); // Convert to voltage (5V reference)
// Convert voltage to UV intensity (example conversion factor: 307)
// Note: The conversion factor depends on the sensor's calibration.
uvIntensity = uvVoltage * 307.0;
// Print the results to the Serial Monitor
Serial.print("UV Voltage: ");
Serial.print(uvVoltage);
Serial.print(" V, UV Intensity: ");
Serial.print(uvIntensity);
Serial.println(" mW/m^2");
delay(1000); // Wait for 1 second before the next reading
}
No Output Voltage:
Inconsistent Readings:
Low Sensitivity:
Q: Can the GUVA-S12SD detect visible light?
A: No, the GUVA-S12SD is specifically designed to detect UV light in the 240-370 nm range. It is not sensitive to visible light.
Q: How do I calibrate the sensor?
A: To calibrate the sensor, expose it to a known UV light source with a specific intensity. Measure the output voltage and calculate the conversion factor to relate voltage to UV intensity.
Q: Can I use the sensor outdoors?
A: Yes, the sensor can be used outdoors, but it should be protected from water and extreme environmental conditions to ensure reliable operation.
Q: What is the maximum UV intensity the sensor can measure?
A: The maximum measurable UV intensity depends on the sensor's output voltage range and the calibration factor. Typically, the sensor can measure UV intensities up to several hundred mW/m².