Auto Feed routine
9 posts
• Page 1 of 1
![]()
Posts: 96
Joined: Thu May 10, 2012 5:46 am Location: Sunny (and hot) South Florida |
Ok, so is there any way to get the system to kick into feeding mode and then trigger an automatic feeder? I understand we can hack a couple of different auto feeding systems to work with a wall wart to trigger it, but is there any way to trigger feed mode a couple minutes before triggering the feeder?
|
![]()
Posts: 96
Joined: Thu May 10, 2012 5:46 am Location: Sunny (and hot) South Florida |
Or alternately, if I add in this line, and coordinate it with an auto fish feeder will that work too?
Do I need an esle statement for if it is not 6PM? |
Nope. That will trigger the feeding mode to start at 6. You'll need to add a second one when you want to trigger the relay for your auto-feeder. That would should have an else to make sure the relay turns off.
|
|
![]()
Posts: 96
Joined: Thu May 10, 2012 5:46 am Location: Sunny (and hot) South Florida |
Well yes that was the basic idea, to get my RA to go into feed mode. Then the auto feed wohld start a minute or 2 later, but manuall on its own, not through my RA. Im on a time crunch and wont have enough time to mod the feeder before I leave. So I figure automate what I could, use the feeder as is and have it feed 2 minutes after feed mode starts in my RA.
|
Either way
![]() |
|
![]()
Posts: 96
Joined: Thu May 10, 2012 5:46 am Location: Sunny (and hot) South Florida |
I'm trying to understand what is going on here. Let me know if I'm on the right track. The first line checks to see if the time is 6PM. If it is then executes the commands in the brackets. Right? If I add a second time of day will this work too?
If I got this the code should kick my RA into feed mode at 8AM and 6PM. Is that right? This should go into the loop section of the sketch also, right? ![]() |
Yeap, you got it
![]() Roberto.
|
|
![]()
Posts: 96
Joined: Thu May 10, 2012 5:46 am Location: Sunny (and hot) South Florida |
YAY!! So this should work and it is in the right spot?
|
Looks good to me.
Roberto.
|
|
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests