Heater Issue

Basic / Standard Reef Angel hardware
Post Reply
pyroboy1der
Posts: 16
Joined: Fri Mar 02, 2012 10:27 am

Heater Issue

Post by pyroboy1der »

Every time I try and set the "Heater On" temp to anything above 76.7F it auto-sets to 102.2F and causes the Heater port to toggle on and off every couple of seconds as the temp in my sump fluctuates around my Heater Off Temp.

I've tried updating temps via the web portal and I uploaded new code from my computer with the temps set the way I want and I still have the issue.

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

Re: Heater Issue

Post by rimai »

Can I see the code?
Roberto.
pyroboy1der
Posts: 16
Joined: Fri Mar 02, 2012 10:27 am

Re: Heater Issue

Post by pyroboy1der »

Its the code generated by the wizard. Goal temps of 78 on, 79 off on port 6. I'll post the specific code later tonight.


:EDIT: Here's the 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


////// 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 = Port4Bit | Port5Bit | Port7Bit | Port8Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port3Bit | Port4Bit | Port5Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port1Bit | Port2Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port6Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;


// Ports that are always on
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port7 );
ReefAngel.Relay.On( Port8 );

////// Place additional initialization code below here


////// Place additional initialization code above here
}

void loop()
{
ReefAngel.DayLights( Port1 );
ReefAngel.ActinicLights( Port2 );
ReefAngel.StandardATO( Port3 );
ReefAngel.Relay.DelayedOn( Port4 );
ReefAngel.StandardHeater( Port6 );
////// Place your custom code below here


////// Place your custom code above here

// This should always be the last line
ReefAngel.Portal( "pyroboy1der" );
ReefAngel.ShowInterface();
}

All the variables are stored in Internal Memory so I'm not sure how to pull them to post here.
pyroboy1der
Posts: 16
Joined: Fri Mar 02, 2012 10:27 am

Re: Heater Issue

Post by pyroboy1der »

If anybody knows how to pull the variables from the internal memory that would be awesome otherwise i can just re-generate the code with the variables in the code for now.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Heater Issue

Post by rimai »

Try it with hard code settings and see if there is any changes.
Roberto.
Post Reply