Page 1 of 1

How do I code automatic feeding?

Posted: Tue Mar 22, 2011 5:16 pm
by alexwbush
I am looking to add an automatic feeder... no not because I am lazy, but because I am trying to
1. be able to build consistency in my setup... isn't that why we have these controllers?
2. be able to leave the house for a week or more and not have to worry about tasking someone else to take care of my pets

Unfortunately I haven't found a good plug in feeder (please post if you've found one) to control with the RA, so for now I just want to program it to start feeding mode at a certain time (say 1900... 7pm). That way I can make my feeder feed at 1905. And then at 1915, back to normal operations.

Thoughts?

Re: How do I code automatic feeding?

Posted: Tue Mar 22, 2011 7:51 pm
by rimai
All you have to do is trigger it so it executes the feeding mode code.

Code: Select all

  if (ScheduleTime(9,55,0)==ScheduleTime(hour(now()),minute(now()),second(now()))){
    ReefAngel.LCD.Clear(255,0,0,130,130);
    ReefAngel.SelectedMenu=0;
    delay(1000);
  }
The example code is attached.

Re: How do I code automatic feeding?

Posted: Tue Mar 22, 2011 9:30 pm
by alexwbush
Nice! Thanks Roberto, I'll give it a shot. I need to pick up a feeder.

Re: How do I code automatic feeding?

Posted: Fri Apr 01, 2011 11:11 am
by astralmind
alexwbush wrote:Nice! Thanks Roberto, I'll give it a shot. I need to pick up a feeder.
let us all know if you manage to find a good one, I've been looking myself but no success yet..