Page 1 of 1
REALLY NEED HELP FAST
Posted: Tue Jul 30, 2013 12:10 pm
by simplefound
Got in tonight and clicked the button on the controller to see what temp the tank is at, and the screen did not come on.
This has happened before, so i turned the reef angel off at the socket and back on again, now the power light comes on but nothing else, i use this to control my lights among other things and they are now not on.
i have re-flashed it with my files and the status light comes on like normal but still no display or power to any outlets
Thanks in advance
Simon
Re: REALLY NEED HELP FAST
Posted: Tue Jul 30, 2013 1:14 pm
by rimai
If I understood correctly, the controller is accepting codes, right?
Can you post the code you uploaded?
Re: REALLY NEED HELP FAST
Posted: Tue Jul 30, 2013 2:02 pm
by simplefound
Hi rimai yes it will accept a code, will post it underneath
i have opened the controller and there is some corrosion on some of the leg to the chips, i have done my best to clean this off and now have some maybe all the outlets working but still no screen i am going to assume the corrosion in the controller is the problem.
is there any way i can see the time the reef angel has without the screen?
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
ReefAngel.AddStandardMenu(); // Add Standard Menu
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = 0;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port5Bit | Port6Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port2Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port7Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 950 );
// Ports that are always on
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port8 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardATO( Port1,60 );
ReefAngel.StandardLights( Port2,10,45,23,40 );
ReefAngel.StandardLights( Port3,23,0,11,0 );
ReefAngel.StandardFan( Port4,793,797 );
ReefAngel.WavemakerRandom( Port6,60,100 );
ReefAngel.StandardHeater( Port7,788,792 );
ReefAngel.PWM.SetDaylight( PWMSlope(12,0,22,30,0,100,60,0) );
ReefAngel.PWM.SetActinic( PWMSlope(11,0,23,30,0,100,60,0) );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.ShowInterface();
}
Re: REALLY NEED HELP FAST
Posted: Tue Jul 30, 2013 2:59 pm
by rimai
Yes, you must enable wifi though.
Add this to your setup() section:
Then, you can use the Serial Monitor to get the date/time of the controller.
Open Serial Monitor and make sure you have baud rate 57600 and both CR & NL.
Then type "GET /d "
Make sure there is a space after the d