LED Lighting

Hi I am working on a project that requires 24 VDC LED lighting to fade in and out once turned on. Does anyone have a solution ?


sounds like you just need a 24v PWM controller? https://www.amazon.ca/SODIAL-Dimming-Controller-Lights-Ribbon/dp/B00H8KTXNU

@Hekseskudd and @Rob_MacKenzie have been working on something quite similar. Theirs is dimming RGB strips, so 3 dimmable channels, whereas you only need one.

How many LEDs?
It’s not too hard to do this, as stated.

What do you mean by fade in and out?

Hi Rob, by fading in and out, I mean a breathing effect once turned on. I have about 3 meters of led’s at 15 watts per meter.


Ok, so to get the breathing effect, you’ll want to get REALLY creative with a 555, or just toss a micro controller at it. Micro controller is easier, since you can just make changes with code, but 555 is kinda cool.

There seems to be a good number of tutorials online related to this kinda effect.

Somebody here could throw one together for a couple cases of beer.

1 Like

In fact, I remember this paper from a few years ago that studied the breathing light on macbooks.


It has a really good write up on light output, PWM, and even has example code.

Hi thanks. If I want to proceed should I come by to touch base. If so which night is best for you?

Thanks again for your help.

Next Tuesday, I’m out of town right now until then.

Ok I will connect with you next week. Thanks

Should be easy with a Nano and the FastLED library.

@Johnny5 can give you and hand with this appoach.

1 Like

Yeah my design uses non addressable RGB LEDs and is completely controlled with ‘live’ microcontroller controlled MOSFETs. Using something like 5v addressable LEDs is going to be way easier with the neopixel libraries. In my case the data sheet on the MOSFETs listed a signal range that was actually about 2 volts higher in reality which caused the MOSFETs to get super hot. :fire: and that’s not gewd…thanks to @Rob_MacKenzie and his oscilliscope/ electrosleuthing skills we figured that out. (Also proper MOSFETs from

Hi Jon, are you able to build me the unit? Also can we meet up either tomorrow afternoon or next Tues.


I am soooo busy currently, I won’t be able to help you out I don’t think. I do have a working lamp with about 15 feet of 24v LEDs that could do exactly what you are after (and more!) with just a simple reflash of the code. I would need to add up the parts cost plus a little of my time to get a price for you. I have not built an enclosure for it yet, just the working guts.

That’s the enclosure for the first lamp I made. You wouldn’t need any potentiometers for your application, just a micro, buckverter, MOSFETs, switch, psu.

Hi thanks, so I have about 90 watts at 24 Vdc. I only need to be able to control the breathing pulse and get it where the client is happy. If your unit will work, I would be interested to get it.

Hi Jon, sorry to bother you again. Can you give me a quick call if possible?

604 -626 - 6921


This is a public section, just in case you didn’t know.

I can build it next week when I’m back in town as stated previously.