Page 9 of 14
Re: JEBO WP-40
Posted: Mon Apr 22, 2013 11:38 am
by Sacohen
Thanks.
Not sure if you understood what I was asking exactly.
I want to run a WP40 and a WP25 in the tank together.
Most people will run 2 WP40's or 2 WP25's.
I'm guessing they would work, just wanted another opinion.
Re: JEBO WP-40
Posted: Mon Apr 22, 2013 12:23 pm
by rimai
Like I said, if the WP25 are the same as WP40, they would work the same.
Re: JEBO WP-40
Posted: Mon Apr 22, 2013 12:25 pm
by Sacohen
That's what I figured too.
Thanks again.
I've got my money saved and i'm going to order the RA+ in the next couple of days.
Looking forward to it.
Re: JEBO WP-40
Posted: Mon Apr 29, 2013 7:01 am
by topjimmy
So with the wave patterns added to globals you can just call the function and not actually have to have it in the code, correct?
Re: JEBO WP-40
Posted: Mon Apr 29, 2013 8:19 am
by rimai
Yes

Re: JEBO WP-40
Posted: Sat May 11, 2013 9:35 pm
by dapg8gt
If I wanted to just have a few of the modes in use alternating how do I get them to loop? Also what about night mode?feed mode? What would I had to write in with these to accomplish this? I know how to get the modes in the code and from there I am a little Lost on how to implement the rest.
I would like to switch between reefcrest,lagoon, and long pulse about 2 hours apart..
Night mode on at midnight and off at noon.
And is there a way to include the PWM into feed, night time and waterchange modes?
A point in the right direction of a thread that is similar to my needs would be appreciated. I'm starting to understand the RA little by little but am still a new booty when It comes to this, so if you could talk to me like I have a learning disability it would make my searching the forum to understand the answer given to my personal question a little easier

thanks off to search for a similar topic.
Edit: think I may have found an example of what I need to do for the times and modes here
http://forum.reefangel.com/viewtopic.ph ... 546#p25546
Still want to know about feed,waterchange mode? I think night mode can be accomplished by just using the tide mode( constant) at a low speed for the lights off time right? Or is there a defined way to call for that?
Re: JEBO WP-40
Posted: Sat May 11, 2013 9:56 pm
by rimai
Looks like you found a piece of your answer
http://forum.reefangel.com/viewtopic.php?p=25546#p25546
The other piece would be:
Code: Select all
if (ReefAngel.DisplayedMenu==FEEDING_MODE)
{
ReefAngel.PWM.SetActinic(30);
ReefAngel.PWM.SetDaylight(30);
}
if (ReefAngel.DisplayedMenu==WATERCHANGE_MODE)
{
ReefAngel.PWM.SetActinic(0);
ReefAngel.PWM.SetDaylight(0);
}
Just make sure you place this after your pattern schedule.
The order of how things are code is important.
This piece of code will override whatever you have before this code.
Re: JEBO WP-40
Posted: Sat May 11, 2013 10:09 pm
by dapg8gt
rimai wrote:Looks like you found a piece of your answer
http://forum.reefangel.com/viewtopic.php?p=25546#p25546
The other piece would be:
Code: Select all
if (ReefAngel.DisplayedMenu==FEEDING_MODE)
{
ReefAngel.PWM.SetActinic(30);
ReefAngel.PWM.SetDaylight(30);
}
if (ReefAngel.DisplayedMenu==WATERCHANGE_MODE)
{
ReefAngel.PWM.SetActinic(0);
ReefAngel.PWM.SetDaylight(0);
}
Just make sure you place this after your pattern schedule.
The order of how things are code is important.
This piece of code will override whatever you have before this code.
|| ReefAngel.DisplayedMenu!=WATERCHANGE_MODE)
Ok perfect thanks a lot. So at the end of the code for the pumps goes that statement ..That's awesome thanks a lot appreciate it.
Now off to find out how to use the RF module I don't have and have it do the same thing:)
Thanks for the fast response.
Re: JEBO WP-40
Posted: Sun May 12, 2013 12:28 am
by Sacohen
Doesn't the stock controller tun the pump off for feeding mode?
JEBO WP-40
Posted: Sun May 12, 2013 5:47 am
by lnevo
Nope
The RF module does. Not the wp-40.
Re: JEBO WP-40
Posted: Sun May 12, 2013 4:02 pm
by Sacohen
Strange. When I hit the feed button on my stock controller, then pump turns off.
Don't know if that is a side effect of having a variable DC controller on it at about 15 V.
JEBO WP-40
Posted: Sun May 12, 2013 4:55 pm
by lnevo
Oh well yeah if you use the stock controller...if you want RA to do it, it'll have to be programmed.
Re: JEBO WP-40
Posted: Sun May 12, 2013 5:19 pm
by Sacohen
No I understand that. I was just commenting that Roberto programmed the feed mode for 30% when the stock controller turns it off completely.
I guess 30% is nice and mellow. I would have to see in my tank.
JEBO WP-40
Posted: Sun May 12, 2013 5:21 pm
by lnevo
Ahhh gotcha
Re: JEBO WP-40
Posted: Mon May 13, 2013 9:25 am
by bhazard
Ok, I'm ready to ditch my apex and I got myself a Reef Angel.
Only wish the wifi attachment could be wireless N. Other than that, I should be all set.
Anyone who just got theirs set up with the WP-40s, any info is appreciated on getting it all coded in. I'd like to get the controller fully set up before I swap out my entire Apex setup.
JEBO WP-40
Posted: Mon May 13, 2013 9:47 am
by lnevo
I've posted a full ino for paulturner somewhere and helped topjimmy with their jaebo coding. If you look through the threads you should be able to find it...
I recommend start setting up your ino with the wizard. Start a thread and let us know what you want it to do with the wp-40. All the functions are now in the libraries so its not hard

Re: JEBO WP-40
Posted: Mon May 13, 2013 9:49 am
by Sacohen
I have not done it yet, but Roberto has a tutorial at this thread...
http://forum.reefangel.com/viewtopic.php?f=7&t=2844
There is not much you need to do, just insert this line into your code inside your loop section and changed the vaiables.
ReefAngel.PWM.SetDaylight( LongPulseMode(45,70,10,true));
or
ReefAngel.PWM.SetActinic( ReefCrestMode(45,10,true));
Re: JEBO WP-40
Posted: Mon May 13, 2013 10:49 am
by bhazard
It's much easier with most of the code in the libraries now. That's why I'm making the switch. I've created a Jarduino before, so I have some idea how to upload code. The wizard will help a lot.
Neptune is too slow in adding any sort of modes to Tunze/Jebao wavemakers, so i'm finally selling it. I like the community here much better too. Its more DIY oriented like myself.
Re: JEBO WP-40
Posted: Mon May 13, 2013 1:33 pm
by enigma32
@bhazard: Why do you wish the wireless attachment could be "wireless N"?
I assume you mean 802.11n, the standard that allows for faster communication than 802.11b or g?
Are they making N-only access points now?
Re: JEBO WP-40
Posted: Mon May 13, 2013 1:47 pm
by lnevo
enigma, good point... I guess the best reason would be to disable any protocols on the router that are not needed if all devices are N... but it's not like the 57600 baud serial adapter that the wifi goes through needs N

Re: JEBO WP-40
Posted: Mon May 13, 2013 1:51 pm
by enigma32
ah yeah, that's a valid point too... Didn't think of that!
Re: JEBO WP-40
Posted: Mon May 13, 2013 6:21 pm
by bhazard
Enabling wireless G slows down my router a bit compared to N only. Then again, its an 802.11AC router and it doesn't even have anything AC to run on it yet.
JEBO WP-40
Posted: Mon May 13, 2013 6:31 pm
by lnevo
Lol you can probably setup one of those little wireless routers to act as a g only access point and bridge to your n router over Ethernet.
Re: JEBO WP-40
Posted: Tue May 14, 2013 11:41 am
by bhazard
I saw in your PDE that you can switch between Vortech modes via the portal/phone app (i think). The only thing I would probably need out of all the custom code (for now), is on the fly Vortech mode switching and intensity changes for the Jebao pumps, without the RF module.
While its nice and easy to program one mode into the code now, i'd love to switch between them all. The wizard looks like it can easily handle my ATO, heater, light, return, etc.. duties without much difficulty.
Re: JEBO WP-40
Posted: Tue May 14, 2013 12:21 pm
by lnevo
The portal changes the memory locations that the RF module uses...
The code in this post
http://forum.reefangel.com/viewtopic.php?p=23177#p23177 uses that memory location but sets the PWM port to the function associated with that mode.
Pretty straight forward.
Here's an example that uses an if instead of a case statement for the same thing.
http://forum.reefangel.com/viewtopic.php?p=23072#p23072
If you want to override the memory settings for feed mode or night mode, you'll have to add that into the existing code or add a seperate check afterwards.
Re: JEBO WP-40
Posted: Tue May 14, 2013 1:04 pm
by bhazard
aaaand this is why I now own a Reef Angel. Thanks.
Next up is finding a chinese light with built in PWM (or analog) drivers that can be easily hacked into, and then setting up time scheduling in which the pumps can respond with the light. The chinese company "Greensun" uses 0-10v drivers that I know of in their 120w fixture.
I have another custom fixture coming to me by a new chinese company at the end of the month. I'll be tearing that one open to see what they use. Hopefully PWM or 0-10v is labeled on the drivers themselves, or I'll be clueless.
Re: JEBO WP-40
Posted: Thu May 16, 2013 7:58 am
by bhazard
Out for Delivery

Re: JEBO WP-40
Posted: Thu May 16, 2013 8:46 am
by ReeferBee
Got mine yesterday, RA that is. I am very happy to say I had my wp40 running through different modes throughout the day in no time!
Re: JEBO WP-40
Posted: Thu May 16, 2013 7:45 pm
by bhazard
I think I'm mostly set up. The Wizard did most of everything for me, and I copied the Vortech/Jebao code into the loop section and uploaded. Looks like the Vortech mode switching is easily changeable in the Portal. Almost done converting over fully from the Apex. Aside from custom code, I think the RA is actually easier to program than the Apex.
Had a little trouble with the wifi module at first, but got it up and running. I can't update the firmware through the wifi utility though, so it is either the newest firmware, or something else needs to be fixed.
I'm loving the Reef Angel way more than the Apex already. Built in ATO is a nice touch, and I can get rid of my Avast top off.
JEBO WP-40
Posted: Fri May 17, 2013 5:34 am
by lnevo
bhazard wrote:Aside from custom code, I think the RA is actually easier to program than the Apex.
I've seen samples of apex config and it scares me. I think also with apex things must be written one way for it to work. With C++ you can do something any number of ways, which to some may be harder, but to me, follows logic more easily and lets people write syntax in a way that works for them.