KIT INCLUDES:
- Arduino uno with USB Cable – 1
- LDR Module – 1
- Jumper wire (Male to female) – 40 pieces
- 9v battery with DC jack - 1
HARDWARE REQUIRED
- Arduino uno with USB Cable – 1
- LDR Module – 1
- Jumper wire (Male to female) – 40 pieces
- 9v battery with DC jack - 1
SOFTWARE REQUIRED
Arduino IDE 1.8.5 (programmable platform for Arduino)
Click To Download :https://www.arduino.cc/en/Main/Software
SPECIFICATIONS
LDR MODULE
- Input Voltage: DC 3.3V to 5V
- Output: Analog and Digital
- Sensitivity adjustable
PIN DESCRIPTION
LDR MODULE
CIRCUIT CONNECTION
CODE
void setup()
{
Serial.begin(9600);
}
void loop()
{
unsigned int AnalogValue;
AnalogValue = analogRead(A0);
Serial.println(AnalogValue);
}
WORKING
You can also download the sample source code attached below and upload it into Arduino. After that open "Serial Monitor" to see the result.