Page 1 of 1
Temp error
Posted: Thu Apr 18, 2013 9:56 pm
by raymond_q
I have the temp display reading the correct temp and flashes errors every few times a minute. Is this something that can be fixed?
Re: Temp error
Posted: Thu Apr 18, 2013 10:32 pm
by rimai
Check if the probe connector is good.
Could be that the wires got stripped. You may need a new probe, since you got it used
Re: Temp error
Posted: Fri Apr 19, 2013 9:02 am
by raymond_q
Connectors look good. Woke up this morning to find the screen black had to reset the unit. Any ideas?
Re: Temp error
Posted: Fri Apr 19, 2013 11:01 am
by rimai
Can you post your code?
Re: Temp error
Posted: Wed Apr 24, 2013 6:25 pm
by raymond_q
here is the code, temp is still flashing between current tank temp and error
#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 = Port3Bit | Port5Bit | Port6Bit | Port7Bit | Port8Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port2Bit | Port3Bit | Port5Bit | Port6Bit | Port7Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = 0;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 830 );
// Ports that are always on
ReefAngel.Relay.On( Port3 );
ReefAngel.Relay.On( Port7 );
ReefAngel.Relay.On( Port8 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardHeater( Port1,760,790 );
ReefAngel.SingleATO( true,Port2,240,0 );
ReefAngel.StandardLights( Port4,21,0,6,0 );
ReefAngel.Wavemaker( Port5,700 );
ReefAngel.Relay.Set( Port6, !ReefAngel.Relay.Status( Port5 ) );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "raymond_q" );
ReefAngel.ShowInterface();
}
Re: Temp error
Posted: Thu Apr 25, 2013 8:46 pm
by raymond_q
Came home to a back screen again but everything seemed fine on the portal. Had to reset. Could this a code or hardware issue
Re: Temp error
Posted: Thu Apr 25, 2013 9:08 pm
by rimai
I don't know what happened to my post...
I could have sworn I mentioned you should not use wavemaker function, but I can't seem to find it...
Your relay box is a prototype and is so old that it doesn't have the dampening components to reduce the inductive spike of wavemaker pumps.
Re: Temp error
Posted: Fri Apr 26, 2013 6:33 am
by raymond_q
Ok I'll try that tonight. Would this solve the temp error too? Also my temp relay turn on at 76 and my heater is set to 76.4 and automatically turns off when temp is set, the relay is set to turn off at 79 but the relay turns off before 79. Could this be due to the wavemaker a too?
Re: Temp error
Posted: Fri Apr 26, 2013 7:53 am
by rimai
No, that is the probe itself that you may need to replace.