Canreef Aquatics Bulletin Board  

Go Back   Canreef Aquatics Bulletin Board > General > DIY

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2010, 03:38 PM
plutoniumJoe's Avatar
plutoniumJoe plutoniumJoe is offline
Member
 
Join Date: Oct 2008
Location: Vancouver
Posts: 283
plutoniumJoe is on a distinguished road
Default Hooking it up to the Arduino

As I stated earlier this will also control my dosing system so it has more than you need for this project but....



To make it all work I used the Arduino Digital Blink Program.

/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.

This example code is in the public domain.
*/

void setup() {
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(13, OUTPUT);
}

void loop() {
digitalWrite(13, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(13, LOW); // set the LED off
delay(1000); // wait for a second
}

According to this code the arduino will send a signal to the digital pin 13 to turn it on and off every 1000 milliseconds (1 sec) I modified it to every 15000 milliseconds for our purposes. You will need to connect one of the wires from your relay to the 5v spot on the arduino and the other to the digital pin denoted in your program. Every 15seconds the arduino will turn on the pin and complete the circuit which will activate the relay. When the relay is active the power will be given to the NO wire on the receptacle and when the pin is off (relay off) the power will be given to the NC wire giving you alternating pulses to your power heads.

I ended up getting a nice little 1" wave in my tank and my frogspawn moved to and fro. One of the koralia is loud so I need to look at that but oveall I am rather happy. Now on to the dosing side of it all.
__________________
210 Gallon slowly gaining population.

Foxface, Naso, Coral Beauty, 2 Clowns, 2 Chromis, Orange Anthias, and Striped Goby.
Reply With Quote
  #2  
Old 04-25-2011, 01:50 PM
overhal overhal is offline
Junior Member
 
Join Date: Apr 2011
Location: Toronto
Posts: 1
overhal is on a distinguished road
Default

Did this burn any of your powerheads?
How long have you been running it?

Thank you!
Reply With Quote
  #3  
Old 04-25-2011, 03:15 PM
plutoniumJoe's Avatar
plutoniumJoe plutoniumJoe is offline
Member
 
Join Date: Oct 2008
Location: Vancouver
Posts: 283
plutoniumJoe is on a distinguished road
Default

Both power heads are still running great. I found that if I make the cycle loop about 5seconds I get some very nice wave action but normally I leave it on about 15 seconds.
__________________
210 Gallon slowly gaining population.

Foxface, Naso, Coral Beauty, 2 Clowns, 2 Chromis, Orange Anthias, and Striped Goby.
Reply With Quote
  #4  
Old 04-25-2011, 04:32 PM
phi delt reefer's Avatar
phi delt reefer phi delt reefer is offline
Member
 
Join Date: Sep 2010
Location: London, ON
Posts: 578
phi delt reefer is on a distinguished road
Default

are you using the 120v Korila powerheads or the 12v controllable ones?
Reply With Quote
  #5  
Old 04-25-2011, 05:17 PM
plutoniumJoe's Avatar
plutoniumJoe plutoniumJoe is offline
Member
 
Join Date: Oct 2008
Location: Vancouver
Posts: 283
plutoniumJoe is on a distinguished road
Default

I am using the 120v evolution ones.

BTW my Grandfather(Ohio State) and Father(Miami of Ohio) are both PhiDelts.
__________________
210 Gallon slowly gaining population.

Foxface, Naso, Coral Beauty, 2 Clowns, 2 Chromis, Orange Anthias, and Striped Goby.
Reply With Quote
  #6  
Old 04-25-2011, 05:31 PM
phi delt reefer's Avatar
phi delt reefer phi delt reefer is offline
Member
 
Join Date: Sep 2010
Location: London, ON
Posts: 578
phi delt reefer is on a distinguished road
Default

Quote:
Originally Posted by plutoniumJoe View Post
I am using the 120v evolution ones.

BTW my Grandfather(Ohio State) and Father(Miami of Ohio) are both PhiDelts.

NICE - I was brought in under the University of Western Ontario Chapter back in '06. Though our chapter is closed we still continue our Alumni events amoungst ourselves.

The issue with the AC pumps is the backwards spinning that may occur during constant switching and the nature of AC. The EVO pumps have bungs on the front grill that stop the reverse motion but owners are advising that those bungs are starting to "crack" off the grill - allowing reverse starts.

There were some attempts made by others to replicate the hydor controller for their DC pump line (the pumps are cheap but the controller is super expensive) - but i have yet to see one that is cost effecient. I think i saw a video for one on youtube but it didnt look like it was any cheaper to build than buying the original from Hydor.
Reply With Quote
  #7  
Old 04-26-2011, 01:25 AM
plutoniumJoe's Avatar
plutoniumJoe plutoniumJoe is offline
Member
 
Join Date: Oct 2008
Location: Vancouver
Posts: 283
plutoniumJoe is on a distinguished road
Default

Quote:
Originally Posted by phi delt reefer View Post

The issue with the AC pumps is the backwards spinning that may occur during constant switching and the nature of AC. The EVO pumps have bungs on the front grill that stop the reverse motion but owners are advising that those bungs are starting to "crack" off the grill - allowing reverse starts.

There were some attempts made by others to replicate the hydor controller for their DC pump line (the pumps are cheap but the controller is super expensive) - but i have yet to see one that is cost effecient. I think i saw a video for one on youtube but it didnt look like it was any cheaper to build than buying the original from Hydor.
I originally had the first Generation Evolution pumps and the had a problem with the bearing slipping and the pump starting backwards. The bumper at the front could also fall off. I found these pumps to be too load and the bearing a pain. I tried gluing the bearing and it worked well, I still am using that pump. I replaced my other pump with the newer generation Evolution and it seems much quieter and no backwards starting.

Excluding the price of the arduino which I am going to use for other things I would guess that the box etc cost under $15 with relay.

Right now the only way to change the delay is to re-program the arduino but one day when I have time I might run the delay of a pot so that you can dial the delay.
__________________
210 Gallon slowly gaining population.

Foxface, Naso, Coral Beauty, 2 Clowns, 2 Chromis, Orange Anthias, and Striped Goby.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 10:03 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.