Page 4 of 6

Re: Clouds and Lightining Effects using standard PWM channel

PostPosted: Wed Aug 22, 2012 11:42 am
by rimai
The alignment is off.
You will need to align them perfect just like it was before.

Re: Clouds and Lightining Effects using standard PWM channel

PostPosted: Wed Aug 22, 2012 11:46 am
by DrewPalmer04
got them to line up i think? What exactly is this determining? The time before the next cloud?

It reads 29:00 right now

Re: Clouds and Lightining Effects using standard PWM channel

PostPosted: Wed Aug 22, 2012 12:04 pm
by DrewPalmer04
If I'm reading this right...it states, "14:29" thus my next cloud is at 2:29pm? Or am I way off?

Re: Clouds and Lightining Effects using standard PWM channel

PostPosted: Wed Aug 22, 2012 12:27 pm
by rimai
yeah. whatch and see if it is correct

Re: Clouds and Lightining Effects using standard PWM channel

PostPosted: Wed Aug 22, 2012 12:37 pm
by DrewPalmer04
It works...going to post a video soon

Re: Clouds and Lightining Effects using standard PWM channel

PostPosted: Wed Aug 22, 2012 12:46 pm
by DrewPalmer04
Ramp from cloud and back...showed 12 min duration (perfect) and next cloud due at 1553

AWESOME!

Image

Of course the phone's camera has no white balance nor does it show shimmer very well from the LEDs

And new main showing next cloud and next duration (in minutes)....

Image

Re: Clouds and Lightining Effects using standard PWM channel

PostPosted: Wed Oct 31, 2012 3:18 pm
by NMTX
I'm unsure entirely if this has been covered, but is there a way to define how much the daylights dim during cloud cover? In other words, instead of dimming all the way down to 0V, dim down to 1V (or 10%, however you look at it)? If so, how?

It would be kind of cool if the dimming amount was random, but hey, it's cool as-is. :)

Re: Clouds and Lightining Effects using standard PWM channel

PostPosted: Wed Oct 31, 2012 3:40 pm
by rimai
Change this line:
Code: Select all
DaylightPWMValue=ReversePWMSlope(cloudstart,cloudstart+cloudduration,DaylightPWMValue,0,180);

To this:
Code: Select all
DaylightPWMValue=ReversePWMSlope(cloudstart,cloudstart+cloudduration,DaylightPWMValue,10,180);

Re: Clouds and Lightining Effects using standard PWM channel

PostPosted: Wed Oct 31, 2012 3:58 pm
by DrewPalmer04
Good thought! I'll be changing this on mine

Re: Clouds and Lightining Effects using standard PWM channel

PostPosted: Thu Nov 01, 2012 12:34 am
by NMTX
Yeah, my LED-based light (named for a Greek god) is great, but below 1V, the LEDs just shut down since the driver can't go lower. As I was watching the cloud-dimming simulation—something that I really do enjoy, thank you Roberto et al—I just thought it would look smoother in my application to stop the whites at 1V rather than going off entirely, and still give the desired effect.

I really do enjoy this controller.