dimming control of LED using analog 0-10v

New members questions
Post Reply
miked
Posts: 86
Joined: Fri Feb 10, 2012 11:06 am

dimming control of LED using analog 0-10v

Post by miked »

I ordered my RA with the analog control. All code I seem to find is for the PWM control. Can anyone direct me to an analog example. this is what i am trying to do.

blue on 5% at 10am - linear ramp up to 75% at 1pm to 7pm - ramp down to off (0%) at 11pm
white on 5% at 12 pm - linear ramp up to 55% at 1pm to 7pm - ramp down to off (0%) at 9pm

I think that I am able to start at 5% because it is analog and the flickering effect should not occur. any input on this would be appreciated.

thanks
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: dimming control of LED using analog 0-10v

Post by rimai »

The analog output will work with the PWM code.
Roberto.
miked
Posts: 86
Joined: Fri Feb 10, 2012 11:06 am

Re: dimming control of LED using analog 0-10v

Post by miked »

Anyone have experience with the filckering issue using analog?

thanks roberto
Image
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: dimming control of LED using analog 0-10v

Post by binder »

I haven't noticed it at all. Although I don't and haven't paid attention to it closely to see if there was any flickering. I found that mine shutoff at like 5 or 6% and stay off down to 0%. I think others have reported some flickering but I do not recall. You could do a quick search on here and see what you come up with.
miked
Posts: 86
Joined: Fri Feb 10, 2012 11:06 am

Re: dimming control of LED using analog 0-10v

Post by miked »

will this code work as described below? start up at 10 am and shut down by 11pm for actinic (blues) and start up at 11am and shut down by 9pm for daylight (whites)?

ReefAngel.PWM.SetActinic(PWMSlope(10,0,23,0,5,75,180,5));
// Actinic PWM % starts raising from 5% to 75% within 180 minutes at 10:00am
// Actinic PWM % remains at 75% until 7:00pm
// Actinic PWM % starts lowering from 75% to 5% within 180 minutes at 7:00pm
ReefAngel.PWM.SetDaylight(PWMSlope(11,0,21,0,5,65,120,5));
// Daylight PWM % starts raising from 5% to 65% within 120 minutes at 11:00am
// Daylight PWM % remains at 65% until 7:00pm
// Daylight PWM % starts lowering from 65% to 5% within 120 minutes at 7:00pm

/*
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: dimming control of LED using analog 0-10v

Post by rimai »

Yeap :)
Roberto.
miked
Posts: 86
Joined: Fri Feb 10, 2012 11:06 am

Re: dimming control of LED using analog 0-10v

Post by miked »

sweet, I may get the hang of this yet
Image
Post Reply