
In other words, im confused as to where I should hook up my leds,wavemaker, and return pump with all these modules now and what should i change on the dimming expansion to make it happen
Wow thanks for all the help . The jebao cables have a +- connector and a dc plug.ReEfnWrX wrote:The Expansion hub is only required if you are trying to use 2 or more expansions(Wifi unit is an attachment not an expansion).
If you recently bought the Dimming Expansion by default it is set to PWM. There should be a manual in the download section that will show you how to set it to Analog.
There should be a total of 9 terminals on your Dimming expansion, the left 6 are your positive, and the right 3 are your negatives.
If you are trying to control all 3 LED channels separately then connect all 3 in separate terminals. If two channels are the same (blue for example) You can have the + line of both drivers go into the same terminal so you can control them both via the same line of code.
As for the jebao, it depends on what jebao cable configuration you ordered from Roberto as to whether you would plug them into a Daylight/Actinic dimming port on the relay, into an ATO port or into your dimming expansion.
Where should i plug the jebai cables into for best results the relay or the dimming expansion?ReEfnWrX wrote:Do you have a Jebao cable from Roberto that eliminates the Jebao controller? You need to eliminate that controller to use the RA to control the jebao
Channel 4 - 0-10 -wp40?rimai wrote:Here is how I would set it up:
Relay Box Actinic Channel - Jebao 1
Relay Box Daylight Channel - Jebao 2
Channel 0 - 0-10PWM - DC6000
Channel 1 - 0-10PWM - Lunar Hub
Channel 2 - 0-10Analog - LED driver 1
Channel 3 - 0-10Analog - LED driver 2
Channel 4 - 0-10Analog - LED driver 3
oh my bad, i got confused for a minute. i understand now. but o think my relay boxes are analog also would the pwm jebao be able to be plugged in there?rimai wrote:How many do you have?
I placed 2 jebao pumps on the relay box dimming channels.
Do you have 3?
If so, yes... You can connect it to channel 5.
thanks sacohenSacohen wrote:The Jebao pumps work on analog or PWM.
Sent from my HTC One VX using Tapatalk
Yes, you should be good for 4 meanwell drivers.Sacohen wrote:I have my WP-40 on the actinic PWM
WP-25 on daylight PWM
DC6000 will go on dimming 0 analog.
And the chinese LED's 1-4 analog.
Actually I had a side question for Roberto.
I have 2 chinese led's with 2 channels each. 1 whites and 1 blues. Can I put the 2 whites together on one dimming port so cooling will be simpler?
Sent from my HTC One VX using Tapatalk
lnevo wrote:Yeah blues tooset a nice parabola with the whites and a slope on the blues have a little overlap while the blues are coming up with whites at a different rate..should look nice...at least thats what i'm planning when i hack these d120/
Code: Select all
ReefAngel.DCPump.UseMemory = false;
ReefAngel.DCPump.SetMode( Lagoon,50,10 );
ReefAngel.DCPump.DaylightChannel = AntiSync;
ReefAngel.DCPump.ActinicChannel = Sync;
Code: Select all
#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 <PH.h>
#include <WaterLevel.h>
#include <Humidity.h>
#include <DCPump.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
ReefAngel.Use2014Screen(); // Let's use 2014 Screen
ReefAngel.AddPHExpansion(); // pH Expansion Module
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = 0;
ReefAngel.FeedingModePortsE[0] = Port1Bit | Port2Bit | Port4Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = 0;
ReefAngel.WaterChangePortsE[0] = Port1Bit | Port2Bit | Port4Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit | Port5Bit | Port6Bit;
ReefAngel.LightsOnPortsE[0] = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit | Port5Bit | Port6Bit | Port8Bit;
ReefAngel.OverheatShutoffPortsE[0] = Port3Bit | Port4Bit | Port5Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 829 );
// Feeeding and Water Change mode speed
ReefAngel.DCPump.FeedingSpeed=0;
ReefAngel.DCPump.WaterChangeSpeed=0;
// Ports that are always on
ReefAngel.Relay.On( Box1_Port1 );
ReefAngel.Relay.On( Box1_Port2 );
ReefAngel.Relay.On( Box1_Port7 );
ReefAngel.Relay.On( Box1_Port8 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardLights( Port1,15,0,20,0 );
ReefAngel.StandardLights( Port2,15,0,20,30 );
ReefAngel.StandardLights( Port3,14,0,22,0 );
ReefAngel.StandardLights( Port4,15,0,20,0 );
ReefAngel.StandardLights( Port5,14,30,22,30 );
ReefAngel.StandardLights( Port6,14,0,22,0 );
ReefAngel.StandardLights( Port7,22,0,14,0 );
ReefAngel.StandardHeater( Port8,775,810 );
ReefAngel.StandardLights( Box1_Port3,22,0,0,0 );
ReefAngel.StandardLights( Box1_Port4,23,0,13,0 );
ReefAngel.StandardLights( Box1_Port5,0,0,15,0 );
ReefAngel.SingleATO( true,Box1_Port6,66,0 );
ReefAngel.PWM.SetChannel( 0, PWMParabola(15,0,20,0,0,100,0) );
ReefAngel.PWM.SetChannel( 1, PWMParabola(14,0,22,0,5,100,5) );
ReefAngel.PWM.SetChannel( 2, PWMParabola(14,0,22,0,20,100,20) );
ReefAngel.PWM.SetChannel( 3, MoonPhase() );
ReefAngel.DCPump.UseMemory = false;
ReefAngel.DCPump.SetMode( Lagoon,50,10 );
ReefAngel.DCPump.DaylightChannel = Sync;
ReefAngel.DCPump.ActinicChannel = Sync;
ReefAngel.DCPump.ExpansionChannel[0] = None;
ReefAngel.DCPump.ExpansionChannel[1] = None;
ReefAngel.DCPump.ExpansionChannel[2] = None;
ReefAngel.DCPump.ExpansionChannel[3] = None;
ReefAngel.DCPump.ExpansionChannel[4] = None;
ReefAngel.DCPump.ExpansionChannel[5] = None;
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "Dctrojan" );
ReefAngel.ShowInterface();
}
What is not working on the pumps? Are they running but not changing speeds or not running at all?Dctrojan wrote:My relay expansion seems to not be working any suggestions ? I