-
Notifications
You must be signed in to change notification settings - Fork 5
Analog_Grayscale_Sensor_V2_SKU_DFR0022
Angelo edited this page Sep 21, 2016
·
3 revisions

Here comes DFRobot's new Analog Ambient Light Sensor. Brand new design and much more convenient to use.This module help you to detect the light density and reflect the analog voltage signal back to Arduino controller. You can set the threshold of voltage level to trigger motors, relays or other actuators.
- Supply Voltage: 3.3V to 5V
- Interface: Analog
- Size:22x30mm

void setup()
{
Serial.begin(9600); // open serial port, set the baud rate to 9600 bps
}
void loop()
{
int val;
val=analogRead(0); //connect grayscale sensor to Analog 0
Serial.println(val,DEC);//print the value to serial
delay(100);
}Analog Grayscale Sensor(SKU:DFR0022)
shopping analog grayscale sensor v2
category: Product Manual category: DFR Series category: Sensors