anyone tried to using Jebo WP40?

There are two dimming ports built into the relay box.

I controll my AI's through their controller and will not switch. So the RA would control the pump through those ports then?

I may have to rent the WP40 until the 25's come out as well. It is getting hard to hold off.:bounce1:
 
I controll my AI's through their controller and will not switch. So the RA would control the pump through those ports then?

I may have to rent the WP40 until the 25's come out as well. It is getting hard to hold off.:bounce1:

You can get one of the add-on dimming modules too. Keep the AIs on the dimming ports they are on now and use the dimming module for the pump(s).

If get the WP25s I'll end up getting the PWM dimming add-module for the pumps. I have the RA moonlights hooked into the 2 dimming ports on the relay box now.

~Charlie
 
I am not a RA user so I am not familiar with their features. Are you saying the RA dimming module or the dimming ports within the relay box will drive this pump to various mode like waves, reefcrest, random, pulse, stream, and any such combination? I thought a dimming module will only mimic sun rise and sun down or varying intensity of light.
 
I am not a RA user so I am not familiar with their features. Are you saying the RA dimming module or the dimming ports within the relay box will drive this pump to various mode like waves, reefcrest, random, pulse, stream, and any such combination?

Yes that is exactly what it will do. I don't understand the details behind it but the simple answer is yes. :-)
 
Yes that is exactly what it will do. I don't understand the details behind it but the simple answer is yes. :-)

There must be some pretty interesting codes written to do this. Can someone show me what the codes look like for reefcrest mode?

So each dimming port can be programmed to do different mode or if you connect two pumps to the same dimming port the two pumps will be synchronized, correct? Sorry for such basic questions.
 
Here you go



byte ReefCrestMode(byte s)
{
static unsigned long lastmillis=millis();
static int newspeed=s;
if ((millis()-lastmillis) > 5000)
{
int delta;
delta=random(20);
if (delta<10) newspeed--; else newspeed++;
newspeed=constrain(newspeed,s-20,s+20);
newspeed=constrain(newspeed,0,100);
lastmillis=millis();
}
return newspeed;
}


Place it at the very end of your code.
To use the function, you can use like this:

ReefAngel.PWM.SetDaylight( ReefCrestMode(80) );
 
I am not a RA user so I am not familiar with their features. Are you saying the RA dimming module or the dimming ports within the relay box will drive this pump to various mode like waves, reefcrest, random, pulse, stream, and any such combination? I thought a dimming module will only mimic sun rise and sun down or varying intensity of light.

Once someone develops the code for it, the two dimming ports on the RA, or the module will be able to do those types of modes. They already coded a Reef Crest mode.

Edit: aaaand there it is.

Unless the Apex profiles can be written in a similar way, I might sell my Apex for a Reef Angel. The Apex is much easier to work with though.

If I didn't have a controller already, I probably would buy the RA over it.
 
The code is still being worked on. I haven't done much with it yet mainly because I don't have the pump (RA has it right now), PWM dimming module, nor the cable. I'm sure all/most of the modes, and then some, will be coded soon. Especially once the cable comes out and people have a chance to work on it in their own tanks.

~Charlie
 
Here you go



byte ReefCrestMode(byte s)
{
static unsigned long lastmillis=millis();
static int newspeed=s;
if ((millis()-lastmillis) > 5000)
{
int delta;
delta=random(20);
if (delta<10) newspeed--; else newspeed++;
newspeed=constrain(newspeed,s-20,s+20);
newspeed=constrain(newspeed,0,100);
lastmillis=millis();
}
return newspeed;
}


Place it at the very end of your code.
To use the function, you can use like this:

ReefAngel.PWM.SetDaylight( ReefCrestMode(80) );

I don't know anything about open source code but I did have some experience in Dbase programming (this tells my age:() These are not complicated code to follow. I am impressed. I may sell my RKE and get a RA.
 
If you head over to the RA site and look in the "My PDE/INO file" forum you will see a post titled "Lee's Feature Complete PDE". Lee has a very nice INO file (basically C++ code) that uses a lot of custom code to give you an idea of what is possible.

The RA still works very well out of the box with wizard generated code too.

~Charlie
 
This is very interesting. I was thinking about trying these pumps. If it can be controlled even better. I was thinking about building my own arduino controller based on some of the plans out there but am waiting on the openreefs boards as it should make things easier. Right now I am running an older neptune model so wouldn't be able to control it.
 
I did not realize that i was on an old page and the question I was answering was already answered in greater detail.
 
Anything is possible with the RA...Inevo posted this a few days ago. (Sorry for the long post, I didnt want to leave out the code incase someone was interested)

Tidal Effect Simulation:

"So, I've started to hack up some functions to perform some simulated tidal effects.

Basically this function will return a speed value you can pass to your WaveMaker or Vortech RF functions or whatever else you would like to do based on a tidal effect. You pass the minimum speed you want, the maximum speed you want and also the minimum gap you want between high and low tide.

Currently the wavelength is set to 12 hours so you get a high-tide and low-tide every 12 hours. The amplitude of the wave is affected by MoonPhase as well, so over the course of the lunar month, the difference between high and low tide will increase and decrease.

For future plans, I want to add some random variation to the wavelength and amplitude as well so that it's not as constant. I also plan on adding a helper function to track if current is incoming, or outgoing so I can set my pumps to switch when the current switches as well.

I have not yet tested from the Arduino yet as it will take a lot of reconfiguration for me to use it, but I've compiled the functions standalone with gcc and charted them in Excel and they do make a nice variabe wave output. I'll try and paste a screenshot of a 28 day cycle.

Example code:

#define PI 3.141593
/*
Spring tides occur during the full moon and the new moon.
At these times, the high tides are very high and the low tides are very low.

Neap tides occur during quarter moons.
The result is a smaller difference between high and low tides

MoonPhase 0-25 = Spring
MoonPhase 26-74 = Neap
MoonPhase 75-100 = Spring

So, the effect of the Moon will be a cosine wave.
*/
int calcTide(byte minSpeed, byte maxSpeed, byte minGap) {
int speed;
int range = maxSpeed-minSpeed-minGap;
double wl=60*60*12; // wavelength (12 hours) (to be randomized..)

double gap; // tide gap between high and low
double result; // tide

// Calculate the gap between high and low tide based on MoonPhase()
gap=.5+(cos(((2*PI)/100)*MoonPhase())/2);
gap=minGap+(range*gap);

// Find out the current tidal height
result=.5+(sin(((2*PI)/wl)*now())/2);
// Adjust the calculate speed to be in our adjusted range
speed=minSpeed+(result*gap)+(range-(gap/2));

return speed;
}[/QUOTE]
 
Last edited:
These are going over my head:confused: but it is nice to know what you can do with this pump using an open source controller like RA. This combination is going to generate a lot of interest in this hobby. :bounce3:
 
As stupid as it sounds it kind of gives me chills. We are exponentially moving closer and closer to replicating exact reef conditions. Soon you will be able to put in specific coordinates and generate that exact habitat
 
I think I finally have mine dialed in. This is on W1 at 16V. I still have the Korilla in there (It's NOT on in the video) since I am still playing with an alternating flow occasionally due to a "wind swept" look of some corals. The way I have mine set up it comes across the back of the tank hit the side, comes around the corner and sweeps back across the front of the tank making a complete circle. As you can see even the corals and algae at the "end" of the flow are still moving around.

Remember now this is ONE pump on a 48" 105 gallon tank cranked WAY down. I would guess about 50% of it's possible fury. :-)

http://www.youtube.com/watch?v=IUBz4saJomk&feature=youtu.be
 
As stupid as it sounds it kind of gives me chills. We are exponentially moving closer and closer to replicating exact reef conditions. Soon you will be able to put in specific coordinates and generate that exact habitat

There is no reason this couldn't be done NOW.
 
I think I finally have mine dialed in. This is on W1 at 16V. I still have the Korilla in there (It's NOT on in the video) since I am still playing with an alternating flow occasionally due to a "wind swept" look of some corals. The way I have mine set up it comes across the back of the tank hit the side, comes around the corner and sweeps back across the front of the tank making a complete circle. As you can see even the corals and algae at the "end" of the flow are still moving around.

Remember now this is ONE pump on a 48" 105 gallon tank cranked WAY down. I would guess about 50% of it's possible fury. :-)

http://www.youtube.com/watch?v=IUBz4saJomk&feature=youtu.be

You have a great set up there. Unique aquascape. I really like the way all the rock and corals are in the center and allows you to see what is happening on the back side of the rock.
 
Back
Top