Puzzle: The Shadow Sensor
Objective:
Use a photoresistor to sense different light levels and turn an LED on and off based on these conditions. This puzzle introduces the concept of light sensitivity and how photoresistors work to detect changes in light.
Overview:
In this puzzle, you’ll connect a photoresistor to a circuit with an LED. By adjusting the light reaching the photoresistor, you’ll control whether the LED turns on or off. This setup demonstrates how photoresistors can be used as light sensors in electronics, where light levels dictate the behavior of connected components.
Components Needed:
- 1 LED (any color)
- 1 Photoresistor (LDR)
- 1 Resistor (10 kΩ to 100 kΩ, depending on the desired sensitivity)
- 1 Battery (e.g., AA, AAA, or 9V with a battery clip)
- Battery holder or battery clip
- Breadboard and connecting wires
Instructions:
- Circuit Design Overview:
In this circuit, the photoresistor and a fixed resistor form a voltage divider. The LED will turn on or off based on the light levels detected by the photoresistor. When light decreases (e.g., when a shadow falls over the sensor), the resistance of the photoresistor increases, affecting the voltage across the LED. - Build the Circuit:
- Setting Up the Voltage Divider:
Place the photoresistor and a fixed resistor (e.g., 10 kΩ) in series on the breadboard. Connect one end of the photoresistor to the positive terminal of the battery and the other end to the fixed resistor. Connect the other end of the resistor to the ground. - Connecting the LED:
Connect the middle point between the photoresistor and the fixed resistor to the positive leg of the LED. Then, connect the negative leg of the LED to the ground on the battery.
- Setting Up the Voltage Divider:
- How It Works:
- Light Detection:
The photoresistor’s resistance decreases in bright light and increases in low light. This change affects the voltage across the LED, which can cause it to turn on or off depending on light intensity. - Turning the LED On and Off:
When light levels drop (e.g., a shadow passes over the photoresistor), its resistance rises, changing the voltage enough to turn the LED on or off. In brighter light, the LED will behave oppositely.
- Light Detection:
- Testing and Observations:
- Experimenting with Light Levels:
Use your hand or a flashlight to vary the light conditions on the photoresistor. Observe how the LED turns on or off based on the shadows or bright light. - Adjusting Sensitivity:
Try using different resistor values in the voltage divider to adjust the light sensitivity. Higher resistance increases sensitivity to light changes.
- Experimenting with Light Levels:
- Understanding Light Sensitivity:
- Photoresistors are often used in light-sensitive applications, such as automatic lights, alarm systems, and light meters. This exercise shows how photoresistors react to light, making them useful for various automated systems.
Conclusion:
You’ve successfully created a light-sensitive circuit using a photoresistor to turn an LED on and off in response to shadows. This knowledge of light detection is essential for building projects that respond to environmental changes.