Data Sheet

VMA328
V. 01 23/03/2018 4 ©Velleman nv
8. Example 2
// CODE BEGIN
void setup()
{
Serial.begin(9600);
}
void loop()
{
float sensorVoltage;
float sensorValue;
sensorValue = analogRead(A0);
sensorVoltage = sensorValue/1024*3.3; // Change 3.3 to 5 if the power supply of the VMA328 is 5V.
Serial.print("sensor reading = ");
Serial.print(sensorValue);
Serial.println("");
Serial.print("sensor voltage = ");
Serial.print(sensorVoltage);
Serial.println(" V");
delay(1000);
}
// CODE END
9. Output Voltage/Readings vs. UV Intensity
0
1
2
3
4
5
< 50
227
318
408
503
606
< 10
47
65
83
103
124
6
7
8
9
10
11
696
795
881
986
1079
1170+
142
162
180
200
221
240
10. More Information
Please refer to the VMA328 product page on www.velleman.eu for more information.
Use this device with original accessories only. Velleman nv cannot be held responsible in the event
of damage or injury resulting from (incorrect) use of this device. For more info concerning this
product and the latest version of this manual, please visit our website www.velleman.eu. The
information in this manual is subject to change without prior notice.
© COPYRIGHT NOTICE
The copyright to this manual is owned by Velleman nv. All worldwide rights reserved. No part of this
manual may be copied, reproduced, translated or reduced to any electronic medium or otherwise without the
prior written consent of the copyright holder.