Page 1 of 1
Ph probe keeps resetting to 1.00 a few hours after calibrati
Posted: Sun Dec 23, 2012 9:18 pm
by ecam
When the probe is calibrated. Are the setting stored anywhere that I can restore? It appears my calibration got wiped out when I was uploading some code. It seems like this happened after I plugged in my third temp probe. Any ideas?
Re: Ph probe keeps resetting to 1.00 a few hours after calib
Posted: Sun Dec 23, 2012 10:34 pm
by rimai
You can add this to your code, inside the setup() section:
Code: Select all
ReefAngel.PHMin=830; // PH10.0
ReefAngel.PHMin=540; // PH7.0
Re: Ph probe keeps resetting to 1.00 a few hours after calib
Posted: Mon Dec 24, 2012 1:22 pm
by ecam
Still not working... Here is what i did
#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 <ReefAngel.h>
void setup()
{
ReefAngel.Init(); // Initialize Controller
ReefAngel.AddStandardMenu();
ReefAngel.AddDateTimeMenu();
ReefAngel.FeedingModePorts = Port5Bit | Port6Bit; // Turn off Ports 5 and 6 when Feeding Mode is activated
ReefAngel.WaterChangePorts = Port1Bit | Port5Bit | Port6Bit | Port7Bit | Port8Bit; // Turn off Ports 1, 5, 6, 7 and 8 when Water Change Mode is activated
ReefAngel.OverheatShutoffPorts = Port3Bit | Port4Bit | Port7Bit; // Turn off Ports 3, 4 and 7 when overheat occurs
ReefAngel.LightsOnPorts = Port3Bit | Port4Bit; // Turn on/off Ports 3 and 4 when Light On/Off menu option is selected
ReefAngel.OverheatProbe = T1_PROBE; // Use Temperature probe 1 to check for overheat
ReefAngel.Relay.On(Port8); // Always on
ReefAngel.PHMin=830; // PH10.0
ReefAngel.PHMin=544; // PH7.0
}
void loop()
{
ReefAngel.LCD.DrawLargeText(COLOR_STEELBLUE,COLOR_WHITE,28,121,"Reef Angel"); // Display Reef Angel banner
ReefAngel.StandardATO(Port1); // Standard ATO
ReefAngel.MoonLights(Port2); // Moonlights or Refugium
ReefAngel.StandardLights(Port3,30); // Actinic Lights
ReefAngel.StandardLights(Port4,0); // Daylight Lights
ReefAngel.Wavemaker1(Port5); // Wavemaker 1
ReefAngel.Wavemaker2(Port6); // Wavemaker 2
ReefAngel.StandardHeater(Port7); // Heater
ReefAngel.PWM.StandardDaylight(); // Dimming for Daylight Channel
ReefAngel.PWM.StandardActinic(30); // Dimming for Actinic Channel
ReefAngel.ShowInterface(); // Display everything on the LCD screenfa
}
Re: Ph probe keeps resetting to 1.00 a few hours after calib
Posted: Mon Dec 24, 2012 6:38 pm
by rimai
One has to be PHMin and the other PHMax
Re: Ph probe keeps resetting to 1.00 a few hours after calib
Posted: Mon Dec 24, 2012 7:17 pm
by ecam
did that and still not reading right... reading 1.50 fpr ph
#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 <ReefAngel.h>
void setup()
{
ReefAngel.Init(); // Initialize Controller
ReefAngel.AddStandardMenu();
ReefAngel.AddDateTimeMenu();
ReefAngel.FeedingModePorts = Port5Bit | Port6Bit; // Turn off Ports 5 and 6 when Feeding Mode is activated
ReefAngel.WaterChangePorts = Port1Bit | Port5Bit | Port6Bit | Port7Bit | Port8Bit; // Turn off Ports 1, 5, 6, 7 and 8 when Water Change Mode is activated
ReefAngel.OverheatShutoffPorts = Port3Bit | Port4Bit | Port7Bit; // Turn off Ports 3, 4 and 7 when overheat occurs
ReefAngel.LightsOnPorts = Port3Bit | Port4Bit; // Turn on/off Ports 3 and 4 when Light On/Off menu option is selected
ReefAngel.OverheatProbe = T1_PROBE; // Use Temperature probe 1 to check for overheat
ReefAngel.Relay.On(Port8); // Always on
ReefAngel.PHMax=830; // PH10.0
ReefAngel.PHMin=544; // PH7.0
}
void loop()
{
ReefAngel.LCD.DrawLargeText(COLOR_STEELBLUE,COLOR_WHITE,28,121,"Reef Angel"); // Display Reef Angel banner
ReefAngel.StandardATO(Port1); // Standard ATO
ReefAngel.MoonLights(Port2); // Moonlights or Refugium
ReefAngel.StandardLights(Port3,30); // Actinic Lights
ReefAngel.StandardLights(Port4,0); // Daylight Lights
ReefAngel.Wavemaker1(Port5); // Wavemaker 1
ReefAngel.Wavemaker2(Port6); // Wavemaker 2
ReefAngel.StandardHeater(Port7); // Heater
ReefAngel.PWM.StandardDaylight(); // Dimming for Daylight Channel
ReefAngel.PWM.StandardActinic(30); // Dimming for Actinic Channel
ReefAngel.ShowInterface(); // Display everything on the LCD screen
}
Re: Ph probe keeps resetting to 1.00 a few hours after calib
Posted: Tue Dec 25, 2012 10:21 am
by rimai
Which numbers did you get when you were doing the calibration?
Re: Ph probe keeps resetting to 1.00 a few hours after calib
Posted: Tue Dec 25, 2012 10:53 am
by ecam
i used the numbers from the calibration which were slightly off from yours... so you sent 540 and 830,
i used 544 and 830 from my calibration. I used both sets of number to no success.
Re: Ph probe keeps resetting to 1.00 a few hours after calib
Posted: Tue Dec 25, 2012 11:00 am
by rimai
Can you go through the calibration again and confirm you are indeed getting those numbers?
Re: Ph probe keeps resetting to 1.00 a few hours after calib
Posted: Tue Dec 25, 2012 2:13 pm
by ecam
Just did it again and confirmed the numbers. as 544 abd 830. It worked for about an hr and then went back to 1.49 for ph
Re: Ph probe keeps resetting to 1.00 a few hours after calib
Posted: Tue Dec 25, 2012 2:18 pm
by rimai
If you enter calibration while it is showing 1.49ph, what number do you get?
Re: Ph probe keeps resetting to 1.00 a few hours after calib
Posted: Tue Dec 25, 2012 4:39 pm
by ecam
As of right now. It's registering correctly. I will let you know if its starts acting up again. Thank you