EasyManua.ls Logo

Velleman VMA328 - Page 3

Velleman VMA328
5 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
VMA328
V. 01 – 23/03/2018 3 ©Velleman nv
5. Overview
VMA328
Extend your light-sensing spectrum with this analogue UV sensor module. It uses a UV photodiode, which can
detect the 240-370 nm range of light (which covers UVB and most of UVA spectrum). The signal level from
the photodiode is very small, in the nano-ampere level, so we tossed on an opamp to amplify the signal to a
more manageable volt-level.
operating voltage: 3.3 V to 5 V
output voltage: 0 V to 1 V (0-10 UV index)
response time: 0.5 s
accuracy: +/- 1 UV Index
radiation wavelength: 200-370 nm
operating temperature: -20 °C to +85 °C
current consumption: 5 mA
dimensions: 24 x 15 mm
6. Connection
Connection.
Vcc======5V
Gnd======Gnd
S======A0
7. Example 1
// CODE BEGIN
void setup() {
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
// set the analog pin as input
pinMode(A0, INPUT);
}
// the loop routine runs over and over again forever:
void loop()
{
// read the input on analog pin 0:
int sensorValue = analogRead(A0);
// print out the value you read:
Serial.println(sensorValue);
delay(300); // delay in between reads for stability
}
// CODE END