The CDS Module (Manufacturer: JJY, Part ID: CDS_Module) is a light-dependent resistor (LDR) that changes its resistance based on the intensity of light it is exposed to. This component is commonly used in light sensing applications such as automatic lighting systems, light meters, and various other projects requiring light detection.
Parameter | Value |
---|---|
Manufacturer | JJY |
Part ID | CDS_Module |
Operating Voltage | 3.3V - 5V |
Resistance Range | 1kΩ (bright light) to 10kΩ+ (dark) |
Power Rating | 100mW |
Response Time | 20ms (rise), 30ms (fall) |
Operating Temperature | -30°C to +70°C |
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (3.3V - 5V) |
2 | GND | Ground |
3 | OUT | Analog output (voltage varies with light intensity) |
+5V -------------------+
|
[VCC]
|
[CDS]
|
[OUT] ----> Analog Input (A0 on Arduino)
|
[GND]
|
GND -------------------+
// Sample code to read the CDS module output using Arduino
const int cdsPin = A0; // Analog pin connected to CDS module OUT pin
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud
}
void loop() {
int lightLevel = analogRead(cdsPin); // Read the analog value from CDS module
Serial.print("Light Level: ");
Serial.println(lightLevel); // Print the light level to the serial monitor
delay(500); // Wait for 500 milliseconds before next reading
}
No Output or Incorrect Readings:
Fluctuating Readings:
Analog Readings Stuck at Maximum or Minimum:
Q1: Can the CDS module be used outdoors?
Q2: What is the response time of the CDS module?
Q3: Can I use the CDS module with a 3.3V microcontroller?
Q4: How do I calibrate the CDS module?
By following this documentation, users can effectively integrate the JJY CDS_Module into their projects, ensuring accurate light sensing and reliable performance.