Filter ATO signal
Filter ATO signal
Hello,
Is there a way to filter the ATO signal? I would like to use the single float switch method, but their is a constant slight wave motion in the chamber of my sump that the float switch is in. Ive tried some methods to dampen the wave around the switch but they have been unsuccessful. My ATO port as a result, switches on and off constantly. Is there a way to "average" the signal over say a minutes time to determine if the ATO port should come on to fill? Or maybe a way to say - if the ATO port is triggered then stay on for x amount of time. If using the latter, any ideas on a safety feature like the timeout? Maybe, if the ato is triggered x number of times in a short time period then trigger the "timeout" feature until manually reset?
Thanks
Is there a way to filter the ATO signal? I would like to use the single float switch method, but their is a constant slight wave motion in the chamber of my sump that the float switch is in. Ive tried some methods to dampen the wave around the switch but they have been unsuccessful. My ATO port as a result, switches on and off constantly. Is there a way to "average" the signal over say a minutes time to determine if the ATO port should come on to fill? Or maybe a way to say - if the ATO port is triggered then stay on for x amount of time. If using the latter, any ideas on a safety feature like the timeout? Maybe, if the ato is triggered x number of times in a short time period then trigger the "timeout" feature until manually reset?
Thanks
Re: Filter ATO signal
Alternatively, what have others done to manage this?
Re: Filter ATO signal
You can wrap it in a timer.
if (now()%SECS_PER_HOUR<10*SECS _PER_MINUTE) { //put ato code here } else { // put relay off here }
This lets the ato code work only for the first 10 minutes. You can adjust it to be as low as your ATO timeout so that it goes once an hour only or whatever interval you change SECS_PER_HOUR to.
if (now()%SECS_PER_HOUR<10*SECS _PER_MINUTE) { //put ato code here } else { // put relay off here }
This lets the ato code work only for the first 10 minutes. You can adjust it to be as low as your ATO timeout so that it goes once an hour only or whatever interval you change SECS_PER_HOUR to.
Re: Filter ATO signal
Awesome, I will try this. Thanks
Re: Filter ATO signal
So I finally coded this in, and it works except that about once a day, the ATO will trigger the timeout. I'm guessing that at the time the timer goes off, the float switch bobbed to be left not full. I have the timer set to work for 2 minutes every hour, and the timeout is set to an hour. I've noticed when its timed out, the sump level is right, so I know its not timing out after running the full 2 minutes.
What about coding it so the ATO would automatically run for x amount of time per hour (1 minute or 2 minutes), with some sort of if statement on the float switch that will not allow the relay to come on if the float switch triggers high sump level.
Thanks
What about coding it so the ATO would automatically run for x amount of time per hour (1 minute or 2 minutes), with some sort of if statement on the float switch that will not allow the relay to come on if the float switch triggers high sump level.
Thanks
Re: Filter ATO signal
There's this:
That's use port 1, timeout of 60 seconds, and the last 1 is for "come on only once every 1 hour". Change it to however many hours you like.
--Colin
Code: Select all
ReefAngel.SingleATOLow(1, 60, 1);
--Colin
Re: Filter ATO signal
Singlerimai wrote:Are you using standard ATO or single ATO?
Re: Filter ATO signal
Honestly there is some bug I think in the ATO code because when using the WLATO I still get a consistent ato timeout when I run it at 8pm. And granted, I run it only once every few days because it's my ATO reservoir I'm filling. Out of curiousity when duinrg the day do you find it timing out?
Re: Filter ATO signal
I haven't noticed it at any specific time. It seems random I would also only notice it certain times of day when I actually walk by and see it.