Search found 14 matches

by re76
Wed Jul 27, 2016 9:17 am
Forum: Standard
Topic: More troubles.. Why didn't it go in to feeding mode?
Replies: 34
Views: 22491

Re: More troubles.. Why didn't it go in to feeding mode?

here is my updated code with the else's incorporated //FEEDING MODE // Begin Feeding Mode if (((hour() == 7)) && (minute() == 30) || (hour() == 18) && (minute() == 00)) { ReefAngel.FeedingModeStart(); // FEEDING MODE @ 7:30 AM or 6:00 PM NoteTime = millis(); unsigned long DeltaTS = ...
by re76
Wed Jul 27, 2016 6:02 am
Forum: Standard
Topic: More troubles.. Why didn't it go in to feeding mode?
Replies: 34
Views: 22491

Re: More troubles.. Why didn't it go in to feeding mode?

It doesn't need to be static if you set it every time to millis() but it may need to be global only if you are using it in other functions outside of loop. If you are setting it once and want it retained like a flag that you want to set if something happens then you'll want to use static. Also time...
by re76
Wed Jul 27, 2016 4:18 am
Forum: Standard
Topic: More troubles.. Why didn't it go in to feeding mode?
Replies: 34
Views: 22491

Re: More troubles.. Why didn't it go in to feeding mode?

This is a really good start a few things though. I wouldn't use time_t, if you are intending it to store the output of a call to millis() you might want to change it to static unsigned long, which is what millis() returns. As far as I know time_t only has second accuracy and not millisecond accuracy...
by re76
Sun Jul 24, 2016 7:30 am
Forum: Standard
Topic: More troubles.. Why didn't it go in to feeding mode?
Replies: 34
Views: 22491

Re: More troubles.. Why didn't it go in to feeding mode?

To clarify a bit. The Reef Angel is based off of the Arduino platform. The Arduino tries to makes things simple for the end user by having only two important functions that are needed: a setup() function and loop() function. The loop function gets called by the arduino as much as possible. If you ha...
by re76
Sun Jul 24, 2016 6:43 am
Forum: Standard
Topic: More troubles.. Why didn't it go in to feeding mode?
Replies: 34
Views: 22491

Re: More troubles.. Why didn't it go in to feeding mode?

Give this a shot, but keep in mind that if it was in fact the problem, you might now have the same exact problem with the feeder too since you are also using seconds in those lines! This is the point I was trying to make. It would be really bad if your feeder turned on but you happened to miss the ...
by re76
Sun Jul 24, 2016 6:35 am
Forum: Standard
Topic: More troubles.. Why didn't it go in to feeding mode?
Replies: 34
Views: 22491

Re: More troubles.. Why didn't it go in to feeding mode?

Give this a shot, but keep in mind that if it was in fact the problem, you might now have the same exact problem with the feeder too since you are also using seconds in those lines! This is the point I was trying to make. It would be really bad if your feeder turned on but you happened to miss the ...
by re76
Sat Jul 23, 2016 8:20 am
Forum: Standard
Topic: More troubles.. Why didn't it go in to feeding mode?
Replies: 34
Views: 22491

Re: More troubles.. Why didn't it go in to feeding mode?

Give this a shot, but keep in mind that if it was in fact the problem, you might now have the same exact problem with the feeder too since you are also using seconds in those lines! This is the point I was trying to make. It would be really bad if your feeder turned on but you happened to miss the s...
by re76
Fri Jul 22, 2016 7:59 pm
Forum: Standard
Topic: More troubles.. Why didn't it go in to feeding mode?
Replies: 34
Views: 22491

Re: More troubles.. Why didn't it go in to feeding mode?

Starting feeding mode wouldnt be a problem to continue running for the minute. Think about it, there's as much potential of it going multiple times in that second already. I should have been more specific it isn't for feed mode that he needs the sub-minute resolution it is for his auto-feeder. He i...
by re76
Fri Jul 22, 2016 5:04 pm
Forum: Standard
Topic: More troubles.. Why didn't it go in to feeding mode?
Replies: 34
Views: 22491

Re: More troubles.. Why didn't it go in to feeding mode?

lnevo wrote:Or easier just take off the second() test altogether.
That would work too, but it looks like he is trying to turn things on for amounts of time that are less than a minute. Which means he will need to use something smaller than a minute.
by re76
Fri Jul 22, 2016 9:01 am
Forum: Standard
Topic: More troubles.. Why didn't it go in to feeding mode?
Replies: 34
Views: 22491

Re: More troubles.. Why didn't it go in to feeding mode?

Let me preface this by saying I don't own a ReefAngel yet, but I do have a lot of Arduino, C and C++ experience. I'm not sure what the cycle time of the code is, but seeing how everything in an Arduino is in one giant loop, there is going to be some sort of periodicity for when individual checks are...
by re76
Thu Jul 21, 2016 4:00 pm
Forum: Standard
Topic: Reef Angel Plus and tons of extras FS
Replies: 45
Views: 29910

Re: Reef Angel Plus and tons of extras FS

It seems I am too new here to send a PM. Maybe if you send me a PM I can reply? If I am reading the website correctly it says for $269 I would get the following if I bought new: Reef Angel Plus Controller Relay Box HDDB15 Communication Cable PH Probe Temp probe 2x float switch 2x float switch connec...
by re76
Thu Jul 21, 2016 8:30 am
Forum: Standard
Topic: Reef Angel Plus and tons of extras FS
Replies: 45
Views: 29910

Re: Reef Angel Plus and tons of extras FS

I am interested in this but have a few questions. I have been looking to get a Reef Angel system and this seems very serendipitous. Doesn't the Controller itself have a salinity and PH port? Are the expansions you have for PH and salinity for PH and salinity probes in addition to the ones that come ...
by re76
Wed Jul 20, 2016 6:12 pm
Forum: Standard
Topic: More ATO help needed
Replies: 15
Views: 13492

Re: More ATO help needed

Just as a heads up it looks like you have a typo in there. Reelay != Relay. :)
by re76
Wed Jul 20, 2016 6:23 am
Forum: Ask anything here
Topic: A couple questions before I buy
Replies: 1
Views: 3691

A couple questions before I buy

Hello everyone, I have been looking at getting an aquarium controller for a few weeks now. At first my front-runner has been the Apex because of the added benefit you get from being able to write code. I somehow had never managed to find the Reef Angel until I saw it mentioned somewhere on Reef2Reef...