Controlling Jebao/Tunze/Speedwave pumps

Would you like to help?
Share your walkthrough tutorial with others
PostPosted: Sun Apr 21, 2013 4:18 am
I would love to get one of these pumps going but don't have any free PWM ports, or do I?

I am using the Water level expansion so I do have the two ATO ports free and I seem to remember that they can provide a 0-5v PWM output.

I guess the question is would this output be sufficient to drive the the pump? If so how would the above code need to be changed to get the ATO ports in to use.

Posts: 12288
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sun Apr 21, 2013 8:12 am
Only one ATO port can do PWM.
Code: Select all
pinMode(lowATOPin,OUTPUT);
analogWrite(lowATOPin,ReefCrestMode(60,20,true)*2.55);

The cable is designed to work on 0-10VDC signals.
You will need to mod the cable if you want to use 0-5VDC signal.
Take one resistor and bridge the pads instead.

Edited: Pads do not need to be bridged. Only removal of resistor R2 is necessary
Roberto.
PostPosted: Sun Apr 21, 2013 4:11 pm
Thanks, I thought that was the case. As I have not seen the cable harnes I am not sure what you mean by bridge the pads?


Any chance of a circuit diagram?

Many thanks

Posts: 12288
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sun Apr 21, 2013 5:53 pm
Remove R2.
Attachments
Jebao.png
Jebao.png (2.39 KiB) Viewed 2961 times
Roberto.
PostPosted: Sun Apr 21, 2013 5:56 pm
Thanks Roberto

I will get a pump sent over and the place an order for cable and a couple of other bits as well.

Thanks again

Posts: 4
Joined: Wed Mar 20, 2013 11:38 am
PostPosted: Fri Apr 26, 2013 11:45 am
First I would like to thank you all for the great info and help. I've owned my RA for about three weeks and I found everything I needed to get it running in this forum.

I also bought a WP40 pump and cable. I was able to upload the code (reef crest) and its working great, thank you to Roberto for the tutorial.

My question is, can I use the portal or the reef angel client to change the settings on PWM? How do i go about doing that? Specifically change the maximum and minimum percentage settings on reef crest.
Image

Posts: 12288
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Fri Apr 26, 2013 12:10 pm
You could leverage the RF memory locations until we have developed memory locations specific for Jebao.
For example:
Code: Select all
  ReefAngel.PWM.SetDaylight( ReefCrestMode(InternalMemory.RFSpeed_read(),InternalMemory.RFDuration_read(),true) );

The above function would use the RF Speed as the average speed and RF Duration as the offset.
Now you can change it in the Portal :)
Roberto.
User avatar
Posts: 5361
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Fri Apr 26, 2013 2:40 pm
Take a look at this post as well. It has logic to leverage all the "vortech" modes.

viewtopic.php?p=23072#p23072

Posts: 24
Joined: Tue May 21, 2013 6:18 pm
PostPosted: Fri May 24, 2013 2:42 pm
Can anyone recommend a code for just running one WP40? Should I just set my relay (port5) to always on, then put one of the codes in the custom code section? I currently have the reefcrest code in there. May try the random mode code that Roberto posted though.

Right now I have port 5 set to wavemaker random and the pump stays off for longer than I care for it to.

Thanks

Posts: 12288
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Fri May 24, 2013 3:06 pm
You can actually plug it to the wall and use Port 5 for something else you may want to control.
Roberto.
PreviousNext

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron