High ATO port

Basic / Standard Reef Angel hardware
Post Reply
ganjero
Posts: 147
Joined: Fri Jul 05, 2013 5:29 am

High ATO port

Post by ganjero »

Can I use only the HighATO port to monitor the water level in my ATO reservoir? I was thinking in placing the sensor upside down at the bottom of the reservoir but how would I code this?

Thanks
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: High ATO port

Post by rimai »

What do you want to do when the float switch is triggered?
Roberto.
ganjero
Posts: 147
Joined: Fri Jul 05, 2013 5:29 am

Re: High ATO port

Post by ganjero »

rimai wrote:What do you want to do when the float switch is triggered?
Yell to my wife "HEY IT"S TIME TO REFILL THE ATO RESERVOIR" :lol:

I would like to get some type of notification (email, text, or something on the phone app if possible) and turn off port4. I guess I can also buy the buzzer (where can it be connected?) so maybe it can "yell" that is time to refill the reservoir.
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: High ATO port

Post by rimai »

You can set the portal to send you an alert on ATOHIGH equals 1
You can set port4 off with a code like this:

Code: Select all

ReefAngel.Relay.Set(Port4,ReefAngel.HighATO.IsActive());
The buzzer can be connected to any dimming port (actinic or daylight) or you can also use a wall wart and use a relay port.
Roberto.
ganjero
Posts: 147
Joined: Fri Jul 05, 2013 5:29 am

Re: High ATO port

Post by ganjero »

Great, thanks.
Image
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: High ATO port

Post by binder »

if you are using my android app and doing the auto update, you can set notifications based on the ato status as well. the portal updates will probably be faster because the controller updated it more frequently (roughly every 5 minutes)


Sent from my iPad mini
ganjero
Posts: 147
Joined: Fri Jul 05, 2013 5:29 am

Re: High ATO port

Post by ganjero »

binder wrote:if you are using my android app and doing the auto update, you can set notifications based on the ato status as well. the portal updates will probably be faster because the controller updated it more frequently (roughly every 5 minutes)


Sent from my iPad mini
Thanks
Image
ganjero
Posts: 147
Joined: Fri Jul 05, 2013 5:29 am

Re: High ATO port

Post by ganjero »

is there something I need to put in the code to use the ato ports? I plug a sensor in the high ato port and it's not turning on. I am using the low ato port to control a DC pump, don't know if that makes a different.
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: High ATO port

Post by lnevo »

Which libraries are you using? HighATO port isn't in the default libraries yet for DCPump. Also, can you post your current code. In the dev branch you'll just need to do

ReefAngel.DCPump.HighATOChannel=Sync; // or AntiSync...

That should get it to follow the DCPump settings.
ganjero
Posts: 147
Joined: Fri Jul 05, 2013 5:29 am

Re: High ATO port

Post by ganjero »

Im actually trying to using the high ATO with the sensor.
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: High ATO port

Post by lnevo »

What kind of sensor. The ATO ports dont act like that as far as i know. You can use them to detect a switch port or as an output pwm port
ganjero
Posts: 147
Joined: Fri Jul 05, 2013 5:29 am

Re: High ATO port

Post by ganjero »

I am using the ATO floating sensor that came with the RA
Image
Post Reply