• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Hire Me | Contact | Calculators-online
You are here: Home / Lamps and Lights / Solving LDR Controlled LED Emergency Lamp Problem

Solving LDR Controlled LED Emergency Lamp Problem

Last Updated on June 1, 2026 by Swagatam 2 Comments

The following post discusses the troubleshooting of an automatic LDR controlled emergency lamp circuit which was requested to me via email by one of the keen followers of this blog. I have explained about the issue and its solution.

Table of Contents
  • Technical Specifications
    • Analyzing the Circuit
      • Problem Solved

Technical Specifications

Dear Sir,

I am following you on your website and I thank you for your valuable contributions as I am a electronic enthusiastic from my childhood.

I love to build projects a for my own use.

I seek your help in building a simple but efficient automatic (overcharge cut off) led base emergency light with LDR sensing. Need to use 12 or more led to light up. Can you send me a simple and efficient circuit with spare details.

Please help me so that I can build this asap. Attached one circuit for your reference I tried to build this but failed.

The led is not stopping when light hits also not stopping when mains on. When light hits led’s just dimming not turning off. If you can please help me. Check if there are any errors on this circuit. Please.

Best Regards

Hariesh

Analyzing the Circuit

Dear Hariesh,

Make the base/ground resistor of the BC548 transistor to 47K and see what happens. If it still doesn't work, replace the mosfet with a 8050 transistor.

A mosfet is absolutely not required for such a simple application.
The given mosfet is an N-channel but the diagram incorrectly shows it as a P-channel.

Regards.

Dear Sir,
Sorry to bother you again.!!!

Thank you for your prompt response . can you illustrate the pin connection of 8050 in place of mosfet.?
Best RegardsHariesh

If you hold the transistor with the printed side toward you with its pins down, the center pin will be the base, the right side pin will be collector and the left side will be the emitter.

The pin toward number 8 will be the emitter, the pin at "0" will be collector...
Base will go to the 10K resistor, collector toLEDs and the emitter to ground.

Dear Sir,You are great..!! finally half success now LED turns off in the presence of light. but not when i plug in mains power. any thoughts on this.? please.

Check the 1K resistor which is connected from base of BC548 to positive between the diodes. If it's connected properly the circuit will surely switch off in the presence of AC mains.

Dear Sir,

Thank you so much for your help. the following changes have led to success as advised by you and it works like a charm.

Replaced MOSFET with 8050.

1k Resistor was not connected properly due to oversight.

Could you kind enough to explain why MOSFET was not working even though I have connected properly. Just out of curiosity and to learn. 🙂

Once again I thank you for your great help.
Regards

Hariesh

Problem Solved

The mosfet should have also worked, there can be many reasons why it didn't work, may be due to some leakage voltage across gate and positive, due to wrong pin connections or simply because the device may be faulty.
Regards.

You'll also like:

  • Simple 220V RGB LED Bulb Circuit for Christmas, Diwali Decoration
  • Stud light imageSolar Stud Light Circuit 
  • mart street light circuitSmart Street Lamp Circuit with Motion Sensor
  • LED TUBE FINALCapacitor Based LED Tubelight Using 1 Watt LEDs

Filed Under: Lamps and Lights Tagged With: Controlled, Emergency, Lamp, LDR, LED, Solving

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!



Previous Post: « How to Control Motor with a Cell Phone
Next Post: LED Tail Ring Light Circuit for your Car »

Reader Interactions

Questions & Answers

Total Posts: 2
Newest Oldest
Abdul Matheen
January 27, 2014 • 13 years ago #19392

hi sir iam not a professional in electronics and iam unable understand the circuit diagram, so i want to make a simple led emergency light please guide me

Reply
SwagatamAdmin
January 29, 2014 • 13 years ago #19411

hi abdul, you can try the first circuit from the following link:

https://www.homemade-circuits.com/2011/12/how-to-make-efficient-led-emergency.html

Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar



Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (134)
  • Automation Projects (18)
  • Automobile Electronics (104)
  • Battery Charger Circuits (90)
  • Datasheets and Components (109)
  • Electronics Theory (151)
  • Energy from Magnets and Earth (42)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (98)
  • Lamps and Lights (161)
  • Meters and Testers (72)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (30)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Security and Alarm (65)
  • Sensors and Detectors (107)
  • SMPS and Converters (46)
  • Solar Controller Circuits (62)
  • Temperature Controllers (44)
  • Timer and Delay Relay (50)
  • Voltage Control and Protection (44)
  • Water Controller (37)
  • Wireless Circuits (31)



Circuit Simulator

circuit simulator image



Subscribe to get New Circuits in your Email



Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |



Recent Comments

  • Swagatam on Adjustable Voltage Regulator Circuit using LM324 IC with Over Current Protection
  • Swagatam on 0-300V Adjustable Transformerless Power Supply Circuit Diagram
  • Swagatam on Simple H-Bridge Circuits Using BJTs and MOSFETs | No Need of Driver ICs
  • Abubakar on Simple H-Bridge Circuits Using BJTs and MOSFETs | No Need of Driver ICs
  • David on Adjustable Voltage Regulator Circuit using LM324 IC with Over Current Protection

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin

Calculators

  • ZVS Induction Heater + Tank Calculator Tool
  • Zener Diode Calculator
  • Wire Current and Thickness Calculator (Ampacity Calculator)
  • Voltage Divider Calculator
  • Transistor Base Resistor Calculator
  • Transistor Astable Multivibrator Calculator
  • TL431 Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Ferrite Core Air Gap Calculator Tool
  • Parallel MOSFET Calculator Tool: How to Connect MOSFETs in Parallel Safely
  • LC Resonance Calculator for EV Battery Charger Circuits
  • LED String Series Resistor Calculator
  • Calculator to Design a High Power 3kW PFC (Power Factor Correction) Circuit
  • Passive Power Factor Correction (PFC) Calculator
  • LM567 IC Calculator Tool
  • SMPS Flyback Boost Converter Calculator
  • Shunt Resistor Calculator for Ammeters
  • SCR and Triac Gate Resistor Calculator
  • Battery Back up Time Calculator
  • Boost Converter Calculator (Non-Isolated)
  • Bootstrap Capacitor Calculator
  • Buck Converter Calculator
  • Buck-Boost Converter Calculator
  • Capacitance Reactance Calculator
  • DCM Flyback Transformer & Wire Gauge Wire Size Calculator Tool
  • Filter Capacitor Calculator
  • IC 4047 Calculator (Frequency and PWM)
  • IC 4060 Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • IC SG3525, SG3524 Calculator
  • Inductance Calculator
  • Induction Heater Inductor and Resonant Frequency Calculator
  • Induction Heater Work Coil Calculator
  • Inverter LC Filter Calculator
  • LC Resonance Calculator
  • LED Current Calculator
  • LM317, LM338, LM396 Calculator
  • NAND/NOT Gate RC Values Calculator
  • NOT, NAND Gate Frequency Calculator
  • Notch Filter Calculator Tool
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • RC Filter Calculator
  • Reactance Calculator
  • Sine Table Calculator for SPWM Arduino Code
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • SMPS Calculator for Toroidal Ferrite Transformers
  • SMPS Flyback Transformer Calculator – Design by Target Duty Cycle
  • TL431 Calculator
  • Op-Amp Hysteresis Resistor Calculator

© 2026 · Swagatam Innovations