Ph probe keeps resetting to 1.00 a few hours after calibrati

Basic / Standard Reef Angel hardware
Post Reply
ecam
Posts: 229
Joined: Thu Nov 15, 2012 11:27 am

Ph probe keeps resetting to 1.00 a few hours after calibrati

Post 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?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Ph probe keeps resetting to 1.00 a few hours after calib

Post 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
Roberto.
ecam
Posts: 229
Joined: Thu Nov 15, 2012 11:27 am

Re: Ph probe keeps resetting to 1.00 a few hours after calib

Post 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
}
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Ph probe keeps resetting to 1.00 a few hours after calib

Post by rimai »

One has to be PHMin and the other PHMax
Roberto.
ecam
Posts: 229
Joined: Thu Nov 15, 2012 11:27 am

Re: Ph probe keeps resetting to 1.00 a few hours after calib

Post 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
}





rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Ph probe keeps resetting to 1.00 a few hours after calib

Post by rimai »

Which numbers did you get when you were doing the calibration?
Roberto.
ecam
Posts: 229
Joined: Thu Nov 15, 2012 11:27 am

Re: Ph probe keeps resetting to 1.00 a few hours after calib

Post 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.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Ph probe keeps resetting to 1.00 a few hours after calib

Post by rimai »

Can you go through the calibration again and confirm you are indeed getting those numbers?
Roberto.
ecam
Posts: 229
Joined: Thu Nov 15, 2012 11:27 am

Re: Ph probe keeps resetting to 1.00 a few hours after calib

Post 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
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Ph probe keeps resetting to 1.00 a few hours after calib

Post by rimai »

If you enter calibration while it is showing 1.49ph, what number do you get?
Roberto.
ecam
Posts: 229
Joined: Thu Nov 15, 2012 11:27 am

Re: Ph probe keeps resetting to 1.00 a few hours after calib

Post by ecam »

As of right now. It's registering correctly. I will let you know if its starts acting up again. Thank you
Post Reply