REALLY NEED HELP FAST

Basic / Standard Reef Angel hardware
Post Reply
simplefound
Posts: 8
Joined: Fri Aug 17, 2012 11:31 am

REALLY NEED HELP FAST

Post 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
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: REALLY NEED HELP FAST

Post by rimai »

If I understood correctly, the controller is accepting codes, right?
Can you post the code you uploaded?
Roberto.
simplefound
Posts: 8
Joined: Fri Aug 17, 2012 11:31 am

Re: REALLY NEED HELP FAST

Post 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();
}
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: REALLY NEED HELP FAST

Post by rimai »

Yes, you must enable wifi though.
Add this to your setup() section:

Code: Select all

ReefAngel.AddWifi();
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
Roberto.
Post Reply