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?
How do I code automatic feeding?
-
alexwbush
- Posts: 327
- Joined: Tue Mar 22, 2011 12:45 am
- Location: San Diego, CA
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: How do I code automatic feeding?
All you have to do is trigger it so it executes the feeding mode code.
The example code is attached.
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);
}
You do not have the required permissions to view the files attached to this post.
Roberto.
-
alexwbush
- Posts: 327
- Joined: Tue Mar 22, 2011 12:45 am
- Location: San Diego, CA
Re: How do I code automatic feeding?
Nice! Thanks Roberto, I'll give it a shot. I need to pick up a feeder.
-
astralmind
- Posts: 98
- Joined: Fri Apr 01, 2011 10:53 am
Re: How do I code automatic feeding?
let us all know if you manage to find a good one, I've been looking myself but no success yet..alexwbush wrote:Nice! Thanks Roberto, I'll give it a shot. I need to pick up a feeder.