Page 1 of 1
port 2 relay box
Posted: Mon Nov 12, 2012 1:16 pm
by creed
Port 2 of my relay box does not seem to be working. I have it set to always on and have no power at the socket. When I plug a lamp into it and cycle it from off to on the lamp flashes but then goes off. Anything I can do to fix it.
Re: port 2 relay box
Posted: Mon Nov 12, 2012 4:35 pm
by rimai
Can you try the ControllerTester code?
Go through each port and see if they work properly.
File->Sketchbook->Example Codes->ControllerTester
Re: port 2 relay box
Posted: Tue Nov 13, 2012 7:04 am
by creed
I used the test code and I can hear the relay change positions but when I plug something in and cycle relay the item just comes on for a flash. It seems like the relay is not latching it is just closing and reopening
Re: port 2 relay box
Posted: Tue Nov 13, 2012 8:52 am
by rimai
Ok, PM me for RMA.
Re: port 2 relay box
Posted: Mon Dec 10, 2012 8:50 pm
by jabregousmc
Roberto, I'm having a similar issue. I just received my RA unit in the mail today, set everything up (incl. wifi adapter), everything seemed to be working fine until I noticed that my skimmer pump wasnt running. So I loaded up the controller tester sketchbook and port 8 (skimmer) wasnt working (could hear the relay switch on/off). Also while testing each port I noticed relay 5 (koralia nano) wasnt working either, the port just made a humming/screeching sound. All other ports seem to be working as they should. Luckily I'm just testing this on my currrent setup as I will be using the RA on my current project that is nearly set up and ready to go. Here is my code as I have it right now:
Code: Select all
#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.AddStandardMenu(); //Standard Menu
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port1Bit | Port5Bit | Port8Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port5Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port3Bit | Port4Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port2Bit | Port3Bit | Port4Bit | Port6Bit | Port7Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Ports that are always on
ReefAngel.Relay.On( Port1 );
ReefAngel.Relay.On( Port6 );
ReefAngel.Relay.On( Port8 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.MoonLights( Port2 );
ReefAngel.ActinicLights( Port3 );
ReefAngel.DayLights( Port4 );
ReefAngel.ActinicLights( Port5 );
ReefAngel.MoonLights( Port7 );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "jabregousmc" );
ReefAngel.ShowInterface();
}
Could the port 5 (Koralia) problem be because it's after "lights out"? But I dont understand why port 8 (skimmer) isnt working. Thanks in advance.
Re: port 2 relay box
Posted: Mon Dec 10, 2012 9:35 pm
by rimai
Humming is not a normal sign. Looks like you got a defective box.
By using the ControllerTester code, you should be able to turn on and off all ports.
PM for RMA.
Re: port 2 relay box
Posted: Tue Dec 11, 2012 4:46 am
by jabregousmc
rimai wrote:Humming is not a normal sign. Looks like you got a defective box.
By using the ControllerTester code, you should be able to turn on and off all ports.
PM for RMA.
Well unfortunately since I just registered yesterday, I cannot send PM's yet. Email or use the "contact us" form on the site?
Re: port 2 relay box
Posted: Tue Dec 11, 2012 9:22 am
by rimai
Yeah, either of them is fine.