Page 14 of 14

Re: JEBO WP-40

Posted: Fri Jun 21, 2013 9:21 am
by bhazard
What I'm thinking to do is sort of opposite. I'll use my current custom code that is time based as "custom", and set the portal to custom. Whenever I want to demo other modes, or just feel like changing things up, I can now choose the modes themselves from the portal. Its a bit more manual than what you do, but should work.

Re: JEBO WP-40

Posted: Wed Jun 26, 2013 8:49 pm
by bhazard
Cosmith71 made a pretty decent "ELSE" mode in this thread:

http://forum.reefangel.com/viewtopic.php?f=3&t=3481

I'm using it in place of reef crest during the day before my "W1" wave mode kicks in.

Re: JEBO WP-40

Posted: Sun Jun 30, 2013 12:42 pm
by lnevo
lnevo wrote:A lot of the timings are going to be unique for each tank dimension and what speed the pumps are run at.

Your function is pretty good though, we should make it a submitted function...

How about BioHazardMode()

:)
So I added a mode to this in my custom section. I'm doing this on Vortech MP40s and I have to say it's making some nice water movement. The coolest thing about this mode is my MP40 drivers LEDs flash in a pretty cool pattern. This to me is working better than the ShortPulseMode, but maybe I have to tweak the short pulse mode as well.

Re: JEBO WP-40

Posted: Mon Jul 01, 2013 9:12 am
by bhazard
lnevo wrote:
lnevo wrote:A lot of the timings are going to be unique for each tank dimension and what speed the pumps are run at.

Your function is pretty good though, we should make it a submitted function...

How about BioHazardMode()

:)
So I added a mode to this in my custom section. I'm doing this on Vortech MP40s and I have to say it's making some nice water movement. The coolest thing about this mode is my MP40 drivers LEDs flash in a pretty cool pattern. This to me is working better than the ShortPulseMode, but maybe I have to tweak the short pulse mode as well.
I could never get short pulse with my MP40s to make similar movement. Short Pulse on the Jebao doesn't do it either, no matter what I try. I'm guessing it would require a lot of tweaking via custom code.

The .8 .4 timing is a great universal starting point to make wave action in many tanks. Just watch the intensity so you don't spill water over the sides.

Re: JEBO WP-40

Posted: Mon Jul 01, 2013 9:27 am
by rimai
The vortech drivers use symetric wave pulses, so they will always be 50% on and 50% off, unless you do custom.

Re: JEBO WP-40

Posted: Mon Jul 01, 2013 9:29 am
by lnevo
Yeah Im doing it with Custom.

Re: JEBO WP-40

Posted: Mon Jul 01, 2013 5:18 pm
by ReeferBee
I'm loving BhazardMode and Cosmith71's Else mode. Thank you guys very much!!

I've found that

Code: Select all

 
( millis()%1250<575?70:0);
( millis()%1250<675?0:70);
makes a perfect size wave for my 4' tank.

Re: JEBO WP-40

Posted: Thu Jul 04, 2013 1:31 pm
by clw143

Code: Select all

ReefAngel.PWM.SetDaylight(millis()%1200>800?80:0);
Is this suppose to do the same thing as "W1" mode?

Re: JEBO WP-40

Posted: Fri Jul 05, 2013 4:38 pm
by ReeferBee
Yes

Re: JEBO WP-40

Posted: Sat Jul 06, 2013 10:42 am
by clw143
I still see a bit of random behavior with that, sometimes the speed to 0 seems to be a longer pause than the last. What is the format of the numbers out front? the 80 and 0 are speed, how does the 1200>800 relate to the duration?

Re: JEBO WP-40

Posted: Sat Jul 06, 2013 11:03 am
by lnevo
Its now()%1200 > 800

It basically means for the last 400ms of every 1200ms.

Re: JEBO WP-40

Posted: Sat Jul 06, 2013 11:46 am
by clw143
So this is 1 cycle is 1200ms, 800ms on, 400ms off?

Re: JEBO WP-40

Posted: Sat Jul 06, 2013 12:08 pm
by lnevo
Its actually 800 at 0 then 400 at 80

Re: JEBO WP-40

Posted: Sat Jul 06, 2013 12:40 pm
by clw143
ok, thanks. Is there a min speed in (ms) the controller works with?

I lowered the timing to millis()%750>250?100,0

I get what seems to be consistent pulses except every 3rd or 4th pulse it just stays on for a cycle.

this is closer numbers to what W1 mode moves my tank.

Re: JEBO WP-40

Posted: Thu Sep 05, 2013 3:46 am
by georgete
hi there guys , due to a lack of information on the web about Jebao Wp40 and Arduino , i saw here that there is a large amount of info abut it...
i am not using the RA controller , i am a bit of DIY lover, so if i may , i need to ask a question about Arduino MEGA2560 and Jebao WP40,

i was working in a project for some time , i drive 2 jebaos from Arduino Mega250 , with my custom code,
I DO NOT use any lowpassfilter , i just cut the 5V PWM from Stock Jebao controller and put directly in Pin2 PWM input of arduino , and slipt the GND of the pump into the GND of arduino . And this setup is working fine for couple of months..
Is the any problem , or am i looking for problems if i am not using LowPassFilter???
thanks in advance

PS the movement of the pump is like vortech , smooth and nice ,, So the question is , why low pass filter..

Re: JEBO WP-40

Posted: Thu Sep 05, 2013 8:16 am
by rimai
I would use, not because I know the reason, but because the original controller had it.
If they put one there, they had a reason to do so.
I'm not so sure what the reason is, since I didn't create the pumps, but if they went through the trouble of converting PWM to analog, you better of using one too.
You can also just grab one of the cables from the webstore to avoid the trouble of making one and ask to change it to work on your Arduino. This way, you have the option of their controller or arduino.

Re: JEBO WP-40

Posted: Fri Sep 06, 2013 12:27 am
by georgete
Alberto thank you very much!

Re: JEBO WP-40

Posted: Sat Dec 21, 2013 3:25 pm
by 89delta
So i'm not sure if I missed it or not.....But are we able to run multiple Jebao's each doing their own turn in using antisync provided I have the PWM pinouts.