Actinics not intensifying at night

New members questions
Post Reply
Seagals
Posts: 126
Joined: Wed Aug 01, 2012 7:06 am

Actinics not intensifying at night

Post by Seagals »

Hey all, looking for some help - I have the RA+ and i am using the RA wizard but I am having some issues on the ramp down lighting. It seem that the actinics are not getting bluer or the whites are not turning down at night. It seems like the color stays constant all day. I have confirmed the blues and whites are on.

Any advice is appreciated, thanks

The code is as follows:

#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <ReefAngel.h>

////// Place global variable code below here


////// Place global variable code above here


void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port1Bit | Port5Bit | Port6Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port7Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port3Bit | Port4Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port1Bit | Port3Bit | Port4Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 850 );


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

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


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

void loop()
{
ReefAngel.StandardLights( Port2,8,30,21,0 );
ReefAngel.StandardLights( Port3,9,0,21,30 );
ReefAngel.StandardLights( Port4,9,0,21,20 );
ReefAngel.Wavemaker( Port5,960 );
ReefAngel.Relay.Set( Port6, !ReefAngel.Relay.Status( Port5 ) );
ReefAngel.PWM.SetDaylight( PWMSlope(9,0,21,30,5,40,60,5) );
ReefAngel.PWM.SetActinic( PWMSlope(9,0,21,30,15,80,60,35) );
////// Place your custom code below here


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

// This should always be the last line
ReefAngel.Portal( "Seagals" );
ReefAngel.ShowInterface();
}
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Actinics not intensifying at night

Post by rimai »

Not sure what you mean.
It's not supposed to change. They ramp up within 60 minutes and stay flat all throughout the day and ramp down in the last 60 minutes. Is it not what you want?
Roberto.
User avatar
DrewPalmer04
Posts: 818
Joined: Tue May 29, 2012 2:12 pm
Location: Christopher, IL

Re: Actinics not intensifying at night

Post by DrewPalmer04 »

I think he wants the PWMParabola effect
Out for now...but not over.

VISIT: Ethernet Module/Wifi Alternative
Seagals
Posts: 126
Joined: Wed Aug 01, 2012 7:06 am

Re: Actinics not intensifying at night

Post by Seagals »

rimai wrote:Not sure what you mean.
It's not supposed to change. They ramp up within 60 minutes and stay flat all throughout the day and ramp down in the last 60 minutes. Is it not what you want?

Correct it does not seem to be ramping down at night.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Actinics not intensifying at night

Post by rimai »

Does it show going down on the RA screen?
Roberto.
Seagals
Posts: 126
Joined: Wed Aug 01, 2012 7:06 am

Re: Actinics not intensifying at night

Post by Seagals »

rimai wrote:Does it show going down on the RA screen?
I dont have a line for 'lighting' on the RA screen.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Actinics not intensifying at night

Post by rimai »

It should show AP: Actinics PWM and DP: Daylight PWM.
Roberto.
Seagals
Posts: 126
Joined: Wed Aug 01, 2012 7:06 am

Re: Actinics not intensifying at night

Post by Seagals »

I dont have any thing that mentions lighting or Actinics, etc; here is what the main screen says:

Main:
feeding
water change
ATO clear
overheat clear
ph calibration
sate/time
version
exit

Any thoughts on ho to fix??
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Actinics not intensifying at night

Post by rimai »

On the main screen, you should have T1, T2, T3, pH, AP and DP.
AP and DP are the PWM % of your dimming channels.
Roberto.
Seagals
Posts: 126
Joined: Wed Aug 01, 2012 7:06 am

Re: Actinics not intensifying at night

Post by Seagals »

opps, yes i do have the ap% and dp 35%


What do you think
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Actinics not intensifying at night

Post by rimai »

It means that it is at 35%.
It's past 9:30pm, right?
That's what you have setup. To go to 35% after light period.
Is there a reason why you setup that way?
Roberto.
Seagals
Posts: 126
Joined: Wed Aug 01, 2012 7:06 am

Re: Actinics not intensifying at night

Post by Seagals »

no,no reason - if thats the case its by mistake, after 9:30 all should be off.

How do i correct?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Actinics not intensifying at night

Post by rimai »

These are the 2 lines that control your dimming channels:

Code: Select all

 ReefAngel.PWM.SetDaylight( PWMSlope(9,0,21,30,5,40,60,5) );
 ReefAngel.PWM.SetActinic( PWMSlope(9,0,21,30,15,80,60,35) );
The PWMSlope parameters are as follow:
Hour on
Minute on
Hour off
Minute off
start %
end %
duration
default %

The last one is the % you want to have when the lights are off.
Most people use 0% or the same as end %.
So, I think what you want to do is this:

Code: Select all

 ReefAngel.PWM.SetDaylight( PWMSlope(9,0,21,30,5,40,60,5) );
 ReefAngel.PWM.SetActinic( PWMSlope(9,0,21,30,5,80,60,5) );
Roberto.
Seagals
Posts: 126
Joined: Wed Aug 01, 2012 7:06 am

Re: Actinics not intensifying at night

Post by Seagals »

ok, I will Revise and check on it tomorrow.

Thank you!!!!
Seagals
Posts: 126
Joined: Wed Aug 01, 2012 7:06 am

Re: Actinics not intensifying at night

Post by Seagals »

ok, I will Revise and check on it tomorrow.

Thank you!!!!
Post Reply