Page 1 of 1

2nd Relay with no power

Posted: Sat Sep 28, 2013 9:58 am
by Rodasphoto
I just uploaded the following code to my RA+ and none of the equipment is working. I tried resetting the controller by unplugging it and reconnecting it. When I reconnected it the red light on the controller kept flashing until I disconnected the relay expansion module from the expansion hub and reset the controller.

Code: Select all

[quote]
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <[color=#CC6600]Wire[/color].h>
#include <[color=#CC6600]OneWire[/color].h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <[color=#006699]LED[/color].h>
#include <RA_TempSensor.h>
#include <[color=#006699]Relay[/color].h>
#include <RA_PWM.h>
#include <[color=#006699]Timer[/color].h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <[color=#006699]Salinity[/color].h>
#include <[color=#006699]RF[/color].h>
#include <[color=#006699]IO[/color].h>
#include <[color=#006699]ORP[/color].h>
#include <[color=#006699]AI[/color].h>
#include <[color=#006699]PH[/color].h>
#include <[color=#006699]WaterLevel[/color].h>
#include <[color=#CC6600]ReefAngel[/color].h>

[color=#7E7E7E]////// Place global variable code below here[/color]


[color=#7E7E7E]////// Place global variable code above here[/color]


[color=#CC6600]void[/color] [color=#CC6600][b]setup[/b][/color]()
{
    [color=#7E7E7E]// This must be the first line[/color]
    [color=#CC6600]ReefAngel[/color].[color=#CC6600]Init[/color]();  [color=#7E7E7E]//Initialize controller[/color]
    [color=#7E7E7E]// Ports toggled in Feeding Mode[/color]
    [color=#CC6600]ReefAngel[/color].[color=#006699]FeedingModePorts[/color] = [color=#006699]Port1Bit[/color] | [color=#006699]Port4Bit[/color] | [color=#006699]Port6Bit[/color] | [color=#006699]Port8Bit[/color];
    [color=#CC6600]ReefAngel[/color].[color=#006699]FeedingModePortsE[/color][0] = [color=#006699]Port3Bit[/color] | [color=#006699]Port4Bit[/color];
    [color=#7E7E7E]// Ports toggled in Water Change Mode[/color]
    [color=#CC6600]ReefAngel[/color].[color=#006699]WaterChangePorts[/color] = [color=#006699]Port1Bit[/color] | [color=#006699]Port3Bit[/color] | [color=#006699]Port4Bit[/color] | [color=#006699]Port5Bit[/color] | [color=#006699]Port6Bit[/color] | [color=#006699]Port7Bit[/color] | [color=#006699]Port8Bit[/color];
    [color=#CC6600]ReefAngel[/color].[color=#006699]WaterChangePortsE[/color][0] = [color=#006699]Port4Bit[/color];
    [color=#7E7E7E]// Ports toggled when Lights On / Off menu entry selected[/color]
    [color=#CC6600]ReefAngel[/color].[color=#006699]LightsOnPorts[/color] = [color=#006699]Port2Bit[/color];
    [color=#CC6600]ReefAngel[/color].[color=#006699]LightsOnPortsE[/color][0] = [color=#006699]Port1Bit[/color];
    [color=#7E7E7E]// Ports turned off when Overheat temperature exceeded[/color]
    [color=#CC6600]ReefAngel[/color].[color=#006699]OverheatShutoffPorts[/color] = [color=#006699]Port1Bit[/color] | [color=#006699]Port3Bit[/color] | [color=#006699]Port4Bit[/color] | [color=#006699]Port5Bit[/color] | [color=#006699]Port6Bit[/color] | [color=#006699]Port7Bit[/color] | [color=#006699]Port8Bit[/color];
    [color=#CC6600]ReefAngel[/color].[color=#006699]OverheatShutoffPortsE[/color][0] = [color=#006699]Port3Bit[/color];
    [color=#7E7E7E]// Use T1 probe as temperature and overheat functions[/color]
    [color=#CC6600]ReefAngel[/color].[color=#006699]TempProbe[/color] = [color=#006699]T1_PROBE[/color];
    [color=#CC6600]ReefAngel[/color].[color=#006699]OverheatProbe[/color] = [color=#006699]T1_PROBE[/color];
    [color=#7E7E7E]// Set the Overheat temperature setting[/color]
    [color=#CC6600]InternalMemory[/color].[color=#CC6600]OverheatTemp_write[/color]( 840 );


    [color=#7E7E7E]// Ports that are always on[/color]
    [color=#CC6600]ReefAngel[/color].[color=#006699]Relay[/color].[color=#CC6600]On[/color]( [color=#006699]Port1[/color] );
    [color=#CC6600]ReefAngel[/color].[color=#006699]Relay[/color].[color=#CC6600]On[/color]( [color=#006699]Port8[/color] );
    [color=#CC6600]ReefAngel[/color].[color=#006699]Relay[/color].[color=#CC6600]On[/color]( [color=#006699]Box1_Port3[/color] );
    [color=#CC6600]ReefAngel[/color].[color=#006699]Relay[/color].[color=#CC6600]On[/color]( [color=#006699]Box1_Port8[/color] );

    [color=#7E7E7E]////// Place additional initialization code below here[/color]
    

    [color=#7E7E7E]////// Place additional initialization code above here[/color]
}

[color=#CC6600]void[/color] [color=#CC6600][b]loop[/b][/color]()
{
    [color=#CC6600]ReefAngel[/color].[color=#CC6600]StandardLights[/color]( [color=#006699]Port2[/color],9,0,21,10 );
    [color=#CC6600]ReefAngel[/color].[color=#CC6600]StandardLights[/color]( [color=#006699]Port3[/color],9,0,21,30 );
    [color=#CC6600]ReefAngel[/color].[color=#CC6600]StandardLights[/color]( [color=#006699]Port4[/color],9,0,21,30 );
    [color=#CC6600]ReefAngel[/color].[color=#CC6600]WavemakerRandom1[/color]( [color=#006699]Port5[/color],30,100 );
    [color=#CC6600]ReefAngel[/color].[color=#CC6600]WavemakerRandom2[/color]( [color=#006699]Port6[/color],30,100 );
    [color=#CC6600]ReefAngel[/color].[color=#CC6600]StandardHeater[/color]( [color=#006699]Port7[/color],778,784 );
    [color=#CC6600]ReefAngel[/color].[color=#CC6600]StandardLights[/color]( [color=#006699]Box1_Port1[/color],9,0,21,40 );
    [color=#CC6600]ReefAngel[/color].[color=#CC6600]StandardLights[/color]( [color=#006699]Box1_Port4[/color],9,0,21,0 );
    [color=#CC6600]ReefAngel[/color].[color=#006699]PWM[/color].[color=#CC6600]SetChannel[/color]( 0, [color=#CC6600]PWMParabola[/color](9,0,21,0,0,100,0) );
    [color=#CC6600]ReefAngel[/color].[color=#006699]PWM[/color].[color=#CC6600]SetChannel[/color]( 1, [color=#CC6600]PWMParabola[/color](9,0,21,0,0,100,0) );
    [color=#CC6600]ReefAngel[/color].[color=#006699]PWM[/color].[color=#CC6600]SetChannel[/color]( 2, [color=#CC6600]PWMParabola[/color](9,0,21,0,0,100,2) );
    [color=#CC6600]ReefAngel[/color].[color=#006699]PWM[/color].[color=#CC6600]SetChannel[/color]( 3, [color=#CC6600]PWMParabola[/color](9,0,21,0,0,75,0) );
    [color=#CC6600]ReefAngel[/color].[color=#006699]PWM[/color].[color=#CC6600]SetChannel[/color]( 4, [color=#CC6600]PWMParabola[/color](9,0,21,0,0,75,0) );
    [color=#CC6600]ReefAngel[/color].[color=#006699]PWM[/color].[color=#CC6600]SetChannel[/color]( 5, [color=#CC6600]PWMParabola[/color](9,0,21,0,0,60,3) );
    [color=#7E7E7E]////// Place your custom code below here[/color]
    [color=#CC6600]if[/color] (hour()<9 || hour()>=21)
  {
    [color=#CC6600]ReefAngel[/color].[color=#006699]Relay[/color].[color=#CC6600]Off[/color]([color=#006699]Port5[/color]);
    [color=#CC6600]ReefAngel[/color].[color=#006699]Relay[/color].[color=#CC6600]Off[/color]([color=#006699]Port6[/color]);
  }

    [color=#7E7E7E]////// Place your custom code above here[/color]

    [color=#7E7E7E]// This should always be the last line[/color]
    [color=#CC6600]ReefAngel[/color].[color=#CC6600]Portal[/color]( [color=#006699]"Rodasphoto"[/color] );
    [color=#CC6600]ReefAngel[/color].[color=#CC6600]ShowInterface[/color]();
}

[color=#CC6600]void[/color] DrawCustomMain()
{
    [color=#CC6600]int[/color] x,y;
    [color=#CC6600]char[/color] text[10];
    [color=#7E7E7E]// Dimming Expansion[/color]
    x = 15;
    y = 2;
    [color=#CC6600]for[/color] ( [color=#CC6600]int[/color] a=0;a<6;a++ )
    {
      [color=#CC6600]if[/color] ( a>2 ) x = 75;
      [color=#CC6600]if[/color] ( a==3 ) y = 2;
      [color=#CC6600]ReefAngel[/color].[color=#006699]LCD[/color].[color=#CC6600]DrawText[/color]( COLOR_DARKGOLDENROD,DefaultBGColor,x,y,[color=#006699]"Ch :"[/color] );
      [color=#CC6600]ReefAngel[/color].[color=#006699]LCD[/color].[color=#CC6600]DrawText[/color]( COLOR_DARKGOLDENROD,DefaultBGColor,x+12,y,a );
      [color=#CC6600]ReefAngel[/color].[color=#006699]LCD[/color].[color=#CC6600]DrawText[/color]( COLOR_DARKGOLDENROD,DefaultBGColor,x+24,y,[color=#CC6600]ReefAngel[/color].[color=#006699]PWM[/color].[color=#CC6600]GetChannelValue[/color](a) );
      y += 10;
    }
    [color=#CC6600]pingSerial[/color]();

    [color=#7E7E7E]// Parameters[/color]
#if defined DisplayLEDPWM && ! defined RemoveAllLights
    [color=#CC6600]ReefAngel[/color].[color=#006699]LCD[/color].[color=#CC6600]DrawMonitor[/color]( 15, 39, [color=#CC6600]ReefAngel[/color].[color=#006699]Params[/color],
    [color=#CC6600]ReefAngel[/color].[color=#006699]PWM[/color].[color=#CC6600]GetDaylightValue[/color](), [color=#CC6600]ReefAngel[/color].[color=#006699]PWM[/color].[color=#CC6600]GetActinicValue[/color]() );
#else [color=#7E7E7E]// defined DisplayLEDPWM && ! defined RemoveAllLights[/color]
    [color=#CC6600]ReefAngel[/color].[color=#006699]LCD[/color].[color=#CC6600]DrawMonitor[/color]( 15, 39, [color=#CC6600]ReefAngel[/color].[color=#006699]Params[/color] );
#endif [color=#7E7E7E]// defined DisplayLEDPWM && ! defined RemoveAllLights[/color]
    [color=#CC6600]pingSerial[/color]();

    [color=#7E7E7E]// Main Relay Box[/color]
    [color=#CC6600]byte[/color] TempRelay = [color=#CC6600]ReefAngel[/color].[color=#006699]Relay[/color].[color=#006699]RelayData[/color];
    TempRelay &= [color=#CC6600]ReefAngel[/color].[color=#006699]Relay[/color].[color=#006699]RelayMaskOff[/color];
    TempRelay |= [color=#CC6600]ReefAngel[/color].[color=#006699]Relay[/color].[color=#006699]RelayMaskOn[/color];
    [color=#CC6600]ReefAngel[/color].[color=#006699]LCD[/color].[color=#CC6600]DrawOutletBox[/color]( 12, 76, TempRelay );
    [color=#CC6600]pingSerial[/color]();

    [color=#7E7E7E]// Relay Expansion[/color]
    TempRelay = [color=#CC6600]ReefAngel[/color].[color=#006699]Relay[/color].[color=#006699]RelayDataE[/color][0];
    TempRelay &= [color=#CC6600]ReefAngel[/color].[color=#006699]Relay[/color].[color=#006699]RelayMaskOffE[/color][0];
    TempRelay |= [color=#CC6600]ReefAngel[/color].[color=#006699]Relay[/color].[color=#006699]RelayMaskOnE[/color][0];
    [color=#CC6600]ReefAngel[/color].[color=#006699]LCD[/color].[color=#CC6600]DrawOutletBox[/color]( 12, 96, TempRelay );
    [color=#CC6600]pingSerial[/color]();

    [color=#7E7E7E]// Date and Time[/color]
    [color=#CC6600]ReefAngel[/color].[color=#006699]LCD[/color].[color=#CC6600]DrawDate[/color]( 6, 122 );
    [color=#CC6600]pingSerial[/color]();
}

[color=#CC6600]void[/color] DrawCustomGraph()
{
}


[/quote]

Re: 2nd Relay with no power

Posted: Sat Sep 28, 2013 3:13 pm
by Rodasphoto
Just checked everything and the RA has jumpers in and the relay expansion module has the dip switches set to id 2.

Sent from my SCH-I535 using Tapatalk 4

Re: 2nd Relay with no power

Posted: Sat Sep 28, 2013 7:50 pm
by rimai
Needs to be set to id1

Re: 2nd Relay with no power

Posted: Sun Sep 29, 2013 10:28 am
by Rodasphoto
That did it. But now my controller does not seem to react to my inputs from the reef Angel app until I disconnect my pwm dimming module and reset the controller.

Sent from my SCH-I535 using Tapatalk 4

Re: 2nd Relay with no power

Posted: Sun Sep 29, 2013 2:58 pm
by rimai
So, your wifi doesn't work when you connect the dimming module?

Re: 2nd Relay with no power

Posted: Sun Sep 29, 2013 3:44 pm
by Rodasphoto
Everything works for a while then the wifi module's orange light blinks and the red status light blinks on my RA+ controller. I disconnect the PWM usb from the expansion module the wifi module starts working again. Some time passes and the whole cycle repeats itself I disconnect the PWM module, ...., etc.

Re: 2nd Relay with no power

Posted: Sun Sep 29, 2013 6:25 pm
by Rodasphoto
Oh my lights are not gradually dimming like I have them programmed to. I just disconnected the pwm module and reconnected them back into the expansion module and the lights dimmed to the level it is suppose to be at.

Sent from my SCH-I535 using Tapatalk 4

Re: 2nd Relay with no power

Posted: Sun Sep 29, 2013 7:03 pm
by rimai
Have you tried updating the wifi firmware?
Does the dimming module work without the wifi?
Also, you may want to try adding this to your code:

Code: Select all

  wdt_enable(WDTO_8S);

Re: 2nd Relay with no power

Posted: Mon Sep 30, 2013 2:51 am
by Rodasphoto
I have not updated the firmware on my WiFi module. How do I update it?

I just wanted to confirm I add the code you gave me in the custom code section. What does it do?

I'll disconnect the WiFi module and see if the lights dim properly. I will let you know.


Sent from my SCH-I535 using Tapatalk 4

Re: 2nd Relay with no power

Posted: Mon Sep 30, 2013 11:06 am
by rimai
It will increase the watchdog. I'm thinking you are having some of the problems that others have had and this code fixed it.
The watchdog patch is in the next release of libraries.
You can place the code in the setup() section, right after ReefAngel.Init();
Just make sure it is after and not before.

Re: 2nd Relay with no power

Posted: Sun Oct 13, 2013 7:38 am
by Rodasphoto
rimai wrote:It will increase the watchdog. I'm thinking you are having some of the problems that others have had and this code fixed it.
The watchdog patch is in the next release of libraries.
You can place the code in the setup() section, right after ReefAngel.Init();
Just make sure it is after and not before.
Should it look like this?

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
    // Ports toggled in Feeding Mode
    wdt_enable(WDTO_8S);
    ReefAngel.FeedingModePorts = Port1Bit | Port4Bit | Port6Bit | Port8Bit;
    ReefAngel.FeedingModePortsE[0] = Port3Bit | Port4Bit;
    // Ports toggled in Water Change Mode
    ReefAngel.WaterChangePorts = Port1Bit | Port3Bit | Port4Bit | Port5Bit | Port6Bit | Port7Bit | Port8Bit;
    ReefAngel.WaterChangePortsE[0] = Port4Bit;
    // Ports toggled when Lights On / Off menu entry selected
    ReefAngel.LightsOnPorts = Port2Bit;
    ReefAngel.LightsOnPortsE[0] = Port1Bit;
    // Ports turned off when Overheat temperature exceeded
    ReefAngel.OverheatShutoffPorts = Port1Bit | Port3Bit | Port4Bit | Port5Bit | Port6Bit | Port7Bit | Port8Bit;
    ReefAngel.OverheatShutoffPortsE[0] = Port3Bit;
    // Use T1 probe as temperature and overheat functions
    ReefAngel.TempProbe = T1_PROBE;
    ReefAngel.OverheatProbe = T1_PROBE;
    // Set the Overheat temperature setting
    InternalMemory.OverheatTemp_write( 840 );


    // Ports that are always on
    ReefAngel.Relay.On( Port1 );
    ReefAngel.Relay.On( Port8 );
    ReefAngel.Relay.On( Box1_Port3 );
    ReefAngel.Relay.On( Box1_Port8 );

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

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

void loop()
{
    ReefAngel.StandardLights( Port2,9,0,21,10 );
    ReefAngel.StandardLights( Port3,9,0,21,30 );
    ReefAngel.StandardLights( Port4,9,0,21,30 );
    ReefAngel.WavemakerRandom1( Port5,30,100 );
    ReefAngel.WavemakerRandom2( Port6,30,100 );
    ReefAngel.StandardHeater( Port7,778,784 );
    ReefAngel.StandardLights( Box1_Port1,9,0,21,40 );
    ReefAngel.StandardLights( Box1_Port4,9,0,21,0 );
    ReefAngel.PWM.SetChannel( 0, PWMParabola(9,0,21,0,0,100,0) );
    ReefAngel.PWM.SetChannel( 1, PWMParabola(9,0,21,0,0,100,0) );
    ReefAngel.PWM.SetChannel( 2, PWMParabola(9,0,21,0,0,100,2) );
    ReefAngel.PWM.SetChannel( 3, PWMParabola(9,0,21,0,0,75,0) );
    ReefAngel.PWM.SetChannel( 4, PWMParabola(9,0,21,0,0,75,0) );
    ReefAngel.PWM.SetChannel( 5, PWMParabola(9,0,21,0,0,60,3) );
    ////// Place your custom code below here
    if (hour()<9 || hour()>=21)
  {
    ReefAngel.Relay.Off(Port5);
    ReefAngel.Relay.Off(Port6);
  }

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

    // This should always be the last line
    ReefAngel.Portal( "Rodasphoto" );
    ReefAngel.ShowInterface();
}

void DrawCustomMain()
{
    int x,y;
    char text[10];
    // Dimming Expansion
    x = 15;
    y = 2;
    for ( int a=0;a<6;a++ )
    {
      if ( a>2 ) x = 75;
      if ( a==3 ) y = 2;
      ReefAngel.LCD.DrawText( COLOR_DARKGOLDENROD,DefaultBGColor,x,y,"Ch :" );
      ReefAngel.LCD.DrawText( COLOR_DARKGOLDENROD,DefaultBGColor,x+12,y,a );
      ReefAngel.LCD.DrawText( COLOR_DARKGOLDENROD,DefaultBGColor,x+24,y,ReefAngel.PWM.GetChannelValue(a) );
      y += 10;
    }
    pingSerial();

    // Parameters
#if defined DisplayLEDPWM && ! defined RemoveAllLights
    ReefAngel.LCD.DrawMonitor( 15, 39, ReefAngel.Params,
    ReefAngel.PWM.GetDaylightValue(), ReefAngel.PWM.GetActinicValue() );
#else // defined DisplayLEDPWM && ! defined RemoveAllLights
    ReefAngel.LCD.DrawMonitor( 15, 39, ReefAngel.Params );
#endif // defined DisplayLEDPWM && ! defined RemoveAllLights
    pingSerial();

    // Main Relay Box
    byte TempRelay = ReefAngel.Relay.RelayData;
    TempRelay &= ReefAngel.Relay.RelayMaskOff;
    TempRelay |= ReefAngel.Relay.RelayMaskOn;
    ReefAngel.LCD.DrawOutletBox( 12, 76, TempRelay );
    pingSerial();

    // Relay Expansion
    TempRelay = ReefAngel.Relay.RelayDataE[0];
    TempRelay &= ReefAngel.Relay.RelayMaskOffE[0];
    TempRelay |= ReefAngel.Relay.RelayMaskOnE[0];
    ReefAngel.LCD.DrawOutletBox( 12, 96, TempRelay );
    pingSerial();

    // Date and Time
    ReefAngel.LCD.DrawDate( 6, 122 );
    pingSerial();
}

void DrawCustomGraph()
{
}

Re: 2nd Relay with no power

Posted: Sun Oct 13, 2013 8:08 am
by rimai
Yeah :)

Re: 2nd Relay with no power

Posted: Sun Oct 13, 2013 8:51 am
by Rodasphoto
I cannot connect to my WiFi module. The green light blinks followed by the orange light. I tried resetting the RA by cycling the power. I am currently on 1.07. Should I update the libraries? You mentioned updating the firmware for the WiFi, how do I go about updating it?

Sent from my SCH-I535 using Tapatalk

Re: 2nd Relay with no power

Posted: Sun Oct 13, 2013 7:27 pm
by rimai
Did you check if the router didn't assign the wifi attachment a new ip address?

Re: 2nd Relay with no power

Posted: Mon Oct 14, 2013 7:43 pm
by Rodasphoto
The WiFi module shows up as a wireless client on my router (apple airport extreme). I can connect to the controller for a couple of hours and then a get a bad URL error message. Then the lights don't dim properly. If I try to reset the controller with my pwm module connected it wont reset. I have to disconnect my PWM module then disconnect the controller to reset it.

Sent from my SCH-I535 using Tapatalk

Re: 2nd Relay with no power

Posted: Wed Oct 16, 2013 9:40 pm
by rimai
Do you want to try the new libs?

Re: 2nd Relay with no power

Posted: Fri Oct 18, 2013 7:21 pm
by Rodasphoto
Yes. i really miss being able to control the RA from my phone.

Re: 2nd Relay with no power

Posted: Sat Oct 19, 2013 8:17 am
by rimai
Download the latest dev branch: https://github.com/reefangel/Libraries/archive/dev.zip
Unzup it.
Replace your folder \Documents\Arduino\libraries with the one you downloaded.
Upload your code again.

Re: 2nd Relay with no power

Posted: Sat Oct 19, 2013 9:37 am
by Rodasphoto
I just updated the libraries and uploaded the code again. Now the green light on the wifi module blinks and I am still unable to connect.

Re: 2nd Relay with no power

Posted: Sat Oct 19, 2013 12:10 pm
by dbmet
Have you run the wifi utility?

Re: 2nd Relay with no power

Posted: Sat Oct 19, 2013 12:16 pm
by Rodasphoto
dbmet wrote:Have you run the wifi utility?
I ran it when I first received the Wi-Fi module.

Sent from my SCH-I535 using Tapatalk

Re: 2nd Relay with no power

Posted: Mon Oct 21, 2013 4:45 pm
by Rodasphoto
Updated the firmware and reran the wifi utility. Everything seemed for OK. But when I woke up today the system was not responsive. I had to unplug my PWM module and power off the RA controller to get it to unfreeze then plugged my PWM module back in. I don't know what else to do.

Re: 2nd Relay with no power

Posted: Mon Oct 21, 2013 5:34 pm
by rimai
Are you sure you updated the libraries with the dev branch?

Re: 2nd Relay with no power

Posted: Mon Oct 21, 2013 5:48 pm
by Rodasphoto
I downloaded the files you asked me to took the old libraries out and placed the new ones in its place. I will retry it tomorrow and check back with my results.

Re: 2nd Relay with no power

Posted: Tue Oct 22, 2013 5:39 pm
by Rodasphoto
I just reloaded the code with the new libraries. The arduino software states its version 1.0.9. Keeping my fingers crossed and hoping this time everything works as it should.

Re: 2nd Relay with no power

Posted: Thu Oct 24, 2013 9:53 am
by Rodasphoto
Reloaded the new library and eureka it works.