Page 1 of 2

How to set feed mode time?

PostPosted: Thu Jul 31, 2014 11:02 am
by Martinkimae
Hello.
I would like to set the aquarium in to feed mode at 13:00 pm every day so i can use a automtic feeder at that time. The feeder Will go on batteris and should not be coded.

I'm new with reefangel and got it from an aquarium I bought second hand. Im very pleased with it.
I have learnd to change the dosing and temperature settings but thats as far as I can do.

Can someone please help me with the code?

Re: How to set feed mode time?

PostPosted: Thu Jul 31, 2014 12:40 pm
by lnevo
I'm pretty sure this is the code you'll need...

Code: Select all
if(hour()==15 && minute()==0 && second()==0) ReefAngel.FeedingModeStart();


You can put it in the loop() function in between the comments that say to put your custom code here.

Re: How to set feed mode time?

PostPosted: Thu Jul 31, 2014 12:59 pm
by Martinkimae
Think you very much. I Will try this.

Re: How to set feed mode time?

PostPosted: Thu Jul 31, 2014 1:35 pm
by Martinkimae
if(hour()==13 && minute()==0 && second()==0) ReefAngel.FeedingModeStart();

Is this right? feed mode start at 13:00 every day
Does feedingmode end automatically after 15 minutes?
I found were I should paste it in the arduino file.

Re: How to set feed mode time?

PostPosted: Thu Jul 31, 2014 1:50 pm
by lnevo
I made a mistake...hour should be 15 for 3pm.

Yes it will finish in 15 minutes on its own.

Re: How to set feed mode time?

PostPosted: Thu Jul 31, 2014 3:12 pm
by cosmith71
What kind of feeder are you using? I saw one at Petco for $20 today and I was thinking of doing the same thing. Glad you asked how to code it!

--Colin

Re: How to set feed mode time?

PostPosted: Fri Aug 01, 2014 5:55 am
by Martinkimae
I will use a Eheim 3581 automatic feeder on batteries and it will not be coded with reefangel.
I wondering if I can put it in the returnpart of the sump so I wont have the feeder visible in the display tank?
And if I want additional feeding times programmed i could just copy and change the time?
Im from Sweden and dont think we have that feeder in retail store and its the first time I heard of it.

Re: How to set feed mode time?

PostPosted: Fri Aug 01, 2014 5:57 am
by cosmith71
Yes, you can just copy and change the time.

Do you shut off the return pump as part of feeding mode? If you do, then it won't do much good to put the feeder over the sump.

I ordered an Eheim 3581. It was almost the same price and much better. :)

--Colin

Re: How to set feed mode time?

PostPosted: Fri Aug 01, 2014 6:04 am
by Martinkimae
the code works great! thank you very much for the quick response.
no my return pump stays on in feeding mode so i will try feeding in the sump.

Re: How to set feed mode time?

PostPosted: Wed Feb 28, 2018 12:59 pm
by anderzon_
Planing to use this code but wonder if its possible to do this twice a day with differnt times? And if it is possible to just slow down the pumps that are controlled by the dimming ports? For example during feeding the pumps just work on 20% for 15 minutes?