Supply Voltage: 2.5V – 5V
Wavelength: 240nm – 370nm
Viewing Angel: 130degree
Output Date: Analogue
Size: 11mm X 27mm
Testing Source Code:
void setup()
{
Serial.begin(9600);
}
Â
void loop()
{
float sensorVoltage;
float sensorValue;
Â
sensorValue = analogRead(A0);
sensorVoltage = sensorValue/1024*3.3;
Serial.print("sensor reading = ");
Serial.print(sensorValue);
Serial.println("");
Serial.print("sensor voltage = ");
Serial.print(sensorVoltage);
Serial.println(" V");
delay(1000);
}
Reviews
There are no reviews yet.