Hi! In my relay box, Port 4 (Standar lignhts) does not Work. The RA controler show me '' the Port is open'', but the lights does not open. Until now I have never use the port 4. When i put the lights to an other open Port, the lights Open.
This is a bug or relay problem?
Also when i open and close the port 4 i can not hear the typical Clik that the relay does when open and close one Port.
This is my 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 <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
ReefAngel.SetTemperatureUnit( Celsius ); // set to Celsius Temperature
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = 0;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port2Bit | Port7Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port1Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 350 );
// Ports that are always on
ReefAngel.Relay.On( Port7 );
ReefAngel.Relay.On( Port8 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
If it's a bad port you'll need to verify using the Relay Box test software. Roberto can advise after that on RMA or other appropriate steps. Your code looks ok...
I don't think show. I try to change the power relay (no 4) inside the main relay and if is not work then we will see!!!! Now i am in the midle of this work and i waet the spare part.....
Hi! Today new problem With relay box....!
1. Stop working the relay 4. when i give them the order to open and close that does not responding!!
2. When open and close relay 2, open and close relay 4 and 6 All together!!!
3. When open and close relay 6, open and close relay 2 and 4 all together!!!
4. Also When i give an order to relay 2 and after i give an order to relay 6 that does not respond and the opposite! The relay 4 still responding only when i give an order to the ather two relays!
Bug or damange from replaced relay?? Yesterday everethink works good