Professional Documents
Culture Documents
Section ECSc. 1
Theory:- The photoresistor theory involves a light-sensitive component that alters its
resistance based on incident light intensity. In an Arduino circuit, a photoresistor, connected
to an analog pin, forms a voltage divider with a fixed resistor. As light changes, the
resistance of the photoresistor varies, causing a corresponding change in voltage at the
analog pin. Arduino reads this voltage and converts it into a digital value. By programming
threshold levels, the Arduino can trigger actions, making the photoresistor a versatile tool for
light-dependent applications like automatic lighting control, dark-sensing alarms, or
interactive light installations.
Applications:-
1. Automatic Lighting Control:
Photoresistors can be used with Arduino to control the brightness of LEDs or other light
sources based on ambient light levels. This is commonly employed in streetlights, outdoor
lighting, or indoor spaces to save energy.
2. Darkness-Activated Alarms:
Photoresistors can trigger alarms or notifications when ambient light falls below a certain
threshold, alerting users to darkness or potential security concerns.
Conclusion:-