Jump to content

LED dimmer module - ideas wanted


lesthegrngo

Recommended Posts

Hi All

I have a number of panels that are LED backlit, mostly 12v DC powered. The problem is that they are quite variable in their brightness, and so I would like to have a simple module for each one that allows me to regulate them individually to match. I was thinking maybe a small PCB with something like a PWM controller and a trim pot, and found this

https://www.circuits-diy.com/led-dimmer-circuit-with-555-timer/

It looks simple enough, except that the 'picture' doesn't show the extra diodes and capacitors. The questions I therefore have are:

are the extra components there to compensate for the fact that the input voltage on the schematic is shown as 5 - 18v? Bear in mind my input will be a stable 12v

I will be using it with up to 50 surface mount 0805 LEDs ranged in banks of four, would the MOSFET still be required? I was hoping some kind of surface mount device could be used instead for packaging reasons

Is there any reason why the potentiometer can't be replaced by a small SMD trimmer pot? Ditto the resistors and diodes, assuming I can get suitable ones

Cheers

 

Les

 

 

Link to comment
Share on other sites

The components on the left provide the timing and duty cycle adjustment. 

I don't remember what pin 5 does.

The MOSFET is required to drive the LED current.  The 555 output couldn't do that itself.

All the parts can be surface mount. Just keep an eye on the LED current draw and MOSFET rating.

If you have a spare Arduino, you could use it with the inbuilt PWM outputs to provide software control of a few LED MOSFETs from one device.


Edited by No1sonuk
Link to comment
Share on other sites

Thanks

I saw an arduino controlled dimmer while looking at the various circuits. It's tempting, but at least at the moment I'll keep it simple. One other question, the way this would dim is by a square wave, right, rather than a sinusoidal wave. That means that the LED's will strobe, I just want to check whether it would be intrusive, as I know peripheral vision is more sensitive to it

Les

Link to comment
Share on other sites

It needs to be square to work.

PWM works by turning on at full power for the whole cycle, or part of the cycle. So on full cycle = 100% brightness. On 50% of the cycle for 50% brightness. Sine waves won't do that.

Whether or not it flickers is down to the frequency.  If the switching frequency is in the audible range, you might hear it "whine" as well.

Avoid frequencies that are exact multiples of your room lighting AC power, too.

As for keeping it simple: I've not used a 555 since I learned how to program a PIC...


Edited by No1sonuk
Link to comment
Share on other sites

Use a frequency above your hearing range...

The only thing you can do is try it.

Real aircraft AC power systems usually run at 400Hz. That gets annoying after a while!

One of the phrases we use at work when people comment on how loud the airliner ovens we're fixing are is:

"If you can hear that in a flight, you have bigger problems because the engines have stopped!"

The upshot is that even if it does whine, you might not be able to hear it over the other noises.

Or you could set the frequency at 400Hz and make it a feature. 🤣🤣


Edited by No1sonuk
  • Like 1
Link to comment
Share on other sites

That's what I did too.

Taking the console lights signal from DCS and sending it to a PWM pin to control the backlight via MOSFET.

Different light levels may be adjusted or calibrated within the Arduino code of the respective panel.

Regards, Vinc

Regards, Vinc

real life: Royal Bavarian Airforce

online: VJS-GermanKnights.de

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...