Your Universal Remote Control Center
RemoteCentral.com
Custom Installers' Lounge Forum - View Post
Previous section Next section Previous page Next page Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Page 1 of 2
Topic:
Fade to on off LED strip.
This thread has 24 replies. Displaying posts 1 through 15.
Post 1 made on Thursday November 24, 2016 at 08:19
Craig Aguiar-Winter
Senior Member
Joined:
Posts:
September 2002
1,489
Have a client who would like LED strips to fade on and fade off on a motion sensor. I found on eBay a controller that has the PIR motion sensor but it doesn't fade. Can anyone direct me to where I might find something like this?

Thanks.

Craig.
My wife says I can't do sarcasm. She says I just sound like an a$$hole.
Post 2 made on Thursday November 24, 2016 at 08:44
SWOInstaller
Select Member
Joined:
Posts:
October 2010
1,596
I'm assuming you already have a lighting system installed? If so can you not connect the PIR to this system and program accordingly?
You can't fix stupid
OP | Post 3 made on Thursday November 24, 2016 at 10:53
Craig Aguiar-Winter
Senior Member
Joined:
Posts:
September 2002
1,489
No lighting system. Guy just asked me if I could look into some lighting strips on a motion sensor that turn on and off slowly. I'd like to keep it simple. There is no desire to install a large lighting or automation system or control system.

He has a long bench in his hallway. There is a power receptical that's not switched. He thinks it would be cool if it had some funky lighting under it.
My wife says I can't do sarcasm. She says I just sound like an a$$hole.
Post 4 made on Thursday November 24, 2016 at 11:24
buzz
Super Member
Joined:
Posts:
May 2003
4,376
Use an automotive LED strip that runs from low voltage. Put the strip in parallel with a capacitor and add a resistor in series with the DC power supply that charges the capacitor. The capacitor will charge slowly when power is applied and discharge slowly when power is removed.
OP | Post 5 made on Thursday November 24, 2016 at 12:18
Craig Aguiar-Winter
Senior Member
Joined:
Posts:
September 2002
1,489
I understand how that would allow it to fade to off, by varying the discharge rate of the cap, but how does that allow for slow turn on. The cap doesn't limit anything passing through.

That's not my area of expertise (hence my question) but I've done just that make constant lighting circuits in my model trains and they come on immediately and then turn off slowly after I remove track power.

Craig
My wife says I can't do sarcasm. She says I just sound like an a$$hole.
Post 6 made on Thursday November 24, 2016 at 12:30
tweeterguy
Loyal Member
Joined:
Posts:
June 2005
7,713
Hook up a PIR to hot/neutral to switch out the hot to the outlet. Outlet output feeds a standard 12v transformer/wallwart. 12v transformer powers an LED ramp up/down unit such as this:

[Link: oznium.com]
Post 7 made on Thursday November 24, 2016 at 12:32
Ernie Gilman
Yes, That Ernie!
Joined:
Posts:
December 2001
30,104
buzz suggests something that's a really good idea, for which I've been quite criticized in the past: use old technology (capacitor charging) and don't give any suggested parts values. Still, I'd definitely try this myself.

The capacitor will probably have to be in the 4700 mfd or larger range. The resistor will make the voltage ramp up, but it will also lower the maximum light level. You might find that you have to use a 24 or higher voltage power supply because the resistor will always be in series with the LEDs. The resistor also might get hot.

A better idea is basically the same thing, but with a stage of amplification added. Charge a capacitor through a resistor, but have the capacitor voltage fed to the base of a transistor wired in an open collector configuration with the LEDs as a load. This could then be done with a much smaller capacitor.

This is more complicated because switching is not so simple since the "power" switch would turn on and off voltage to the capacitor. The actual power supply would stay on all the time.

The difference between buzz's idea and the use of a transistor is that with buzz's idea you have to make a capacitor charge up slowly to 12 volts with quite a load on it, then fade slowly, which is even more difficult without a HUGE capacitor. The transistor idea has you charging up a capacitor to only about 0.7 volts, then draining to zero. Using an FET makes this even easier as the gate current is tiny.

Last edited by Ernie Gilman on November 24, 2016 12:43.
A good answer is easier with a clear question giving the make and model of everything.
"The biggest problem in communication is the illusion that it has taken place." -- G. “Bernie” Shaw
Post 8 made on Thursday November 24, 2016 at 12:48
buzz
Super Member
Joined:
Posts:
May 2003
4,376
Time constant calculations: [Link: en.wikipedia.org]

The trick here is to work from the current draw of the LED strip and convert this to an equivalent resistance that will be used to draw an equivalent circuit while you calculate possibilities. You'll need to fuss with things because the human's response to the change in light value is nonlinear, as is the voltage ramp, and the LED's will not turn ON until the voltage crosses their forward drop (probably in the 1.8 - 3V range, depending on color). I would start with a charging current that is twice the rate of the LED current draw.

If the DC supply is regulated, this will mess with the timing because the regulated supply probably has its own capacitor and the supply's output will not collapse instantly. However, you can work around this by loading the supply, thereby forcing it to collapse promptly after power is removed.

If the capacitor does not discharge fast enough, place a reverse diode across the charging resistor, and a resistor in series with that diode. After the charging supply collapses, this reverse R/C diode network, along with the LED draw, will control the discharge rate.

Last edited by buzz on November 24, 2016 13:19.
OP | Post 9 made on Thursday November 24, 2016 at 16:39
Craig Aguiar-Winter
Senior Member
Joined:
Posts:
September 2002
1,489
Wow awesome info fellas. Thanks very much for taking the time to describe all of that in so much detail.

Craig
My wife says I can't do sarcasm. She says I just sound like an a$$hole.
Post 10 made on Thursday November 24, 2016 at 19:17
buzz
Super Member
Joined:
Posts:
May 2003
4,376
Actually, just looked at the suggestion by tweeterguy above, This seems interesting. From the description I think that it would be best to have the dongle powered at all times and use the PIR strictly as a trigger.
OP | Post 11 made on Thursday November 24, 2016 at 23:13
Craig Aguiar-Winter
Senior Member
Joined:
Posts:
September 2002
1,489
Yes based on the description that prevents flickering on start up. That would be pretty easy to accomplish.
My wife says I can't do sarcasm. She says I just sound like an a$$hole.
Post 12 made on Friday November 25, 2016 at 01:07
Ernie Gilman
Yes, That Ernie!
Joined:
Posts:
December 2001
30,104
On November 24, 2016 at 08:19, Craig Aguiar-Winter said...
Have a client who would like LED strips to fade on and fade off on a motion sensor. I found on eBay a controller that has the PIR motion sensor but it doesn't fade. Can anyone direct me to where I might find something like this?

Would you please tell me the operating voltage and current of the LEDs?

I've seen several approaches to this and none have been satisfactory as far as the lowest couple dozen of light levels when dimming down.

I'm about to buy one of these: [Link: oznium.com] to see if this company has solved this weakest point of LED dimming.

If that doesn't work I'd use the approach I spoke of before: use a transistor to turn the LEDs on and off, and put a resistor and capacitor on the transistor to make it turn the LED voltage up and down over several seconds instead of rapidly.
A good answer is easier with a clear question giving the make and model of everything.
"The biggest problem in communication is the illusion that it has taken place." -- G. “Bernie” Shaw
OP | Post 13 made on Friday November 25, 2016 at 07:33
Craig Aguiar-Winter
Senior Member
Joined:
Posts:
September 2002
1,489
Hey Ernie.

This is the kit I'm hoping by to use.

[Link: m.ebay.com]

It's a 12v 2A power supply for the 5m strip. The bench is 3m long. 3/5 of the length so maybe 1.2 A current draw?

The idea would be to dig into the PIR circuit and find constant 12v, tap it to power the fader box and then tap the PIR out put to feed the trigger.

Craig
My wife says I can't do sarcasm. She says I just sound like an a$$hole.
Post 14 made on Friday November 25, 2016 at 07:39
buzz
Super Member
Joined:
Posts:
May 2003
4,376
Ernie,

You'll probably have better luck at the lower levels if you start the ramp at or just below the forward junction voltage of the LED's. Otherwise, you'll have an apparent delay while the voltage ramps up from zero. LED light output vs current is relatively linear. Fortunately, if you are operating in the DC domain, you won't need to deal with crazy intensity "snap" issues associated with some phase control designs.
Post 15 made on Friday November 25, 2016 at 12:15
Ernie Gilman
Yes, That Ernie!
Joined:
Posts:
December 2001
30,104
Craig,
That sounds right.
buzz brings up a bit of reality here: let's say each LED has two volts of drop across it; the LED strips I've seen all have three LEDs in common. As the oznium device brings up the voltage from zero, no LED will come on until the voltage has ramped halfway up to twelve volts! If the ramp period is two seconds, that mean you'll have to wait a second before there's any light. That doesn't sound like much but it seems unacceptable to me.

buzz,
On the other hand, if the oznium device has been designed to ramp up LEDs, maybe those guys have heard of the forward voltage drop and designed the unit so it doesn't start with zero volts but comes on at, say 5 volts and ramps from there.

On November 25, 2016 at 07:39, buzz said...
Ernie,

You'll probably have better luck at the lower levels if you start the ramp at or just below the forward junction voltage of the LED's. Otherwise, you'll have an apparent delay while the voltage ramps up from zero.
buzz is saying that you won't get any light from the LEDs until the applied voltage equals the sum of the turn-on voltages of all the LEDs, which is probably about six volts for LED strips. Ramping up to the first six volts or so, then, is literally a waste of time.

LED light output vs current is relatively linear.

And current does not flow in an LED strip until the applied voltage equals the sum of the forward voltages of the LEDs; again, about six volts.

Fortunately, if you are operating in the DC domain, you won't need to deal with crazy intensity "snap" issues associated with some phase control designs.

Right. Oznium informed me that they shipped my unit today, the day after Thanksgiving. I'll let you know what I find.
A good answer is easier with a clear question giving the make and model of everything.
"The biggest problem in communication is the illusion that it has taken place." -- G. “Bernie” Shaw
Page 1 of 2


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse