Page 2 of 3

Re: Preloaded code and change...

Posted: Tue Mar 05, 2013 12:04 pm
by baroutas
Roberto what the diferent betwen DP & AP?

Preloaded code and change...

Posted: Tue Mar 05, 2013 12:15 pm
by lnevo
Daylight pwm and actinic pwm.

Re: Preloaded code and change...

Posted: Tue Mar 05, 2013 1:09 pm
by baroutas
Yes but there is not ather difernts in the usage??

Re: Preloaded code and change...

Posted: Tue Mar 05, 2013 1:31 pm
by lnevo
Well that's what AP/DP stand for. But they can be used for other purpose if not LED. Anything PWM or Analog controlled like Tunze or something else can be used.

You would address each seperately with the two functions SetActinic(byte value); and SetDaylight(byte value);

All you need to do is put the percent you want to put in the function for how you want the port set.

Re: Preloaded code and change...

Posted: Wed Mar 06, 2013 1:03 pm
by baroutas
I do not know what is the problem?? I Buy a new led driver (Mean Well LPF 60D 12) and I have the same problem......NO DIMMING. if i buy the RA dimming expansion it will be ok? I bored to give my money with no resolts....

Re: Preloaded code and change...

Posted: Wed Mar 06, 2013 1:39 pm
by rimai
Can you post a diagram of how you connected your led strings to the driver?
60W on 12V is a lot of current.

Sent from my Galaxy S3 using Tapatalk 2

Re: Preloaded code and change...

Posted: Wed Mar 06, 2013 1:55 pm
by baroutas
I hope to be clear the diagram.

Re: Preloaded code and change...

Posted: Wed Mar 06, 2013 2:00 pm
by rimai
Does it dim if you use the AA and 9V battery?
Did you try the potentiometer option too?
Can you measure the voltage on the RA dimming ports?

Re: Preloaded code and change...

Posted: Wed Mar 06, 2013 2:46 pm
by baroutas
At 0% the AP out put 0,3 V and the led driver 2,6 V. At 100% the AP out put 9,8 V and the led driver 11,8 V. I don't try potentiometer or AA batteries . Is the second led driver with this problem . What I am doing wrong ?

Re: Preloaded code and change...

Posted: Wed Mar 06, 2013 2:58 pm
by rimai
Looks like your dimming channels are working fine.
I'm not so sure the drivers were supposed to go down in voltage like that.

Re: Preloaded code and change...

Posted: Wed Mar 06, 2013 3:18 pm
by baroutas
I check the driver with AA 1,5 V and 9V batteries and again the same voltage to the led (11,7) V.

Re: Preloaded code and change...

Posted: Wed Mar 06, 2013 3:58 pm
by rimai
The voltage won't change.
It needs to be at about what you are seeing or it would go below the forward voltage and you wouldn't have enough voltage to power the LEDs.
What needs to change is the current. As you apply more or less voltage on the dimming input, the average current increases or decreases making it go brighter or darker.
Most people use only one string or 2 max. You are the first one doing it with several strings.
I would suggest you contact the manufacturer of the driver and check with them.

Re: Preloaded code and change...

Posted: Thu Mar 07, 2013 6:22 am
by baroutas
I send mail to the Mean Well. We will see..... Thanks!!

Re: Preloaded code and change...

Posted: Sun Mar 10, 2013 12:07 pm
by baroutas
Roberto! Today i use controller testter code in my RA and my led dimming normal (sun rise)! BUT... with Wizard code doesn't work why? Is that a bug?

Re: Preloaded code and change...

Posted: Sun Mar 10, 2013 2:35 pm
by rimai
Can you post your code?

Re: Preloaded code and change...

Posted: Mon Mar 11, 2013 5:55 am
by baroutas
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
ReefAngel.SetTemperatureUnit( Celsius ); // set to Celsius Temperature

// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = 0;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port2Bit | Port7Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port1Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 350 );


// Ports that are always on
ReefAngel.Relay.On( Port7 );
ReefAngel.Relay.On( Port8 );

////// Place additional initialization code below here


////// Place additional initialization code above here
}

void loop()
{
ReefAngel.StandardHeater( Port1,278,280 );
ReefAngel.StandardFan( Port2,300,310 );
ReefAngel.StandardLights( Port3,13,50,22,0 );
ReefAngel.StandardLights( Port4,15,30,19,0 );
ReefAngel.DosingPumpRepeat( Port5,0,1240,10 );
ReefAngel.StandardLights( Port6,20,30,23,59 );
ReefAngel.PWM.SetDaylight( PWMSlope(14,0,21,0,0,100,2,0) );
ReefAngel.PWM.SetActinic( PWMParabola(20,0,23,59,0,100,0) );
////// Place your custom code below here


////// Place your custom code above here

// This should always be the last line
ReefAngel.Portal( "xxxxxx" );
ReefAngel.ShowInterface();
}

Re: Preloaded code and change...

Posted: Mon Mar 11, 2013 8:49 am
by rimai
This line is telling the controller to go from 0 to 100 in 2 minutes.

Code: Select all

ReefAngel.PWM.SetDaylight( PWMSlope(14,0,21,0,0,100,2,0) );
Try a longer period like 60 minutes:

Code: Select all

ReefAngel.PWM.SetDaylight( PWMSlope(14,0,21,0,0,100,60,0) );

Re: Preloaded code and change...

Posted: Mon Mar 11, 2013 9:48 pm
by baroutas
Οκ i try it!

Re: Preloaded code and change...

Posted: Sun Mar 17, 2013 12:06 pm
by baroutas
Ιf I by dimming expansion module i will need and dimmable led driver, or the module work like led driver?

Preloaded code and change...

Posted: Sun Mar 17, 2013 12:14 pm
by lnevo
The ports on the dimming module are just like ap and dp on the relay box...yes you'll need a driver still.

Re: Preloaded code and change...

Posted: Thu Apr 25, 2013 7:38 am
by baroutas
Hi again! If my diming port output voltage are 1-10V (during the port operation) then my RA is analog signal?
And if is 10V (during the port operation) stabilization then my RA is PWM?

Re: Preloaded code and change...

Posted: Thu Apr 25, 2013 7:42 am
by baroutas
And something else. Τhe PWM led driver work with analog signal and the opposite??

Re: Preloaded code and change...

Posted: Thu Apr 25, 2013 8:15 am
by rimai
http://www.reefangel.com/Product_PWMvsAnalog.aspx
When measured with a standard multimeter, you can't tell which signal you have.
They both show the same voltage. You need a scope to see the signal.
The drivers will work with another signal, but you won't get a very good dimming linearity. It's best to use the correct one.

Re: Preloaded code and change...

Posted: Thu Apr 25, 2013 8:26 am
by baroutas
Ok! I understand!!!!Thanks :)