Datasheet
2. Parameters:
Working voltage: 3.3-5V (DC)
Current: 20MA Power: 0.1W
Operating temperature: -10 degrees Celsius to +50 degrees
Celsius Size: 31.6mmx23.7mm
Interface: 3PIN interface
Output signal: analog signal
3. Test Code
int sensorPin =A0 ; //define the analog port A0
int value = 0; //set value to 0
void setup()
{
Serial.begin(9600);//set baud rate
}
void loop()
{
value = analogRead(sensorPin); //Set value to the read value of A0
Serial.println(value, DEC); //display value
delay(100); //delay in 0.1S
}



