Page 3 of 3

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Mon Feb 10, 2014 12:29 pm
by Dctrojan
Is there a way to give the pumps different speeds? Like the wp40 at 50 and the return at 40?

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Mon Feb 10, 2014 12:38 pm
by Sacohen
Not at this time.
I asked about it a while ago too and Lee thought he had and idea, but I guess it didn't work out.

See this thread.
http://forum.reefangel.com/viewtopic.php?f=9&t=3801

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Mon Feb 10, 2014 12:42 pm
by rimai
I don't think you should use the DC6000 with the WP modes.
You should set the return to a predefined % and use the WP modes for the WP pumps.
The DC6000 has a very slow response and takes about 30s to ramp from 0% to 100%.
Here is how I'd use.
Set the channel where DC6000 is connected to None and set the speed directly like this:

Code: Select all

ReefAngel.PWM.SetChannel(0,50); //Sets channel 0 to 50%

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Mon Feb 10, 2014 12:44 pm
by Sacohen
Roberto didn't you have this responding to a water level sensor in your overflow or was that a different DC pump?

Sent from my HTC One VX using Tapatalk

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Mon Feb 10, 2014 12:46 pm
by rimai
Yes, mine is DC5000.
Zero bubble & zero noise = super quiet tank = happy wife
And you know what happy wife means :)

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Mon Feb 10, 2014 12:53 pm
by Sacohen
The DC5000 is not a Jebao pump correct?
Do the waveline pumps have a faster response time then the Jebaos?

Sent from my HTC One VX using Tapatalk

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Mon Feb 10, 2014 12:59 pm
by rimai
Old style Jebao. Speedwave just puts them in a nice box. That's all.
My Speedwave went to crap after a few months of use and then the power supply went bad a couple weeks after and I'm still fighting with Proline to get a replacement that works. :(
So, I'm using the old style Jebao DC5000 that I got a while ago from China as samples to test. It's been running strong since I put it to work.
I vary +/- 2% depending on the level of the overflow.

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Mon Feb 10, 2014 1:02 pm
by Sacohen
Thanks. Good luck with ProLine.

Sent from my HTC One VX using Tapatalk

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Mon Feb 10, 2014 2:04 pm
by Dctrojan
rimai wrote:I don't think you should use the DC6000 with the WP modes.
You should set the return to a predefined % and use the WP modes for the WP pumps.
The DC6000 has a very slow response and takes about 30s to ramp from 0% to 100%.
Here is how I'd use.
Set the channel where DC6000 is connected to None and set the speed directly like this:

Code: Select all

ReefAngel.PWM.SetChannel(0,50); //Sets channel 0 to 50%
would this work if the dc was set for the daytime relay box channel or is this referring to the dimming expansion?

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Mon Feb 10, 2014 2:25 pm
by rimai
For daylight use this:

Code: Select all

ReefAngel.PWM.SetDaylight(50);

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Tue Feb 11, 2014 6:21 pm
by Dctrojan
Good news got everything working finally. One other question is there anyway to program the work to cut Down after a certain time ?

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Tue Feb 11, 2014 6:50 pm
by Sacohen
If you are talking about slowing it down at night then yes.

I have it in my code> look at the code in my signature.
It's mixed in with the random wave mode code and I'm not sure what can stand alone.

Code: Select all

// Add random mode if we set to Mode to Custom in portal
static int rmode;
static boolean changeMode=true;

// Add Else Mode definition..
const int Else=16;

// These are the modes we can cycle through. You can add more and even repeat...
byte modes[] = { ReefCrest, Lagoon, Constant, TidalSwell, ShortPulse, LongPulse, Else };

if (now()%SECS_PER_DAY==0 || changeMode==true) { // Change at midnight or if controller rebooted
rmode=random(100)%sizeof(modes); // Change the mode once per day to pick from our array
changeMode=false;
}

// Set timer when in feeding mode
static unsigned long feeding;
if (ReefAngel.DisplayedMenu==FEEDING_MODE) feeding=now();

if (now()-feeding<3600) { 
  // Continue NTM for the 60 minutes
  ReefAngel.DCPump.UseMemory=false;
  ReefAngel.DCPump.Duration=InternalMemory.DCPumpDuration_read();
  ReefAngel.DCPump.Mode=NutrientTransport;
} else if (now()%SECS_PER_DAY<43200 || now()%SECS_PER_DAY>=79200) { // 12pm / 10pm
  // Night mode (go to 30%)
  ReefAngel.DCPump.UseMemory=false;
  ReefAngel.DCPump.Duration=InternalMemory.DCPumpDuration_read();
  ReefAngel.DCPump.Mode=Constant;
  ReefAngel.DCPump.Speed=30;
} else if (InternalMemory.DCPumpMode_read()==11) { 
  // Custom Mode and nothing else going on
  ReefAngel.DCPump.UseMemory=false;
  ReefAngel.DCPump.Duration=InternalMemory.DCPumpDuration_read();
  if (rmode==Else) {
    ReefAngel.DCPump.UseMemory=false;
    ReefAngel.DCPump.Mode=Constant;
    ReefAngel.DCPump.Speed=ElseMode(InternalMemory.DCPumpSpeed_read(),20,true );    // ElseMode on sync mode, Portal Speed Setting +/- 20%
  } else {
    ReefAngel.DCPump.Mode=modes[rmode];  // Put the mode to the random mode :)
    ReefAngel.DCPump.Speed=InternalMemory.DCPumpSpeed_read(); // Set speed from portal
  }
} else {
  ReefAngel.DCPump.UseMemory=true; // Will reset all values from memory
}

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Sun Feb 16, 2014 10:01 am
by Dctrojan
Hey sacohen where do you find all of these codes? Is there like a list of functions and codes avaliable to look through ? I can't figure out the night time feature you have written in the code. I found the line but I haven't tried it because I don't understand it. I've got so many leds channels I'm thinking about trying to get a weather simulation going .

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Sun Feb 16, 2014 10:11 am
by Sacohen
I just read through here, see them and remember where I found them.

The one I put above was something lenvo wrote into my code when he was helping me with my denitrification chamber and the random flow he created for paulturner911.

I'm not 100% sure how it works and if it can be taken out of the random code and work stand alone.

As far as weather simulation the new dimming modules are not capable of doing storm effects without some reprograming to the RA head unit. I was talking to Roberto about it last week and I'm a little lost by what he was talking about. I understand what he was saying, but have no idea how to do it.

Sent from my HTC One VX using Tapatalk

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Sun Feb 16, 2014 10:28 am
by Dctrojan
Saco, let me know if you ever figure out a weather simulation that would be great . Do you have a thread with a list of what all you have running in your RA?

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Posted: Sun Feb 16, 2014 10:39 am
by Sacohen
Yes. In my signature there u
Is a link to my code.


Sent from my HTC One VX using Tapatalk