Wish List 0

Gyml8511 Analog Output Ultra Violet Light Sensor Module

Rs. 458.00 Rs. 550.00

-This is GYML8511 Analog Output Ultra-Violet Light Sensor Module.
-The GYML8511 module is easy to apply the ultraviolet mild sensor.
-The GYML8511 Sensor works by using outputting an analog sign with regards to the amount of detected UV light.

-This breakout can be very accessible in growing gadgets that warn the user of sunburn or stumble on the UV index as it pertains to climate situations.

-This sensor detects 280-390nm mild maximum successfully.
-This is categorized as a part of the UVB (burning rays) spectrum and maximum of the UVA (tanning rays) spectrum.
-It outputs an analog voltage this is linearly associated with the measured UV intensity (mW/cm2).

Simply join the output of the module to an ADC channel of the microcontroller to study UV Light intensity.
Features :
1. Photodiode sensitive to UV-A and UV-B
2. Embedded operational amplifier
3. Analog voltage output
4. Low supply current (300uA type) and low standby current (0.1uA type)

SPECIFICATIONS:
Model                       GY-ML8511
Operating Voltage(VDC)      3 to 5
Operating Current           120μA (typical) 190μA (max)
Operating Temperature (°C)  -40 to +90
Detection Wavelength Band   280nm to 390nm
Peak Wavelength             365nm

OVERVIEW:

-Operating voltage (VCC): 3 V to 5V

-Operating current: 120μA (typical) 190μA (max)

-Operating Temperature: -40°C ~ +85°C

-Photodiode sensitive to UV-A and UV-B

-Embedded operational amplifier

-Analog voltage output

-Low supply current (300uA type) and low standby current (0.1uA type)

PACKAGE INCLUDES:

1 PCS x ML8511 Analog Output Ultra-Violet Light Sensor Module

//SOURCE CODE TAKEN FROM BELOW LINK

//http://arduinolearning.com/code/arduino-and-ml8511-example.php


int UVsensorIn = A0; //Output from the sensor

 

void setup()

{

  pinMode(UVsensorIn, INPUT);

  Serial.begin(9600); //open serial port, set the baud rate to 9600 bps

}

 

void loop()

{

  int uvLevel = averageAnalogRead(UVsensorIn);

 

  float outputVoltage = 3.3 * uvLevel/1024;

  float uvIntensity = mapfloat(outputVoltage, 0.99, 2.9, 0.0, 15.0);

 

  Serial.print(" UV Intensity: ");

  Serial.print(uvIntensity);

  Serial.print(" mW/cm^2"); 

  Serial.println(); 

  delay(200);

}

 

//Takes an average of readings on a given pin

//Returns the average

int averageAnalogRead(int pinToRead)

{

  byte numberOfReadings = 8;

  unsigned int runningValue = 0; 

 

  for(int x = 0 ; x < numberOfReadings ; x++)

    runningValue += analogRead(pinToRead);

  runningValue /= numberOfReadings;

 

  return(runningValue);  

 

}

 

 

float mapfloat(float x, float in_min, float in_max, float out_min, float out_max)

{

  return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;

}

15 days

Write a review

Please login or register to review