Skip to main content
RK
Rojony Khatun
Last updated: Jun 12, 2026

Light Sensitive Automatic On Off Light LDR

Automatically switch lights ON/OFF using the LDR sensor. Detect ambient light levels to control LEDs or small lamps for energy-saving DIY projects.

Advertisement
Advertisement
100W Light

100W Light

High-intensity electric bulb or LED unit

100K Fixed Resistor 1/4W

100K Fixed Resistor 1/4W

A 100,000-ohm resistor rated for 0.25 watts

[100k-fixed-resistor-1/4w]
DB3 DIAC

DB3 DIAC

Bidirectional trigger diode with a breakover voltage of ~30V

10K Fixed Resistor

10K Variable Resistor

Adjustable resistor with 10,000 ohm resistance

LDR (light-dependent resistor)

LDR (light-dependent resistor)

A resistor whose resistance decreases with increasing incident light intensity; also called a photoresistor

BT136 Triac

BT136 Triac

A bidirectional triode thyristor (TRIAC) commonly used for switching and phase control of AC loads up to 4A.

2-pin Plug

2-pin Plug

Basic electrical plug with two metal pins

*Please note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

Advertisement

Light Sensitive Automatic On Off Light LDR

Automatically switch lights ON/OFF using the LDR sensor. Detect ambient light levels to control LEDs or small lamps for energy-saving DIY projects.

Advertisement

DIY light ON-OFF project

An LDR light-sensitive automatic light ON- OFF light switches lights on in the dark and off in bright lights. It shows the detection of ambient light and a transistor-based switching of DIY electronics projects.

energy-saving light switch

The Light Sensitive Automatic On-Off Light Using LDR is a viable electronic project that turns a light ON when there is no light and OFF when it is bright. The LDR (Light Dependent Resistor) is a resistor that varies the resistance based on the light around. A switch is given by a transistor such as BC547. The transistor will conduct when the intensity of light is below a level, causing the relevant LED or lamp to turn on. Under bright conditions the transistor is not conducting and this switches the light to the OFF position. The project will be suited to students, hobbyists and DIYers who will study the concepts of light-sensitive circuits and automatic switching. It includes cheap and readily available materials. Sensitivity fine-tuning is achieved by adjusting the series resistor with the LDR. They can be used in automatic night lamps, garden lights, and the basic energy saving lighting systems.

Sponsored

Work / Installation (Inputs → Outputs)

  • Power Input → 5–12V DC supply.
  • LDR Sensor → Detects ambient light levels.
  • Voltage Divider → Sets threshold voltage for transistor switching.
  • BC547 Transistor → Switches light ON/OFF based on LDR signal.
  • Load Output → LED, lamp, or small light controlled automatically.
  • Installation → Assemble on PCB or breadboard; connect LDR, load, and DC supply; adjust resistor to set sensitivity; verify transistor orientation.

Testing & Final Adjustments

Once assembled, impose DC power and cover the LDR to represent darkness. The lamp or LED connected to it must go on. Bright light be exposed to the LDR; the load should be turned off. The series resistor can be adjusted to make fine tuning. Make sure that there is proper polarity of transistors and no loose connections. Repeat operation to ensure that it is working. An effective test will ensure that automatic switching can be used with confidence and night lamps, garden lights or energy saving lighting which is a simple and practical introduction to light-sensitive electronic circuits.

Advertisement

Frequently Asked Questions - Light Sensitive Automatic On Off Light LDR:

Light Dependent Resistor whose resistance changes with light intensity.
It acts as a switch to control lights based on LDR signal.
Typically 5–12V DC supply.
Yes, within transistor current rating.
Yes, simple and inexpensive project.
Yes, by changing the series resistor with LDR.
Yes, ideal for automatic night lamps and garden lights.
Optional diode or fuse for load safety.
Yes, within transistor current limits.
Yes, lights turn off automatically in bright conditions.
Advertisement
Advertisement
Advertisement