Low Water cut off
Re: Low Water cut off
To simplify, a quick and dirty way to clear it would be to enter feeding mode and exit.
Would this work around work for you?
Would this work around work for you?
Roberto.
Re: Low Water cut off
If i do this through the 'feeding' mode will effect my ability to use the feeding mode as i currently do?rimai wrote: enter feeding mode and exit.
Would this work around work for you?
Currently, when i select the feeding mode my skimmer and pumps stop for 15 mins. can this still occur? if so than after 15 mins when everything turns back on wouldnt it 'clear' the low water signal and turn the main pump on again??
Sorry, i am confused can you clarify?
Thanks
Re: Low Water cut off
My buddy is trying to help me out and found a 'custom menus' tutorial version 1.1 in the forum but we have some questions when we go to the 'reef angel features' folder it pulls up the RA Gen and we dont see where to add the #define CUSTOM MENU lines. I see the tab in RA Gen that says cutom menu but the instructions are a little off.
Are we in the right area?
Is their a later version than 1.1 of the manual?
Are we in the right area?
Is their a later version than 1.1 of the manual?
Re: Low Water cut off
Yes, the feeding mode would still work as it should, but I think the main pump would be cleared the minute you start the feeding mode and not at the end.
Does that work for you?
If so, use this instead:
Does that work for you?
If so, use this instead:
Code: Select all
if (ReefAngel.LowATO.IsActive()) ReefAngel.Relay.RelayMaskOff&=~Port8Bit;
Roberto.
Re: Low Water cut off
I hear you but i would rather not trun the main pump off and on each time i toggle the feedingh mode. I have other equipment tied to it and it will be to much.
Since i am not using the ATO feature as intended can we just tie it to the ATO feature? it seems to havethe ATO Clear toggle - can that work?
If not, i have a friend trying to help with custom menu - see my previous post for questions - thanks
Since i am not using the ATO feature as intended can we just tie it to the ATO feature? it seems to havethe ATO Clear toggle - can that work?
If not, i have a friend trying to help with custom menu - see my previous post for questions - thanks
Re: Low Water cut off
I don't think ATO would work for you.
You still need to add that code I posted above regardless of which method we use to clear.
For the custom menu define, don't worry about them. They get added automatically now.
This is the same simple menu with your option added to it.
Place it above setup()
And you need this inside setup()
You still need to add that code I posted above regardless of which method we use to clear.
For the custom menu define, don't worry about them. They get added automatically now.
This is the same simple menu with your option added to it.
Place it above setup()
Code: Select all
#include <avr/pgmspace.h>
prog_char menu0_label[] PROGMEM = "Feeding";
prog_char menu1_label[] PROGMEM = "Water Change";
prog_char menu2_label[] PROGMEM = "ATO Clear";
prog_char menu3_label[] PROGMEM = "Overheat Clear";
prog_char menu4_label[] PROGMEM = "PH Calibration";
prog_char menu5_label[] PROGMEM = "Version";
prog_char menu6_label[] PROGMEM = "Clear Low Water";
PROGMEM const char *menu_items[] = {
menu0_label, menu1_label, menu2_label, menu3_label, menu4_label, menu5_label, menu6_label };
void MenuEntry1()
{
ReefAngel.FeedingModeStart();
}
void MenuEntry2()
{
ReefAngel.WaterChangeModeStart();
}
void MenuEntry3()
{
ReefAngel.ATOClear();
ReefAngel.DisplayMenuEntry("Clear ATO Timeout");
}
void MenuEntry4()
{
ReefAngel.OverheatClear();
ReefAngel.DisplayMenuEntry("Clear Overheat");
}
void MenuEntry5()
{
ReefAngel.SetupCalibratePH();
ReefAngel.DisplayedMenu = ALT_SCREEN_MODE;
}
void MenuEntry6()
{
ReefAngel.DisplayVersion();
}
void MenuEntry7()
{
ReefAngel.Relay.RelayMaskOff=0;
}
Code: Select all
ReefAngel.InitMenu(pgm_read_word(&(menu_items[0])),SIZE(menu_items));
Roberto.
Re: Low Water cut off
Ok - We copied and compiled, seems fine and will test it out - thanks
If we decide to add a high water cutoff can i use the same menu or do i need to add a new menu?
Thanks again
If we decide to add a high water cutoff can i use the same menu or do i need to add a new menu?
Thanks again
Re: Low Water cut off
Good morning,
It kinda worked but I was unable to turn it back on unless i unplugged the controller. For some reason last night the pump trippped on low water (never got around to testing) and stopped working as planned and did not reset as planned. (unforutunetly for me my water level was off and water flowed out of the sump and on the floor, ugh)
Anyway, the 'low water cut off' is in the menu as planned but when i selected it i got a blank screen and nothing happened. I tried plugging the controller into the laptop to reset it, nothing. The only way to clear the code was to unplug the controller.
Can you help fix this?
Here is the posted code
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <ReefAngel.h>
////// Place global variable code below here
#include <avr/pgmspace.h>
prog_char menu0_label[] PROGMEM = "Feeding";
prog_char menu1_label[] PROGMEM = "Water Change";
prog_char menu2_label[] PROGMEM = "ATO Clear";
prog_char menu3_label[] PROGMEM = "Overheat Clear";
prog_char menu4_label[] PROGMEM = "PH Calibration";
prog_char menu5_label[] PROGMEM = "Version";
prog_char menu6_label[] PROGMEM = "Clear Low Water";
PROGMEM const char *menu_items[] = {
menu0_label, menu1_label, menu2_label, menu3_label, menu4_label, menu5_label, menu6_label };
void MenuEntry1()
{
ReefAngel.FeedingModeStart();
}
void MenuEntry2()
{
ReefAngel.WaterChangeModeStart();
}
void MenuEntry3()
{
ReefAngel.ATOClear();
ReefAngel.DisplayMenuEntry("Clear ATO Timeout");
}
void MenuEntry4()
{
ReefAngel.OverheatClear();
ReefAngel.DisplayMenuEntry("Clear Overheat");
}
void MenuEntry5()
{
ReefAngel.SetupCalibratePH();
ReefAngel.DisplayedMenu = ALT_SCREEN_MODE;
}
void MenuEntry6()
{
ReefAngel.DisplayVersion();
}
void MenuEntry7()
{
ReefAngel.Relay.RelayMaskOff=0;
}
////// Place global variable code above here
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port1Bit | Port5Bit | Port6Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port7Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port3Bit | Port4Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port1Bit | Port3Bit | Port4Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 850 );
// Ports that are always on
ReefAngel.Relay.On( Port1 );
ReefAngel.Relay.On( Port7 );
ReefAngel.Relay.On( Port8 );
////// Place additional initialization code below here
ReefAngel.InitMenu(pgm_read_word(&(menu_items[0])),SIZE(menu_items));
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardLights( Port2,9,0,21,0 );
ReefAngel.StandardLights( Port3,9,0,21,30 );
ReefAngel.StandardLights( Port4,11,0,20,25 );
ReefAngel.Wavemaker( Port5,960 );
ReefAngel.Relay.Set( Port6, !ReefAngel.Relay.Status( Port5 ) );
ReefAngel.PWM.SetDaylight( PWMSlope(11,0,20,25,5,42,120,5) );
ReefAngel.PWM.SetActinic( PWMSlope(9,0,21,30,15,60,60,15) );
////// Place your custom code below here
if (ReefAngel.LowATO.IsActive()) ReefAngel.Relay.RelayMaskOff&=~Port8Bit,Port7Bit,Port1Bit;
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "Seagals" );
ReefAngel.ShowInterface();
}
It kinda worked but I was unable to turn it back on unless i unplugged the controller. For some reason last night the pump trippped on low water (never got around to testing) and stopped working as planned and did not reset as planned. (unforutunetly for me my water level was off and water flowed out of the sump and on the floor, ugh)
Anyway, the 'low water cut off' is in the menu as planned but when i selected it i got a blank screen and nothing happened. I tried plugging the controller into the laptop to reset it, nothing. The only way to clear the code was to unplug the controller.
Can you help fix this?
Here is the posted code
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <ReefAngel.h>
////// Place global variable code below here
#include <avr/pgmspace.h>
prog_char menu0_label[] PROGMEM = "Feeding";
prog_char menu1_label[] PROGMEM = "Water Change";
prog_char menu2_label[] PROGMEM = "ATO Clear";
prog_char menu3_label[] PROGMEM = "Overheat Clear";
prog_char menu4_label[] PROGMEM = "PH Calibration";
prog_char menu5_label[] PROGMEM = "Version";
prog_char menu6_label[] PROGMEM = "Clear Low Water";
PROGMEM const char *menu_items[] = {
menu0_label, menu1_label, menu2_label, menu3_label, menu4_label, menu5_label, menu6_label };
void MenuEntry1()
{
ReefAngel.FeedingModeStart();
}
void MenuEntry2()
{
ReefAngel.WaterChangeModeStart();
}
void MenuEntry3()
{
ReefAngel.ATOClear();
ReefAngel.DisplayMenuEntry("Clear ATO Timeout");
}
void MenuEntry4()
{
ReefAngel.OverheatClear();
ReefAngel.DisplayMenuEntry("Clear Overheat");
}
void MenuEntry5()
{
ReefAngel.SetupCalibratePH();
ReefAngel.DisplayedMenu = ALT_SCREEN_MODE;
}
void MenuEntry6()
{
ReefAngel.DisplayVersion();
}
void MenuEntry7()
{
ReefAngel.Relay.RelayMaskOff=0;
}
////// Place global variable code above here
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port1Bit | Port5Bit | Port6Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port7Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port3Bit | Port4Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port1Bit | Port3Bit | Port4Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 850 );
// Ports that are always on
ReefAngel.Relay.On( Port1 );
ReefAngel.Relay.On( Port7 );
ReefAngel.Relay.On( Port8 );
////// Place additional initialization code below here
ReefAngel.InitMenu(pgm_read_word(&(menu_items[0])),SIZE(menu_items));
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardLights( Port2,9,0,21,0 );
ReefAngel.StandardLights( Port3,9,0,21,30 );
ReefAngel.StandardLights( Port4,11,0,20,25 );
ReefAngel.Wavemaker( Port5,960 );
ReefAngel.Relay.Set( Port6, !ReefAngel.Relay.Status( Port5 ) );
ReefAngel.PWM.SetDaylight( PWMSlope(11,0,20,25,5,42,120,5) );
ReefAngel.PWM.SetActinic( PWMSlope(9,0,21,30,15,60,60,15) );
////// Place your custom code below here
if (ReefAngel.LowATO.IsActive()) ReefAngel.Relay.RelayMaskOff&=~Port8Bit,Port7Bit,Port1Bit;
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "Seagals" );
ReefAngel.ShowInterface();
}
Re: Low Water cut off
Oh, I think I made a mistake
I'm so sorry.
You need to replace this:
With this:
Also, the assignment of ports need to be like this:
I'm so sorry.
You need to replace this:
Code: Select all
ReefAngel.Relay.RelayMaskOff=0;
Code: Select all
ReefAngel.Relay.RelayMaskOff=255;
Code: Select all
if (ReefAngel.LowATO.IsActive()) ReefAngel.Relay.RelayMaskOff&=~(Port8Bit | Port7Bit | Port1Bit);
Roberto.
Re: Low Water cut off
Works great - Thank you!
Re: Low Water cut off
opps!, maybe not - for some reason she cutout on low water again, this tie i was up and know the float was under 6 inches of water. This time when i plugged the controller into the computer it reset and everything restarted.
Any ideas on why she is cutting out on low water when thier is plenty of water?
Any ideas on why she is cutting out on low water when thier is plenty of water?
Re: Low Water cut off
Are the exposed leads touching the water?
Can you try another float switch?
Can you try another float switch?
Roberto.
Re: Low Water cut off
I replaced the float, we'll see - the existing float looked good, soldered leads out of the way and i had the leads in a tube sealed on each side with silicone and the tube was dry. I hope it was just a faulty switch. I'll keep you posted.
Re: Low Water cut off
I am still having issues even with the replacement float. I can try another float whe it comes in but i am not sure their would be 2 bad floats in a row. It is usually sparatic and goes off at different times of the day and night. last night it went off on low water 4 times. the 2nd time i was checking the sump and their was plenty of water in the sump. i also tried changing the location of the float in the sump but it went off 2 more times after that. i finally just unplugged the pin from the controller.
Any thoughts??
Any thoughts??
Re: Low Water cut off
Let's try this:
This code will only do the override if the float is triggered for at least 2 seconds.
Let me know if it works this way.
Code: Select all
static unsigned long lastATOCheck=millis();
if (!ReefAngel.LowATO.IsActive()) lastATOCheck=millis();
if (ReefAngel.LowATO.IsActive() && (millis()-lastATOCheck>2000)) ReefAngel.Relay.RelayMaskOff&=~(Port8Bit | Port7Bit | Port1Bit);
Let me know if it works this way.
Roberto.
-
- Posts: 289
- Joined: Wed May 16, 2012 9:52 pm
Re: Low Water cut off
I have had issues with two floats... Well one really... In my first situation the float switch was flaky. It was under several inches of water and the float apparently didn't like to actually float. I replaced that float switch and all is working fine as of now. The second... Just today I installed another float switch in the bottom of my 44 gallon Saltwater Brute for my water change/ATO. I finished installing the float switch and went to the controller and it was showing an active (closed) state. I figured I must have another flaky float switch... NOPE My ATO/WC Pump was too close to the float switch and the magnets inside the pump were activating the float switch contacts. I moved the pump further away from the float switch and all is well. So you may just want to verify you have nothing with a magnetic field near your float switches. They CAN/WILL cause a false active state.
Nick
Nick
180G FOWLR
20GH QT#1
29G QT#2
20GH QT#1
29G QT#2
Re: Low Water cut off
THnaks, the latest code with 2 sec delay has been working
Re: Low Water cut off
My low water cut off has been working fine since 2012 but recently has stopped working. I tried replacing the float as well as connecting the two wires to simulate contact but the RA doesn't seem to be kicking the main pump off. I haven't changed the code since it was entered in 2012 - any thoughts?
Re: Low Water cut off
Can you unplug the cable from RA and check if you get the same behavior when you short out the pins in the head unit??
It could be something may have damaged that port. Check for water damage.
It could be something may have damaged that port. Check for water damage.
Roberto.
Re: Low Water cut off
Thanks for reply Roberto, Same behavior...nothing happens. I also tried switching the connections, to no avail. The pins on the left are my low water cutoff for the main pump and the pins to the right are my hi water cut off for my skimmer cup. The pins on the right works fine so I tried switching the low water with the high water and the pins on the left and left pins are NG. I can't see how any water would get in their since the unit is mounted high up under the cabinet.
Any suggestions on port repair?
Any suggestions on port repair?
Re: Low Water cut off
If the port is bad, I don't think there is a way to repair, but to send it back.
Roberto.
Re: Low Water cut off
Uffa! - Would you please be able to email me the details involved, length of time, shipping, etc. and anything else you feel would be pertinent? (I am assuming you have my contact info from my screen name).
Thanks
Thanks