Page 1 of 1
Ph won't read anything other than 6.99
Posted: Sun Nov 18, 2012 12:52 pm
by mineman@mac.com
Just like the title says. Have tried putting it in tap water, rodi, new NSW, always 6.99. Tried power cycling, no luck.
Sent from my iPhone using Tapatalk
Re: Ph won't read anything other than 6.99
Posted: Sun Nov 18, 2012 2:23 pm
by rimai
Did you try recalibrating?
Ph won't read anything other than 6.99
Posted: Sun Nov 18, 2012 2:26 pm
by mineman@mac.com
Not yet, I'm out of packets but I just calibrated a few months ago. Is this normal?
Sent from my iPhone using Tapatalk
Ph won't read anything other than 6.99
Posted: Sun Nov 18, 2012 2:57 pm
by mineman@mac.com
I think the change might have happened when I updated my libraries. Would this cause a deletion of calibration?
Sent from my iPhone using Tapatalk
Re: Ph won't read anything other than 6.99
Posted: Sun Nov 18, 2012 3:15 pm
by rimai
Can I see your code?
Ph won't read anything other than 6.99
Posted: Sun Nov 18, 2012 3:17 pm
by mineman@mac.com
Code: Select all
#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 <PH.h>
#include <WaterLevel.h>
#include <ReefAngel.h>
////// Place global variable code below here
////// 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 = Port2Bit | Port5Bit | Port6Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port2Bit | Port4Bit | Port5Bit | Port6Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port2Bit | Port3Bit | Port5Bit | Port6Bit | Port8Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Ports that are always on
ReefAngel.Relay.On( Port4 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.SingleATOLow( Port1 );
ReefAngel.Relay.DelayedOn( Port2 );
ReefAngel.DayLights( Port3 );
ReefAngel.Wavemaker1( Port5 );
ReefAngel.Relay.Set( Port6, !ReefAngel.Relay.Status( Port5 ) );
ReefAngel.Relay.Set( Port7, !ReefAngel.Relay.Status( Port3 ) );
ReefAngel.StandardHeater( Port8 );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "mineman@mac.com" );
ReefAngel.ShowInterface();
}
Re: Ph won't read anything other than 6.99
Posted: Sun Nov 18, 2012 4:29 pm
by rimai
Let's try this:
Code: Select all
#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 <PH.h>
#include <WaterLevel.h>
#include <ReefAngel.h>
////// Place global variable code below here
////// 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 = Port2Bit | Port5Bit | Port6Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port2Bit | Port4Bit | Port5Bit | Port6Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port2Bit | Port3Bit | Port5Bit | Port6Bit | Port8Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
ReefAngel.PHMin=550;// 550=PH7.0
ReefAngel.PHMax=830;// 830=PH10.0
// Ports that are always on
ReefAngel.Relay.On( Port4 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.SingleATOLow( Port1 );
ReefAngel.Relay.DelayedOn( Port2 );
ReefAngel.DayLights( Port3 );
ReefAngel.Wavemaker1( Port5 );
ReefAngel.Relay.Set( Port6, !ReefAngel.Relay.Status( Port5 ) );
ReefAngel.Relay.Set( Port7, !ReefAngel.Relay.Status( Port3 ) );
ReefAngel.StandardHeater( Port8 );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "mineman@mac.com" );
ReefAngel.ShowInterface();
}
Ph won't read anything other than 6.99
Posted: Sun Nov 18, 2012 5:40 pm
by mineman@mac.com
Worked! Thank you!
Sent from my iPhone using Tapatalk