Heater will not turn on

New members questions
Post Reply
midwestornamental
Posts: 2
Joined: Sun Sep 14, 2014 8:10 am

Heater will not turn on

Post by midwestornamental »

Hello,

Just realized that my heater has not turned on and my tank temp dropped to 73. The heater had been working fine but now when it should be on its not. I can turn it on and off with the phone app but when I select auto nothing happens.

Is there something in my code that would cause this? Here's my code. Any help with this would be greatly appreciated.
#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 <Humidity.h>
#include <DCPump.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
ReefAngel.Use2014Screen(); // Let's use 2014 Screen
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = 0;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port2Bit;
// 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( 869 );


// Ports that are always on
ReefAngel.Relay.On( Port1 );
ReefAngel.Relay.On( Port4 );
ReefAngel.Relay.On( Port5 );




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


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

void loop()
{
ReefAngel.StandardLights( Port8,13,30,22,30 );
ReefAngel.Relay.DelayedOn( Port2,3 );
ReefAngel.StandardHeater( Port3,79,80 );
ReefAngel.StandardATO( Port6,3600 );
ReefAngel.StandardLights( Port7,22,30,10,30 );
////// Place your custom code below here


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

// This should always be the last line
ReefAngel.Portal( "midwestornamental" , "****" );
ReefAngel.ShowInterface();
}
davaraj
Posts: 98
Joined: Sun Jul 21, 2013 8:18 am

Re: Heater will not turn on

Post by davaraj »

I think you should replace this:
ReefAngel.StandardHeater( Port3,79,80 );
With this:
ReefAngel.StandardHeater( Port3,790,800);
Image
User avatar
cosmith71
Posts: 1432
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Heater will not turn on

Post by cosmith71 »

davaraj wrote:I think you should replace this:
ReefAngel.StandardHeater( Port3,79,80 );
With this:
ReefAngel.StandardHeater( Port3,790,800);
Yep, this. 79 degrees is 790, 79.2 degrees is 792. 7.9 degrees is 79. :shock:

--Colin
midwestornamental
Posts: 2
Joined: Sun Sep 14, 2014 8:10 am

Re: Heater will not turn on

Post by midwestornamental »

Thanks!
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: Heater will not turn on

Post by lnevo »

I've made that mistake myself.. :)
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Heater will not turn on

Post by binder »

lnevo wrote:I've made that mistake myself.. :)
i think we all have at some point. :-)


Sent from my iPad mini
Post Reply