JEBO WP-40

Basic / Standard Reef Angel hardware
bhazard
Posts: 79
Joined: Mon Mar 11, 2013 11:25 am

Re: JEBO WP-40

Post 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.
bhazard
Posts: 79
Joined: Mon Mar 11, 2013 11:25 am

Re: JEBO WP-40

Post 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.
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: JEBO WP-40

Post 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.
bhazard
Posts: 79
Joined: Mon Mar 11, 2013 11:25 am

Re: JEBO WP-40

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

Re: JEBO WP-40

Post by rimai »

The vortech drivers use symetric wave pulses, so they will always be 50% on and 50% off, unless you do custom.
Roberto.
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: JEBO WP-40

Post by lnevo »

Yeah Im doing it with Custom.
ReeferBee
Posts: 55
Joined: Wed May 08, 2013 6:23 pm
Location: North GA

Re: JEBO WP-40

Post 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.
Last edited by ReeferBee on Sat Jul 20, 2013 10:28 pm, edited 1 time in total.
Barry

Current tank info: 150g mixed reef

"Some of the worst mistakes of my life were hair cuts" -Jim Morrison
clw143
Posts: 116
Joined: Fri Jun 21, 2013 8:20 pm
Location: Louisiana

Re: JEBO WP-40

Post by clw143 »

Code: Select all

ReefAngel.PWM.SetDaylight(millis()%1200>800?80:0);
Is this suppose to do the same thing as "W1" mode?
ReeferBee
Posts: 55
Joined: Wed May 08, 2013 6:23 pm
Location: North GA

Re: JEBO WP-40

Post by ReeferBee »

Yes
Barry

Current tank info: 150g mixed reef

"Some of the worst mistakes of my life were hair cuts" -Jim Morrison
clw143
Posts: 116
Joined: Fri Jun 21, 2013 8:20 pm
Location: Louisiana

Re: JEBO WP-40

Post 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?
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: JEBO WP-40

Post by lnevo »

Its now()%1200 > 800

It basically means for the last 400ms of every 1200ms.
clw143
Posts: 116
Joined: Fri Jun 21, 2013 8:20 pm
Location: Louisiana

Re: JEBO WP-40

Post by clw143 »

So this is 1 cycle is 1200ms, 800ms on, 400ms off?
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: JEBO WP-40

Post by lnevo »

Its actually 800 at 0 then 400 at 80
clw143
Posts: 116
Joined: Fri Jun 21, 2013 8:20 pm
Location: Louisiana

Re: JEBO WP-40

Post 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.
georgete
Posts: 2
Joined: Thu Sep 05, 2013 3:39 am

Re: JEBO WP-40

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

Re: JEBO WP-40

Post 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.
Roberto.
georgete
Posts: 2
Joined: Thu Sep 05, 2013 3:39 am

Re: JEBO WP-40

Post by georgete »

Alberto thank you very much!
89delta
Posts: 157
Joined: Mon Oct 15, 2012 7:21 pm
Location: Leesburg, GA

Re: JEBO WP-40

Post 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.
Post Reply