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

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by Dctrojan »

Is there a way to give the pumps different speeds? Like the wp40 at 50 and the return at 40?
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 »

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
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post 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%
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 »

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
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by rimai »

Yes, mine is DC5000.
Zero bubble & zero noise = super quiet tank = happy wife
And you know what happy wife means :)
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 »

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
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post 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.
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. Good luck with ProLine.

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 »

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?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Jebao wp40 and jebao dc6000 help with dimming expansion

Post by rimai »

For daylight use this:

Code: Select all

ReefAngel.PWM.SetDaylight(50);
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 »

Good news got everything working finally. One other question is there anyway to program the work to cut Down after a certain time ?
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 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
}
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 »

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 .
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 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
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 »

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?
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 »

Yes. In my signature there u
Is a link to my code.


Sent from my HTC One VX using Tapatalk
Post Reply