This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to design a LED driver with different lighting mode by one switch?

Other Parts Discussed in Thread: LM555

We need to change the LED lighting mode by one switch as below :

1.Switch on   ---> LED on constantly..

2.Switch off,then switch on quickly ---> LED is dimming

3.Switch off,then keep off for a while ---> LED on constantly.

As we know, LM555 + any LED driver with PWM dimming function may be a possible combination, but how to implement this function by LM555 ? Or is there any LED driver IC with the function inside already ?

Many thanks~

  • You do not state what your level of expertise is, but this project is a prime candidate for a microcontroller.

    You could use the PWM output from a timer in the micro to control intensity and modify the PWM value depending on the state of the push button input.

    There any many microcontrollers that can achieve this easily. AVR tiny series, PIC etc. It depends on your level of expertise.

    All of the functionality is in the software running on the micro.

    Do some investigation on the web regarding Pulse Width Modulation using microprocessors and you should get some answers.

    Regards, Dave Neale