• 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 | Contact | Calculators-online
You are here: Home / Lamps and Lights / Light Dependent LED Intensity Controller Circuit

Light Dependent LED Intensity Controller Circuit

Last Updated on March 13, 2019 by Swagatam 27 Comments

In this post I have explained a simple ambient light dependent LED illumination controller circuit. The light fades or intensifies proportionately i response to the ambient light conditions. With brighter daylights, the LEd illumination gets softer and vice versa. The idea was requested by one of the dedicated members of this blog.

Table of Contents
  • Technical Specifications
  • The Design

Technical Specifications

While seeking through the internet for a fully automated day/night LED Time Controller, I found your blog and I was wondering if you could help me with an advice.

I want to add some kind of controller to give me smooth transition from sunrise/sunset of an aquarium LED lamp and with what I found on internet so far, seems way too complicated or just expensive for my goal.

I was looking for something simple, without the need of simulating a thunderstorm through an Arduino board with n channels I will never use.

I want something that could light up some LEDs at a given time while fading other LEDs, all with a smooth transition. And this has to repeat twice a day, every day.

What do you say, can you help me?

The lamp I have, is:

12 x Cree XP-G2 R5 - 6500 - 7000K

4 x Cree XP-G2 R2 - 2700 - 3200K

2 x OSRAM SSL80 Hyper Red

- for night time

2x CREE XP-G R2

All connected through 5 x KSQ 400mA (with the maximum of 6 LEDs in a row for each KSQ 400mA) to a laptop power adapter.

Now, I don't know if my LEDs have dimming capability or I have to pass them through some dimmable drivers to obtain the desired effect.

Also, the systems I found so far, are all based on a Arduino and they seem bulky. ex. Neptune (Apex), Profilux, Reef Keeper, DIM4

So, that being said,
thank you in advance for any help.

The Design

ambientlightdependentfadingledlights

The shown light dependent led controller circuit is basically a light dependent PWM optimizer circuit whose duty cycle varies in accordance with the potential difference or level at its cotrol pinout.

As can be seen the circuit includes a couple 555 ICs. IC1 is configured as a standard astable having a frequency of around 80Hz. This frequency is not crucial in terms of the circuit functioning.

IC2 is configured as a PWM generator such that it compares the square wave signal at its pin2 and the triangle wave across its pin6/7.

This results in an output with a particular PWM content at pin#3 of ICs.

However this PWM duty cycle can be varied simply varying the potential difference at pin#5 of IC2.

An LDR can be seen attached across a potential divider preset at pin#5 of this IC. The preset can be used for fine tuning the results as desired.

The LDR resistance level now determines and varies the potential across this sensing pinout which in turn results in a proportionately varying duty cycle at pin#3.

The varying duty cycle causes the connected transistors to conduct accordingly and produce the correspondingly varying intensities over the connected LEDs.

The two transistors are configured as inverters which ensure opposite responses over the LED sets connected across the collector of the respective transistors.

You'll also like:

  • 1.  Variable LED Intensity Controller Circuit
  • 2.  How to Build a Grow Light Circuit
  • 3.  3D Moon-Sphere LED Driver with Charger and Dimmer Circuit
  • 4.  How to Connect Car LED Downlight
  • 5.  Capacitor Based LED Tubelight Using 1 Watt LEDs
  • 6.  LED Arrow Direction Indicator Circuit

About Swagatam

I am an electronics engineer with over 15 years of hands-on experience. I am passionate about inventing, designing electronic circuits and PCBs, and helping hobbyists bring their projects to life. That is why I founded homemade-circuits.com, a website where I share innovative circuit ideas and tutorials. Have a circuit related question? Leave a comment.... I guarantee a reply!

Previous Post: « Programmable Diesel Generator Timer Circuit
Next Post: How to Generate Cold Electricity »

Reader Interactions

Comments

  1. Jon says

    February 18, 2018 at 1:37 pm

    Hello Mr. Swagatam, I love this idea and thank you for creating it. I would like to run this off a 35.5v power supply to run 63 leds, with a total draw of 126.65ma. I already figured the led arrangements and resistors and tested them with the supply, and it all works well. The led string voltages range between 20.5 and 35.2. I know the 555 can’t handle the 35v, can I just use a lm7812 or a lm317 to regulate the power to the 555 and have the collector/leds run off the 35.5v? Also can I use bc547’s instead of the Tip 122’s? As they are not drawing that much. I have tested with the 12volt supply with a few leds and got it working, but the leds connected to the first transistor don’t go out all the way. When I tested it using 1k resistors, they are drawing 3.92ma when on and .17ma when they are supposed to be off. I’m not sure why. I only have a 250k pot, could that be the problem? Thank you for your help.

    Reply
    • Swagatam says

      February 18, 2018 at 8:40 pm

      Hello Jon, the set up which you have mentioned will work, but there are a few things which cannot be implemented as per your specifications:

      1) BC547 cannot be used, instead you can try 2N2222 or 8050 transistor.
      2) the pin#5 set up as shown may not be too efficient for the operations, therefore we may have to use a transistor stage here to increase the efficiency of the LDR, for this you may use a BC547 with its emitter connected with pin#5 of the IC2, base connected to the positive line through the LDR, and a 100K resistor connected between its base and the ground line. A 4k7 pot may be connected across pin#5 of IC2 and ground for controlling the sensitivity rate of the circuit.

      To ensure complete shut off of the LEDs, you may connect a small value resistors across base emitter of the two driver transistors.

      Reply
  2. Nitu says

    February 10, 2014 at 11:44 am

    Thnx sir i'll buy it

    Reply
  3. Nitu says

    February 9, 2014 at 7:47 am

    Sir is there any transformerless circuit for charging 12v7ah battery.

    Reply
    • Swagatam says

      February 10, 2014 at 4:51 am

      you can buy a readymade 14V/1amp smps adapter for charging it.

      Reply
  4. Nitu says

    February 5, 2014 at 1:54 pm

    Thnx sir i'll buy a new one.

    Reply
  5. Nitu says

    February 5, 2014 at 8:23 am

    Sir i'm about to use it in battery charger but in that circuit transfrmer which does nt hve centre is used…but i hve a centre tapped transformer. Do i need to buy a new transformer without centre tapped or can i use this centre tap one. Sorry sir if my Q is smewhat crazy i'm new in electronics.

    Reply
    • Swagatam says

      February 5, 2014 at 12:58 pm

      sorry I confused it to be the inverter transformer, for the battery charging you can use any transformer that is able to produce 14V after rectification, a 0-12V transformer will work, or 6-0-6 without center tap will also work

      Reply
  6. Nitu says

    February 3, 2014 at 1:03 pm

    Thnx sir. Can i use centre tap transformer without using the centre.

    Reply
    • Swagatam says

      February 5, 2014 at 6:48 am

      where will you connect the battery positive if the center tap is not used?

      Reply
  7. Nitu says

    February 2, 2014 at 5:00 pm

    Sir i have ac adapter which output voltage is 9v 500ma DC. Can i use this for charging 12volt

    Reply
    • Swagatam says

      February 3, 2014 at 4:14 am

      the transformer ampere rating should be not less tan 1/10th of the battery AH rating, only then it will charge the battery optimally.

      Reply
  8. Nitu says

    February 2, 2014 at 3:07 pm

    Thnk you sir Swagatam you help me a lot.

    Reply
  9. Nitu says

    February 2, 2014 at 8:16 am

    Sir swagatam i hve another Q. In the circuit i hve shown you about the charger, it is recomended of using 100uf35v capacitor. But i have 100uf25v and another 100uf65v. Can i choose any one of them or shall i used the recommended one.

    And sir for that inverter project i hve bought a 12v5amp transformer and two 2N3005 transistor. But i could not find any 10 watt resistor. I have search many shops but i could not. Is there any replacement of those resistor possible in that circuit. Can i used ten wirewound 1watt resistor in series to get 10 watt. Sorry for disturbing you a lot sir.

    Reply
    • Swagatam says

      February 2, 2014 at 1:49 pm

      Nitu, you can use 100uF/25V since it's a 14V application.

      series will not increase wattage, you will have to connect them in parallel

      you can use 10nos 1k/1watt in parallel for getting 100ohms 10 watt and 10nos 150 ohms/ 1watt in parallel for getting 15 ohms 10 watt

      Reply
  10. Nitu says

    February 1, 2014 at 3:52 pm

    Thnk you very much sir for ur kind responds.

    Reply
  11. Nitu says

    February 1, 2014 at 1:42 am

    Thnx sir…pliz give me a simple and low cost battery charger for using in this project.

    Reply
    • Swagatam says

      February 1, 2014 at 2:51 pm

      you can use the linked circuit that you had referred to. 2amp trafo will work, you can use 1N5402 diodes in it.

      Reply
  12. Nitu says

    January 31, 2014 at 9:36 am

    One more qstn sir…here in the part list 32ah battry is given. Can i use any other bttery of lesser ah?

    Reply
    • Swagatam says

      January 31, 2014 at 2:00 pm

      yes can be used, but smaller battery will give shorter backup time.

      Reply
  13. Nitu says

    January 31, 2014 at 9:19 am

    Thnx sir

    Reply
  14. Nitu says

    January 30, 2014 at 1:02 am

    Thnx sir i hve seen the circuit but i have a confusion. In that circuit R1 and R2, can i choose 100 ohms and 15 ohms resister instead of that wirewound. I'm new in electronic so help me pliz sir.

    Reply
    • Swagatam says

      January 30, 2014 at 1:48 pm

      Ordinary carbon resistors will burn quickly, you will have to use wirewound type resistors only, an example can be seen in the following image:

      ecx.images-amazon.com/images/I/31xsAi4M7rL._SY300_.jpg

      Reply
  15. Nitu says

    January 28, 2014 at 9:22 am

    Sir i'm nitu. Pliz give me a circuit for inverter for lighting five 15watt cfl bulb.

    Reply
    • Swagatam says

      January 29, 2014 at 4:12 am

      Nitu, you can try this circuit:

      https://www.homemade-circuits.com/2012/02/how-to-make-simplest-inverter-circuit.html

      Reply
  16. jideofor5050 says

    January 26, 2014 at 5:11 am

    Please sir, i bought a small transformer of 9V 500mA(I want to use it as a stepdown transformer). I want to convert its secondary coil's voltage and current to 6V ,3A respectively. My question is, what should be the length of the wire in centimeter(cm) and its thickness in millimeter(mm). If possible, show me how to calculate for its voltage and current without considering the number of turns and the primary coil

    Reply
    • Swagatam says

      January 27, 2014 at 4:20 am

      sorry, it's very difficult, I have no idea about it.

      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

Subscribe to New Circuit Ideas

Categories

  • Arduino Projects (87)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (83)
  • Datasheets and Components (104)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (87)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (37)
  • Water Controller (36)

Calculators

  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Filter Capacitor Calculator
  • Buck Converter Calculator
  • Boost Converter Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Wire Current Calculator
  • SMPS Transformer Calculator
  • IC SG3525, SG3524 Calculator
  • Inverter LC Filter Calculator

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 Real MPPT Solar Charger Circuit Using Arduino, LCD, and Manual/Auto Switch
  • Obaidullah Khan on Real MPPT Solar Charger Circuit Using Arduino, LCD, and Manual/Auto Switch
  • Swagatam on 2 Compact 12V 2 Amp SMPS Circuit for LED Driver
  • Alan Bishop on AC Motor Speed Controller Circuits using Back EMF
  • Swagatam on Real MPPT Solar Charger Circuit Using Arduino, LCD, and Manual/Auto Switch

Company

  • Privacy Policy
  • Cookie Policy
  • About Me
  • Contact
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin
  • © 2025 · Swagatam Innovations