Jebao wp40 and jebao dc6000 help with dimming expansion

Basic / Standard Reef Angel hardware
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

Well after many heart aches and lessons learned the hard way, ive finally got my new custom rimless 125G acrylic tank in my living room :D "Girlfriends pissed". This weekend i plan on upgrading my current 55 to the new tank. for now im working on getting everything ready. Im going to be using the reef angel plus (analog) to control my tank. I recently bought the expansion hub and the dimming expansion to control everything. My leds are all analog, and i want to be able to control both my leds and the powerhead as well as the return pump. My question is with the expansion module, Im confused as of what does the expansion module needs to be set on to control the pumps (analog or PWM) 0-5V or 5-10? also how should i hook up the leds if i need to control 3 channels ? all to the dimming expansion or to the relay expansion? or should i hook up the jebao and the dc pump to another (+-) on the relay box or my other relay expansion box? Ive also got 3 lunar lights and the dimmable lunar expansion module. If i remember right i think i used my RA+ head unit to wire my lunar lighta through.

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
ReEfnWrX
Posts: 232
Joined: Tue Nov 05, 2013 8:40 am
Location: Houston TX

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by ReEfnWrX »

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.
Image
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

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.
Wow thanks for all the help . The jebao cables have a +- connector and a dc plug.

I'm confused on what setting the expansion dimming has to be on to control the jebao and if certain terminals can be used for the jebao(4-5) and the others for the lights "say terminals"(1-3) .
ReEfnWrX
Posts: 232
Joined: Tue Nov 05, 2013 8:40 am
Location: Houston TX

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by ReEfnWrX »

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
Image
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

Yes I have the cable
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

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
Where should i plug the jebai cables into for best results the relay or the dimming expansion?
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

If you want to control thr speed of the pump it needs to be in the dimming ports. Using the relay will just let you turn it on and off.

Sent from my HTC One VX using Tapatalk
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by rimai »

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
Roberto.
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

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
Channel 4 - 0-10 -wp40?
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

Or channel 5 PWM
:)
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by rimai »

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.
Roberto.
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

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.
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?
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

The Jebao pumps work on analog or PWM.

Sent from my HTC One VX using Tapatalk
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

Sacohen wrote:The Jebao pumps work on analog or PWM.

Sent from my HTC One VX using Tapatalk
thanks sacohen
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

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
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by lnevo »

Why not offset them for a sunrise/sunset effect?
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

Offset the whites so 1 side of the tank lights up before the other?

Sent from my HTC One VX using Tapatalk
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by lnevo »

Yeah blues too :) set 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/
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

I'll give it a try. Always open to suggestions. It's going to be a bit before I set them up.

Still have to build a new stand and move the tank over.

Sent from my HTC One VX using Tapatalk
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by rimai »

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
Yes, you should be good for 4 meanwell drivers.
Technically a lot more if needed :)
Roberto.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

Thanks Roberto.

Sent from my HTC One VX using Tapatalk
ReEfnWrX
Posts: 232
Joined: Tue Nov 05, 2013 8:40 am
Location: Houston TX

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by ReEfnWrX »

lnevo wrote:Yeah blues too :) set 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/

That is something I was thinking about doing. Too bad Meanwells cut off below 11% dimming. Anyone know of good alternative drivers that will not cut off until they reach 0%?
Image
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

The Meanell LDD can be set up to dim to 0. There is thread on Reef Central about it.

Sent from my HTC One VX using Tapatalk
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

Here is the link

http://www.reefcentral.com/forums/showt ... mming+to+0



Sent from my HTC One VX using Tapatalk
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

Ok so ive got everything working except my dc pump and the wp40 , the lights are working great and the added t5s just throw the tank over the top. I also cant find the way to select the mode that i want for the wp40, is it where the dc pump is in the " wizard"? i want to be able to put the dc pump in one mode and the wp40 in another one? i have my dc pump on the main relay daylight channel and the wp40 on the actinic. could someone also tell me how to insert the code as a scrollable box?
Attachments
Feb_7_new_code.ino
(3.8 KiB) Downloaded 445 times
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

You can use the wizard to help you write the code for the Jebaos and set the modes.

but the code it generate would be something like this...
This is a 50% speed with a 10% variance for the Lagoon Mode.
If you set UseMemory to trueyou can change the modes in the portal.

Code: Select all

 ReefAngel.DCPump.UseMemory = false;
    ReefAngel.DCPump.SetMode( Lagoon,50,10 );
    ReefAngel.DCPump.DaylightChannel = AntiSync;
    ReefAngel.DCPump.ActinicChannel = Sync;
Also you can get the code into the scroll box by clicking on code above (in the Full Editor) and then entering the code between the open and closing statements.

Image
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

My relay expansion seems to not be working any suggestions ? I
User avatar
Dctrojan
Posts: 96
Joined: Wed Oct 16, 2013 9:50 am

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

ok heres what i have .

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();
}
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Sacohen »

It looks like you have your Jebao pumps in the actinic and daylight channels and you lights on 0-3 (or the first 4) channels on the dimming expansion module.

But you say your lights are working great so why are you saying...
Dctrojan wrote:My relay expansion seems to not be working any suggestions ? I
What is not working on the pumps? Are they running but not changing speeds or not running at all?
ReEfnWrX
Posts: 232
Joined: Tue Nov 05, 2013 8:40 am
Location: Houston TX

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by ReEfnWrX »

The daylight and ACtinic channels will only work on the Main(First) Relay. Any additional relays the daylight/actinic channels will not work
Image
Post Reply