after //////rf programmed it stays in done
-
- Posts: 20
- Joined: Mon Apr 01, 2013 7:15 am
after //////rf programmed it stays in done
Hi
I just hooked up my new RA
I have quition in RF module
it was successufuly assigned as master to my 2 vortechs
with solid green LED it controlled both
but after that what should I do
the screen stays on :
assingning slaves
Done
how to continue ?
I just hooked up my new RA
I have quition in RF module
it was successufuly assigned as master to my 2 vortechs
with solid green LED it controlled both
but after that what should I do
the screen stays on :
assingning slaves
Done
how to continue ?
-
- Posts: 20
- Joined: Mon Apr 01, 2013 7:15 am
Re: after //////rf programmed it stays in done
where I will find the new code ?
after //////rf programmed it stays in done
There is a wizard or you can go back to the preloaded code.
-
- Posts: 20
- Joined: Mon Apr 01, 2013 7:15 am
Re: after //////rf programmed it stays in done
I went back to my configuration by uploading the sketch generated by wizard
the green LED turned into pink or white pink in the RF module
and it is not changing when trying to change modes from portal
same like beginning
the green LED turned into pink or white pink in the RF module
and it is not changing when trying to change modes from portal
same like beginning
-
- Posts: 20
- Joined: Mon Apr 01, 2013 7:15 am
Re: after //////rf programmed it stays in done
what I did after hooking up RA+ controller
finished the wizard and uploaded it
finished the WIFI configuration and sucessufly connected the portal
now when I am trying to programm the RF module (I uploaded RA+ with vortechsetup )
RF module blinking green and blue
then make bothe vortechs as slaves (after reseting the memory for them )
press the joystick
RF module become GREEN
RA+ showing (assigne slave DONE )
after that uploaded the old wizard file and the green light in RA+ became pinky white
and tried to change the mode of vortechs from portal it didnt work
whad did I miss ?
finished the wizard and uploaded it
finished the WIFI configuration and sucessufly connected the portal
now when I am trying to programm the RF module (I uploaded RA+ with vortechsetup )
RF module blinking green and blue
then make bothe vortechs as slaves (after reseting the memory for them )
press the joystick
RF module become GREEN
RA+ showing (assigne slave DONE )
after that uploaded the old wizard file and the green light in RA+ became pinky white
and tried to change the mode of vortechs from portal it didnt work
whad did I miss ?
Last edited by coolsilver on Wed Apr 03, 2013 4:19 pm, edited 3 times in total.
after //////rf programmed it stays in done
Did you add any code to enable the RF in the original code?
-
- Posts: 20
- Joined: Mon Apr 01, 2013 7:15 am
Re: after //////rf programmed it stays in done
I used the wizard and checked on RF
#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 = Port1Bit | Port2Bit | Port3Bit | Port4Bit;
ReefAngel.FeedingModePortsE[0] = Port1Bit | Port2Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit | Port5Bit | Port7Bit;
ReefAngel.WaterChangePortsE[0] = Port3Bit | Port4Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
ReefAngel.LightsOnPortsE[0] = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = 0;
ReefAngel.OverheatShutoffPortsE[0] = 0;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 300 );
// Ports that are always on
ReefAngel.Relay.On( Port1 );
ReefAngel.Relay.On( Port2 );
ReefAngel.Relay.On( Port3 );
ReefAngel.Relay.On( Port4 );
ReefAngel.Relay.On( Box1_Port1 );
ReefAngel.Relay.On( Box1_Port2 );
ReefAngel.Relay.On( Box1_Port3 );
ReefAngel.Relay.On( Box1_Port4 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.DosingPumpRepeat( Port5,0,1,10 );
ReefAngel.StandardLights( Port6,18,0,0,0 );
ReefAngel.Relay.DelayedOn( Port7,3 );
ReefAngel.StandardFan( Port8,230,270 );
ReefAngel.DosingPumpRepeat( Box1_Port5,0,60,60 );
ReefAngel.DosingPumpRepeat( Box1_Port6,0,60,50 );
ReefAngel.StandardATO( Box1_Port8,60 );
ReefAngel.RF.UseMemory = false;
ReefAngel.RF.SetMode( TidalSwell,100,10 );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "coolsilver" );
ReefAngel.ShowInterface();
}
void DrawCustomMain()
{
int x,y;
char text[10];
// Parameters
#if defined DisplayLEDPWM && ! defined RemoveAllLights
ReefAngel.LCD.DrawMonitor( 15, 10, ReefAngel.Params,
ReefAngel.PWM.GetDaylightValue(), ReefAngel.PWM.GetActinicValue() );
#else // defined DisplayLEDPWM && ! defined RemoveAllLights
ReefAngel.LCD.DrawMonitor( 15, 10, ReefAngel.Params );
#endif // defined DisplayLEDPWM && ! defined RemoveAllLights
pingSerial();
// Salinity
ReefAngel.LCD.DrawText( COLOR_DARKKHAKI,DefaultBGColor,15,46, "SAL:" );
ReefAngel.LCD.DrawText( COLOR_DARKKHAKI,DefaultBGColor,39,46, ReefAngel.Params.Salinity );
pingSerial();
// Water Level
ReefAngel.LCD.DrawText( COLOR_DARKGOLDENROD,DefaultBGColor,75,63, "WL:" );
ReefAngel.LCD.DrawText( COLOR_DARKGOLDENROD,DefaultBGColor,99,63, ReefAngel.WaterLevel.GetLevel() );
pingSerial();
// Main Relay Box
byte TempRelay = ReefAngel.Relay.RelayData;
TempRelay &= ReefAngel.Relay.RelayMaskOff;
TempRelay |= ReefAngel.Relay.RelayMaskOn;
ReefAngel.LCD.DrawOutletBox( 12, 79, TempRelay );
pingSerial();
// Relay Expansion
TempRelay = ReefAngel.Relay.RelayDataE[0];
TempRelay &= ReefAngel.Relay.RelayMaskOffE[0];
TempRelay |= ReefAngel.Relay.RelayMaskOnE[0];
ReefAngel.LCD.DrawOutletBox( 12, 98, TempRelay );
pingSerial();
// Date and Time
ReefAngel.LCD.DrawDate( 6, 122 );
pingSerial();
}
void DrawCustomGraph()
{
}
after //////rf programmed it stays in done
You are hard coding it in your code to tidal swell at 100% with a 10 second duration.
Change usememory to true if you want to set via the portal.
The tidal swell mode shows as purple on the rf module.
Change usememory to true if you want to set via the portal.
The tidal swell mode shows as purple on the rf module.
-
- Posts: 20
- Joined: Mon Apr 01, 2013 7:15 am
Re: after //////rf programmed it stays in done
thank you lnevo
you make me realize it it
I am able now to control it through portal I apritiate your support
you make me realize it it
I am able now to control it through portal I apritiate your support