AcquaPortal Forum Acquario Dolce e Acquario Marino

AcquaPortal Forum Acquario Dolce e Acquario Marino (http://www.acquariofilia.biz/forum.php)
-   Tecnica marino (http://www.acquariofilia.biz/forumdisplay.php?f=57)
-   -   Reef Angel (http://www.acquariofilia.biz/showthread.php?t=296451)

micos_1972 07-04-2011 21:10

ma con il ritardo dello skimmer avete risolto?

rita87 07-04-2011 21:18

Quote:

Originariamente inviata da micos_1972 (Messaggio 3553362)
ma con il ritardo dello skimmer avete risolto?

una cosa alla volta!!!

baghyyy 07-04-2011 22:46

Quote:

Originariamente inviata da Psyco (Messaggio 3551858)

Baghyyy controlla meglio il settaggio delle librerie...se hai quel file features vuol dire che il programma non modifica la libreria...

aiutami...che vuoi dire?

LukeLuke 07-04-2011 23:21

Quote:

Originariamente inviata da baghyyy (Messaggio 3553614)
Quote:

Originariamente inviata da Psyco (Messaggio 3551858)

Baghyyy controlla meglio il settaggio delle librerie...se hai quel file features vuol dire che il programma non modifica la libreria...

aiutami...che vuoi dire?

cosa staiusando per programmarlo ? lo zip postato da me ?

posti il tuo ReefAngel_Features.h e il tuo .pde ?

rita87 07-04-2011 23:31

Ragazzi usiamo tutti le librerie di Luke, così lui non impazzisce e tutti abbiamo le stesse cose, così è più facile aiutarsi

rita87 08-04-2011 00:16

mi dite dove posso trovare la soluzione ph 7-10 per tarare la sonda ph?

Psyco 08-04-2011 06:52

io le ho prese da http://www.aquariumcoralreef.com/ , sono in bustina monodose, almeno non corro il rischio di contaminazione

lucaeff 08-04-2011 08:04

siiiiiiiiiiii modulo wifi funzionante!!!!
ho dovuto disabilitare la funzione dhcp ed assegnare l' indirizzo ip manualmente perchè ho altri apparecchi collegati
quali sono le 2 stringhe da inserire nel pde?
------------------------------------------------------------------------
Quote:

Originariamente inviata da rita87 (Messaggio 3553237)
ho risolto. Volete sapere qual era il problema? Intanto ve lo posto perchè potrebbe servirvi e così ve lo trovate!

// accensione pompa dx
if (((NumMins(hour(),minute()) >= NumMins(0,00)) && (NumMins(hour(),minute()) <= NumMins(6,13))) || (NumMins(hour(),minute()) >= NumMins(12,00)) && (NumMins(hour(),minute()) <= NumMins(18,13))) ReefAngel.Relay.On(Port4);
else ReefAngel.Relay.Off(Port4);


// accensione pompa sx
if (((NumMins(hour(),minute()) >= NumMins(6,00)) && (NumMins(hour(),minute()) <= NumMins(12,13))) || (NumMins(hour(),minute()) >= NumMins(18,00)) && (NumMins(hour(),minute()) <= NumMins(23,59))) ReefAngel.Relay.On(Port5);
else ReefAngel.Relay.Off(Port5);


Il problema era che io mettevo >= 18 e <= 00:13
il computer si chiedeva: ma 20 (ore 8) non è minore di 0,13 quindi io il relè lo lascio spento.
Se si interagisce con macchine, bisogna pensare come macchine, non come uomini!!!!!

#25#25#25#25
grande Rita i miei complimenti
potresti postare il pde per intero?
grassieeee

LukeLuke 08-04-2011 08:57

Quote:

Originariamente inviata da rita87 (Messaggio 3553766)
mi dite dove posso trovare la soluzione ph 7-10 per tarare la sonda ph?

qualsiasi negozio di acquari decente... ce l'ha....

baghyyy 08-04-2011 11:30

Quote:

Originariamente inviata da LukeLuke (Messaggio 3553690)
Quote:

Originariamente inviata da baghyyy (Messaggio 3553614)
Quote:

Originariamente inviata da Psyco (Messaggio 3551858)

Baghyyy controlla meglio il settaggio delle librerie...se hai quel file features vuol dire che il programma non modifica la libreria...

aiutami...che vuoi dire?

cosa staiusando per programmarlo ? lo zip postato da me ?

posti il tuo ReefAngel_Features.h e il tuo .pde ?


allora di tempo non ne ho molto e per quel poco che me ne rimane lo sto perdendo vicino a sto coso che secondo me non si dovrebbe chiamare reef ANGEL ma reef DAVIL :-D
si sta avvicinando sempre piu al balcone e prima che fa un bel saltino spero di riuscirci anche io a programmarlo!

Lukeluke ho seguito la tua guida con il tuo zip tutto va perfettamente finche arrivo all'ultimo passaggio cioè mi da errore nell'istallare il RAMenu, ecco l'errore:

C:\Users\Casa\Desktop\arduino1\libraries\ReefAngel \ReefAngel.cpp: In member function 'void ReefAngelClass::ProcessButtonPressTimeouts()':
C:\Users\Casa\Desktop\arduino1\libraries\ReefAngel \ReefAngel.cpp:1800: error: no matching function for call to 'ReefAngelClass::SetupOption(int&, int&, int, int, int, const char [2], const char [1], const char [15], const char [1])'
C:\Users\Casa\Desktop\arduino1\libraries\ReefAngel \/ReefAngel.h:164: note: candidates are: bool ReefAngelClass::SetupOption(int&, int&, int, int, byte, char*, char*, char*, char*, char*)

#28g seguimi ti prego...dimmi cosa vuoi essere postato per capire...

LukeLuke 08-04-2011 11:42

Stranissimi questi errori... mai visti prima...

puoi postare il file ReefAngel_Features.h e il tuo RAMenu.pde ?

Grazie

Skynyrd 08-04-2011 12:10

Premetto che sto usando il tuo procedimento luke, ma attivando il wifi mi da questo errore

C:\Users\Giacomo\Documents\Arduino\libraries\ReefA ngel_Wifi\ReefAngel_Wifi.cpp: In function 'void processHTTP()':
C:\Users\Giacomo\Documents\Arduino\libraries\ReefA ngel_Wifi\ReefAngel_Wifi.cpp:281: error: 'class ReefAngelClass' has no member named 'WM1Port'
C:\Users\Giacomo\Documents\Arduino\libraries\ReefA ngel_Wifi\ReefAngel_Wifi.cpp:285: error: 'class ReefAngelClass' has no member named 'WM2Port'

LukeLuke 08-04-2011 12:23

devi fare questa modifica:

Open this file inside a text editor (notepad works fine)
C:\Users\Giacomo\Documents\Arduino\libraries\ReefA ngel_Wifi\ReefAngel_Wifi.cpp

Locate the following block of code (starts on line 265):

case REQ_M_BYTE:
case REQ_M_INT:
{
// webmemoryloc is location
// weboption is value
if ( bHasSecondValue && (webmemoryloc >= 0) )
{
// if we have a second value, we write the value to memory
if ( reqtype == REQ_M_BYTE )
InternalMemory.write(webmemoryloc, weboption);
else
InternalMemory.write_int(webmemoryloc, weboption);
#ifdef WavemakerSetup // ADD THIS LINE
if ( (webmemoryloc == Mem_I_WM1Timer) || (webmemoryloc == Mem_I_WM2Timer) )
{
// Restart wavemaker timers once they are set
byte i = 1;
byte p = ReefAngel.WM1Port;
if ( webmemoryloc == Mem_I_WM2Timer )
{
i = 2;
p = ReefAngel.WM2Port;
}
ReefAngel.Timer[i].Trigger = 0;
ReefAngel.Timer[i].SetInterval(weboption);
ReefAngel.Timer[i].Start();
ReefAngel.Relay.On(p);
}
#endif // WavemakerSetup // ADD THIS LINE
Serial.print("<M>OK</M>");
}

Add in the 2 lines that have // ADD THIS LINE in them. Those lines are

#ifdef WavemakerSetup
#endif // WavemakerSetup

rita87 08-04-2011 12:50

Quote:

Originariamente inviata da LukeLuke (Messaggio 3553978)
Quote:

Originariamente inviata da rita87 (Messaggio 3553766)
mi dite dove posso trovare la soluzione ph 7-10 per tarare la sonda ph?

qualsiasi negozio di acquari decente... ce l'ha....

Non l'ho trovata, mi voleva dare 4-7 #07

Il pde lo posto oppure vuoi darmi l'email e te lo mando?
Però mi è venuto un'altra voglia!!

Allora:
se io attacco il reefangel al gruppo (tutta la ciabatta coi relè) e manca la corrente, posso attivare l'overheatshutoffports mantenendo attiva solo la pompa di risalita?
Adesso la pompa di risalita è attaccata direttamene al gruppo.
Farei così:
ReefAngel.OverheatShutoffPorts = B00000100;
Il RAClient dovrebbe mandarci un'email se se ne va la corrente e in più col wifi riusciremmo ad attivare la modalità anche a distanza.
Che dite?
------------------------------------------------------------------------
Quote:

Originariamente inviata da lucaeff (Messaggio 3553922)
siiiiiiiiiiii modulo wifi funzionante!!!!
ho dovuto disabilitare la funzione dhcp ed assegnare l' indirizzo ip manualmente perchè ho altri apparecchi collegati
quali sono le 2 stringhe da inserire nel pde?
------------------------------------------------------------------------
Quote:

Originariamente inviata da rita87 (Messaggio 3553237)
ho risolto. Volete sapere qual era il problema? Intanto ve lo posto perchè potrebbe servirvi e così ve lo trovate!

// accensione pompa dx
if (((NumMins(hour(),minute()) >= NumMins(0,00)) && (NumMins(hour(),minute()) <= NumMins(6,13))) || (NumMins(hour(),minute()) >= NumMins(12,00)) && (NumMins(hour(),minute()) <= NumMins(18,13))) ReefAngel.Relay.On(Port4);
else ReefAngel.Relay.Off(Port4);


// accensione pompa sx
if (((NumMins(hour(),minute()) >= NumMins(6,00)) && (NumMins(hour(),minute()) <= NumMins(12,13))) || (NumMins(hour(),minute()) >= NumMins(18,00)) && (NumMins(hour(),minute()) <= NumMins(23,59))) ReefAngel.Relay.On(Port5);
else ReefAngel.Relay.Off(Port5);


Il problema era che io mettevo >= 18 e <= 00:13
il computer si chiedeva: ma 20 (ore 8) non è minore di 0,13 quindi io il relè lo lascio spento.
Se si interagisce con macchine, bisogna pensare come macchine, non come uomini!!!!!

#25#25#25#25
grande Rita i miei complimenti
potresti postare il pde per intero?
grassieeee

Grazie :-))

Il pde:

#include <ReefAngel_Features.h>
#include <ReefAngel_Globals.h>
#include <ReefAngel_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <ReefAngel_EEPROM.h>
#include <ReefAngel_NokiaLCD.h>
#include <ReefAngel_ATO.h>
#include <ReefAngel_Joystick.h>
#include <ReefAngel_LED.h>
#include <ReefAngel_TempSensor.h>
#include <ReefAngel_Relay.h>
#include <ReefAngel_PWM.h>
#include <ReefAngel_Timer.h>
#include <ReefAngel_Memory.h>
#include <ReefAngel.h>

void RitardoSkimmer(byte SKPort, byte SKDelay)
{
if (now()-RAStart < SKDelay) ReefAngel.Relay.On(SKPort);
}


void setup()
{
ReefAngel.Init(); //Initialize controller
ReefAngel.SetTemperatureUnit(0);



// Set the ports that get toggled on & off during the following modes
// To enable a port to be toggled, place a 1 in the appropriate position
// Uncomment and update as needed
// Port 87654321
ReefAngel.FeedingModePorts = B11100110;
ReefAngel.WaterChangePorts = B01100100;
//ReefAngel.OverheatShutoffPorts = B00000000;
ReefAngel.LightsOnPorts = B00000110;


// Ports that are always on
ReefAngel.Relay.On(Port8);
}

void loop()
{
ReefAngel.ShowInterface();

//ReefAngel.Refresh();
//Serial.println(ReefAngel.Params.Temp1);
//Serial.println(ReefAngel.Params.Temp2);
//Serial.println(ReefAngel.Params.Temp3);


// accensione luce lunare
if ((NumMins(hour(),minute()) >= NumMins(23,28)) || (NumMins(hour(),minute()) <= NumMins(10,00))) ReefAngel.Relay.On(Port1);
else ReefAngel.Relay.Off(Port1);

// accensione pompa dx
if (((NumMins(hour(),minute()) >= NumMins(0,00)) && (NumMins(hour(),minute()) <= NumMins(6,13))) || (NumMins(hour(),minute()) >= NumMins(12,00)) && (NumMins(hour(),minute()) <= NumMins(18,13))) ReefAngel.Relay.On(Port4);
else ReefAngel.Relay.Off(Port4);


// accensione pompa sx
if (((NumMins(hour(),minute()) >= NumMins(6,00)) && (NumMins(hour(),minute()) <= NumMins(12,13))) || (NumMins(hour(),minute()) >= NumMins(18,00)) && (NumMins(hour(),minute()) <= NumMins(23,59))) ReefAngel.Relay.On(Port5);
else ReefAngel.Relay.Off(Port5);

// Specific functions
ReefAngel.StandardLights(Port2);
ReefAngel.StandardLights(Port3);
ReefAngel.StandardFan(Port6);
ReefAngel.StandardHeater(Port7);

RitardoSkimmer(Port8,120);
}

Forse se te lo mando per email è un pò più ordinato!!

Psyco 08-04-2011 13:00

Quote:

Originariamente inviata da baghyyy (Messaggio 3554276)
Quote:

Originariamente inviata da LukeLuke (Messaggio 3553690)
Quote:

Originariamente inviata da baghyyy (Messaggio 3553614)
Quote:

Originariamente inviata da Psyco (Messaggio 3551858)

Baghyyy controlla meglio il settaggio delle librerie...se hai quel file features vuol dire che il programma non modifica la libreria...

aiutami...che vuoi dire?

cosa staiusando per programmarlo ? lo zip postato da me ?

posti il tuo ReefAngel_Features.h e il tuo .pde ?


allora di tempo non ne ho molto e per quel poco che me ne rimane lo sto perdendo vicino a sto coso che secondo me non si dovrebbe chiamare reef ANGEL ma reef DAVIL :-D
si sta avvicinando sempre piu al balcone e prima che fa un bel saltino spero di riuscirci anche io a programmarlo!

Lukeluke ho seguito la tua guida con il tuo zip tutto va perfettamente finche arrivo all'ultimo passaggio cioè mi da errore nell'istallare il RAMenu, ecco l'errore:

C:\Users\Casa\Desktop\arduino1\libraries\ReefAngel \ReefAngel.cpp: In member function 'void ReefAngelClass::ProcessButtonPressTimeouts()':
C:\Users\Casa\Desktop\arduino1\libraries\ReefAngel \ReefAngel.cpp:1800: error: no matching function for call to 'ReefAngelClass::SetupOption(int&, int&, int, int, int, const char [2], const char [1], const char [15], const char [1])'
C:\Users\Casa\Desktop\arduino1\libraries\ReefAngel \/ReefAngel.h:164: note: candidates are: bool ReefAngelClass::SetupOption(int&, int&, int, int, byte, char*, char*, char*, char*, char*)

#28g seguimi ti prego...dimmi cosa vuoi essere postato per capire...

quegli errori li ho avuti anche io varie volte...praticamente non ho capito come ma si buggan le librerie...ma se usi il tool per fare l'update si risolve tutto...devi convertirle in standard e poi di nuovo in development

LukeLuke 08-04-2011 13:01

Quote:

Originariamente inviata da rita87 (Messaggio 3554452)
Quote:

Originariamente inviata da LukeLuke (Messaggio 3553978)
Quote:

Originariamente inviata da rita87 (Messaggio 3553766)
mi dite dove posso trovare la soluzione ph 7-10 per tarare la sonda ph?

qualsiasi negozio di acquari decente... ce l'ha....

Non l'ho trovata, mi voleva dare 4-7 #07

Il pde lo posto oppure vuoi darmi l'email e te lo mando?
Però mi è venuto un'altra voglia!!

Allora:
se io attacco il reefangel al gruppo (tutta la ciabatta coi relè) e manca la corrente, posso attivare l'overheatshutoffports mantenendo attiva solo la pompa di risalita?
Adesso la pompa di risalita è attaccata direttamene al gruppo.
Farei così:
ReefAngel.OverheatShutoffPorts = B00000100;
Il RAClient dovrebbe mandarci un'email se se ne va la corrente e in più col wifi riusciremmo ad attivare la modalità anche a distanza.
Che dite?

secondo me pilotandoci purele luci... non fai in tempo a collegarti per diegli di attivare la modalità... che già ti ha mezzo scaricato l'ups....

Skynyrd 08-04-2011 13:03

Luke ho fatto le modifiche, ma mi da Sketch too big poi in features ho disabilitato tutto e continua a darmi sketch too big!!!! Non capisco...

rita87 08-04-2011 13:09

Quote:

Originariamente inviata da Skynyrd (Messaggio 3554491)
Luke ho fatto le modifiche, ma mi da Sketch too big poi in features ho disabilitato tutto e continua a darmi sketch too big!!!! Non capisco...

e qui devi mmodificare il file reefangel_features.h
------------------------------------------------------------------------
Quote:

Originariamente inviata da LukeLuke (Messaggio 3554480)
Quote:

Originariamente inviata da rita87 (Messaggio 3554452)
Quote:

Originariamente inviata da LukeLuke (Messaggio 3553978)
Quote:

Originariamente inviata da rita87 (Messaggio 3553766)
mi dite dove posso trovare la soluzione ph 7-10 per tarare la sonda ph?

qualsiasi negozio di acquari decente... ce l'ha....

Non l'ho trovata, mi voleva dare 4-7 #07

Il pde lo posto oppure vuoi darmi l'email e te lo mando?
Però mi è venuto un'altra voglia!!

Allora:
se io attacco il reefangel al gruppo (tutta la ciabatta coi relè) e manca la corrente, posso attivare l'overheatshutoffports mantenendo attiva solo la pompa di risalita?
Adesso la pompa di risalita è attaccata direttamene al gruppo.
Farei così:
ReefAngel.OverheatShutoffPorts = B00000100;
Il RAClient dovrebbe mandarci un'email se se ne va la corrente e in più col wifi riusciremmo ad attivare la modalità anche a distanza.
Che dite?

secondo me pilotandoci purele luci... non fai in tempo a collegarti per diegli di attivare la modalità... che già ti ha mezzo scaricato l'ups....

perchè se collego l'ups ad una delle porte e ci attacco la pompa di risalita, quando vado ad attivare il feeding mode o water change mode, continua ad andare la pompa...
Come potremmo fare? Io ho intenzione di prendere lo zeus cmq

Skynyrd 08-04-2011 13:15

Ok ho risolto, sono troppo un babbo come board era selezionata arduino diecimila :-D.

LukeLuke 08-04-2011 14:02

Quote:

Originariamente inviata da Skynyrd (Messaggio 3554512)
Ok ho risolto, sono troppo un babbo come board era selezionata arduino diecimila :-D.

La stringa http://www.reefangel.com/status/imag...spx?id=skynyrd

nella firma mettila gra i tag [img]....[/img]

almeno viene così http://www.reefangel.com/status/imag...spx?id=skynyrd

rita87 08-04-2011 14:09

Quote:

Originariamente inviata da LukeLuke (Messaggio 3554589)
Quote:

Originariamente inviata da Skynyrd (Messaggio 3554512)
Ok ho risolto, sono troppo un babbo come board era selezionata arduino diecimila :-D.

La stringa http://www.reefangel.com/status/imag...spx?id=skynyrd

nella firma mettila gra i tag [img]....[/img]

almeno viene così http://www.reefangel.com/status/imag...spx?id=skynyrd

solo io sono rimasta a piedi col wifi.
Ho provato ad impostarlo con la wifi di mio fratello che non richiede autenticazione, quindi ho messo sia open che not used, e niente password.
Quando faccio get w mi esce ill giusto ssid, e come password esce rubygirl... Perchèèèèèèèèèèèèèè???????????????????????????
Non si connette insomma

rita87 08-04-2011 14:26

get i
IF=DOWN
DHCP=ON
IP=0.0.0.0:2000
NM=255.255.255.0
GW=0.0.0.0
HOST=0.0.0.0:2000
PROTO=TCP,
MTU=1460
FLAGS=0x7
BACKUP=0.0.0.0

Skynyrd 08-04-2011 14:39

Piccolo OT se ti esce come pass rubygirl vuol dire che ti sei collegato al modulo wifi del Berlusca :-D

rita87 08-04-2011 15:08

Quote:

Originariamente inviata da Skynyrd (Messaggio 3554658)
Piccolo OT se ti esce come pass rubygirl vuol dire che ti sei collegato al modulo wifi del Berlusca :-D

#06

LukeLuke 08-04-2011 15:21

Quote:

Originariamente inviata da rita87 (Messaggio 3554604)
Quote:

Originariamente inviata da LukeLuke (Messaggio 3554589)
Quote:

Originariamente inviata da Skynyrd (Messaggio 3554512)
Ok ho risolto, sono troppo un babbo come board era selezionata arduino diecimila :-D.

La stringa http://www.reefangel.com/status/imag...spx?id=skynyrd

nella firma mettila gra i tag [img]....[/img]

almeno viene così http://www.reefangel.com/status/imag...spx?id=skynyrd

solo io sono rimasta a piedi col wifi.
Ho provato ad impostarlo con la wifi di mio fratello che non richiede autenticazione, quindi ho messo sia open che not used, e niente password.
Quando faccio get w mi esce ill giusto ssid, e come password esce rubygirl... Perchèèèèèèèèèèèèèè???????????????????????????
Non si connette insomma

ma dopo che fai le modifiche fai save e poi reboot ?

Psyco 08-04-2011 15:25

#25:-d#25

LukeLuke 08-04-2011 15:35

Per abilitare l'elettrovalvola del reattore di calcio:

Mettere subito sotto i #define:

void CO2Control(byte CO2Relay, int LowpH, int HighpH)
{
if (ReefAngel.Params.PH<= LowpH) ReefAngel.Relay.On(CO2Relay); //If pH<= LowpH - turn on co2
if (ReefAngel.Params.PH>= HighpH) ReefAngel.Relay.Off(CO2Relay); //If pH >= HighpH - turn off co2
}


Nel Loop() inserire la seguente riga:

CO2Control(Port3, 790,820);

Per limitare l'accensione solo alle ore diurne:

if ((now() >= ScheduleTime(23,30,0)) && (now() <= ScheduleTime(8,00,0)) ) ReefAngel.Relay.Off(Port3);

baghyyy 08-04-2011 16:14

Quote:

Originariamente inviata da LukeLuke (Messaggio 3554298)
Stranissimi questi errori... mai visti prima...

puoi postare il file ReefAngel_Features.h e il tuo RAMenu.pde ?

Grazie

/*
* Copyright 2010 Curt Binder
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#ifndef __REEFANGEL_FEATURES_H__
#define __REEFANGEL_FEATURES_H__

/*
This contains all the defines for enabling/disabling features with the controller software.

This file can be AutoGenerated by using the RAGenFeatures program.
*/

/*
If your sketch/compile size is getting too big or if you are running out of RAM and having bizarre events
happen with the controller, you may want to not display the graphics on screen which can save some memory.
Just comment out the next line to prevent any graphics from being displayed, you will have text only screens
during water changes and feeding modes.

Approximately 346 bytes to have this feature
*/
#define DisplayImages // do we display the graphics for feeding or water change mode

/*
The next line is for displaying the setup screens to configure the values for the Feeding Mode timer and
the LCD shutoff timer. The defaults are fine, BUT if you would like to have the ability to change them
from the setup screen, uncomment the next line. This will increase the file size. If you do not plan
to change these values often (or at all), keep the next line commented out.

Approximately 362 bytes to have this feature
*/
#define SetupExtras // feeding mode & screensaver timeout setup. ACTIVATE WITH CAUTION

/*
Since we may or may not need to always configure the Wavemakers, give the option to
turn off the setup screens to keep the compile size down. You can still use the Wavemakers,
you just will not have the setup screen available to configure the values. You will have to manually set
the intervals inside the Sketch (hardcode or have it read from memory if the memory contains the correct values).

Approximately 378 bytes to have WavemakerSetup
*/
#define WavemakerSetup

/*
These next two options are for the Dosing Pumps. They operate differently, so read carefully to determine
what option you want.

DosingPumpSetup
Allows for specifying a specific time in which you want the dosing pump to turn on and run for.
It only runs once per day and for the specified duration/run time.
This feature will allow you to configure the start time and run time from the setup screens.

DosingPumpIntervalSetup
Allows for specifying a minute interval that you would like the pump to turn on and run for.
It runs every minute interval for the entire day. It's start time is based off of midnight of the current day.
If you specified a 60 minute interval, it will run for the specified duration every hour.
This feature will allow you to configure the minute interval and run time from the setup screens.

Both options use the same Run Time that is stored in memory, so you will only be able to use one or the other
if you plan on configuring the run time from the setup screens. If you use the hard coded values, you won't
need to use these options and you can use separate run times.

You can still use the DosingPump and DosingPumpInterval functions without these options,
you will just need to have the memory already be set or specifically set the values in the PDE file.
You just will not be able to change the values from the controller's setup screen.

Approximately 2000 bytes to have DosingPumpSetup
Approximately 368 bytes to have DosingPumpIntervalSetup
*/
#define DosingPumpSetup
#define DosingPumpIntervalSetup


/*
Overheat Temperature is fairly constant. This value will most likely not get changed very often (if ever).
The default value is set to 150.0F. Once this value is reached, all the lights will get shutoff. If you
would like the ability to change this value from the menus, uncomment the next line. Otherwise you will have
to hardcode the value in the ShowInterface Function

Approximately 156 bytes to have this feature
*/
//#define OverheatSetup

/*
The ability to set the Date & Time on the controller is controlled by this next line. This line will add
in a Date / Time Setup menu entry which will allow you to set the date & time on the controller easily.
Comment the next line to remove this ability.

Approximately 1984 bytes to have this feature
*/
#define DateTimeSetup

/*
If you do not want to have a Version menu entry to see what version of the software is on the controller,
then you will want to comment out the next line

Approximately 144 bytes to have this feature
*/
//#define VersionMenu

/*
If you do not use any of the ATO features in your setup, you can comment out this next line to remove
the ATO set and clear menu items.

Approximately 900 bytes to have this feature (and without SetupExtras)

When this or SetupExtras are defined, the Timeouts menu is included.
Timeouts menu requires approximately 710 bytes
This feature requires approximately 190 bytes if SetupExtras is defined
*/
#define ATOSetup

/*
This item will remove all lighting functionality from the controller. It is the equivalent to
commenting out MetalHalideSetup, StandardLightSetup, DisplayLEDPWM
This will OVERRIDE any of the other defines. So use caution when enabling this feature.

Approximately 2796 bytes to have this feature
*/
//#define RemoveAllLights

/*
If you do not use metal halides and do not wish to have any of the setup screens on your controller,
you can comment out the next line to remove the Metal Halide Setup and Metal Halide Delay

Approximately 258 bytes to have this feature
*/
#define MetalHalideSetup

/*
If you do not use standard lights and do not wish to have the setup screens on your controller,
you can comment out the next line to remove the Standard Lights Setup

Approximately 90 bytes to have this feature
*/
#define StandardLightSetup

/*
If you want to use the old way of reading the temp sensor which is always reading the value in
and not performing any sanity check, then you will want to uncomment this next line.

Otherwise, you will use the new way to handle the temperatures. The value is read in and then
compared to the existing value. If the difference between the 2 values is less than MAX_TEMP_SWING
or the temperature is 0 then the temperature is allowed to be updated, otherwise it is not updated.
MAX_TEMP_SWING is currently set to 50, which is 5.0 F. This prevents any temporary large fluctations
in temperatures. Also, there should not be more than a 5.0 F degree fluctation in 1 second.
*/
//#define DirectTempSensor

/*
Do we save the relay state before we enter Feeding Mode or Water Change Mode?

Comment out the next line to not save the state and always force specific ports to be turned off and then
back on again after we exit the mode. This can turn on some ports that were not already on. This
is also how the controller originally works.

Currently untested.
*/
//#define SaveRelayState

/*
If you have the wifi module for your controller and wish to use it, you must uncomment this next line
to utilize the built-in webserver for the controller.
*/
//#define wifi

/*
This next line will control the displaying of all LED PWM related items. The items it controls are:

DP & AP displaying on main screen
LED PWM Setup screen

So, if you do not use LED PWM's at all and do not wish to display anything related to it, comment out
the next line and all that stuff will be removed.

Approximately 720 bytes to have this feature
*/
#define DisplayLEDPWM

/*
This next line will allow you to use the ATO switches independently from each other. You can specify
separate ports to control, separate timeouts and separate hourly intervals.
If you have this defined, you cannot use both switches together like originally intended.
The setup screens will show configurations for both switches.

Approximately 454 bytes to have this feature
*/
//#define SingleATOSetup

/*
If this next line is uncommented, you must include the following lines in
the PDE file at the top above all other include statements:
#include <ReefAngel_Colors.h>
#include <ReefAngel_CustomColors.h>
*/
//#define COLORS_PDE

/*
This will enable code for multiple expansion modules.

Approximately 530 bytes to have this feature
*/
//#define RelayExp

#endif // __REEFANGEL_FEATURES_H__


__________________________________________________ _______________________


// RAMenus.pde
//
// This version designed for v0.8.5 Beta 10 and later

#include <ReefAngel_Features.h>
#include <ReefAngel_Globals.h>
#include <ReefAngel_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <ReefAngel_EEPROM.h>
#include <ReefAngel_NokiaLCD.h>
#include <ReefAngel_ATO.h>
#include <ReefAngel_Joystick.h>
#include <ReefAngel_LED.h>
#include <ReefAngel_TempSensor.h>
#include <ReefAngel_Relay.h>
#include <ReefAngel_PWM.h>
#include <ReefAngel_Timer.h>
#include <ReefAngel_Memory.h>
#include <ReefAngel.h>


void setup()
{
ReefAngel.Init(); //Initialize controller

// Set the ports that get toggled on & off during the following modes
// To enable a port to be toggled, place a 1 in the appropriate position
// Uncomment and update as needed
// Port 87654321
//ReefAngel.FeedingModePorts = B10011100;
//ReefAngel.WaterChangePorts = B10011100;
//ReefAngel.OverheatShutoffPorts = B00001100;
//ReefAngel.LightsOnPorts = B00000110;

// Ports that are always on
ReefAngel.Relay.On(Port8);
}

void loop()
{
ReefAngel.ShowInterface();

// Specific functions
ReefAngel.StandardATO(Port1);
ReefAngel.StandardLights(Port2);
ReefAngel.MHLights(Port3);
ReefAngel.Wavemaker1(Port4);
ReefAngel.Wavemaker2(Port5);
ReefAngel.StandardFan(Port6);
ReefAngel.StandardHeater(Port7);
}

lucaeff 08-04-2011 16:19

Quote:

Originariamente inviata da rita87 (Messaggio 3554452)
Quote:

Originariamente inviata da LukeLuke (Messaggio 3553978)
Quote:

Originariamente inviata da rita87 (Messaggio 3553766)
mi dite dove posso trovare la soluzione ph 7-10 per tarare la sonda ph?

qualsiasi negozio di acquari decente... ce l'ha....

Non l'ho trovata, mi voleva dare 4-7 #07

Il pde lo posto oppure vuoi darmi l'email e te lo mando?
Però mi è venuto un'altra voglia!!

Allora:
se io attacco il reefangel al gruppo (tutta la ciabatta coi relè) e manca la corrente, posso attivare l'overheatshutoffports mantenendo attiva solo la pompa di risalita?
Adesso la pompa di risalita è attaccata direttamene al gruppo.
Farei così:
ReefAngel.OverheatShutoffPorts = B00000100;
Il RAClient dovrebbe mandarci un'email se se ne va la corrente e in più col wifi riusciremmo ad attivare la modalità anche a distanza.
Che dite?
------------------------------------------------------------------------
Quote:

Originariamente inviata da lucaeff (Messaggio 3553922)
siiiiiiiiiiii modulo wifi funzionante!!!!
ho dovuto disabilitare la funzione dhcp ed assegnare l' indirizzo ip manualmente perchè ho altri apparecchi collegati
quali sono le 2 stringhe da inserire nel pde?
------------------------------------------------------------------------
Quote:

Originariamente inviata da rita87 (Messaggio 3553237)
ho risolto. Volete sapere qual era il problema? Intanto ve lo posto perchè potrebbe servirvi e così ve lo trovate!

// accensione pompa dx
if (((NumMins(hour(),minute()) >= NumMins(0,00)) && (NumMins(hour(),minute()) <= NumMins(6,13))) || (NumMins(hour(),minute()) >= NumMins(12,00)) && (NumMins(hour(),minute()) <= NumMins(18,13))) ReefAngel.Relay.On(Port4);
else ReefAngel.Relay.Off(Port4);


// accensione pompa sx
if (((NumMins(hour(),minute()) >= NumMins(6,00)) && (NumMins(hour(),minute()) <= NumMins(12,13))) || (NumMins(hour(),minute()) >= NumMins(18,00)) && (NumMins(hour(),minute()) <= NumMins(23,59))) ReefAngel.Relay.On(Port5);
else ReefAngel.Relay.Off(Port5);


Il problema era che io mettevo >= 18 e <= 00:13
il computer si chiedeva: ma 20 (ore 8) non è minore di 0,13 quindi io il relè lo lascio spento.
Se si interagisce con macchine, bisogna pensare come macchine, non come uomini!!!!!

#25#25#25#25
grande Rita i miei complimenti
potresti postare il pde per intero?
grassieeee

Grazie :-))

Il pde:

#include <ReefAngel_Features.h>
#include <ReefAngel_Globals.h>
#include <ReefAngel_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <ReefAngel_EEPROM.h>
#include <ReefAngel_NokiaLCD.h>
#include <ReefAngel_ATO.h>
#include <ReefAngel_Joystick.h>
#include <ReefAngel_LED.h>
#include <ReefAngel_TempSensor.h>
#include <ReefAngel_Relay.h>
#include <ReefAngel_PWM.h>
#include <ReefAngel_Timer.h>
#include <ReefAngel_Memory.h>
#include <ReefAngel.h>

void RitardoSkimmer(byte SKPort, byte SKDelay)
{
if (now()-RAStart < SKDelay) ReefAngel.Relay.On(SKPort);
}


void setup()
{
ReefAngel.Init(); //Initialize controller
ReefAngel.SetTemperatureUnit(0);



// Set the ports that get toggled on & off during the following modes
// To enable a port to be toggled, place a 1 in the appropriate position
// Uncomment and update as needed
// Port 87654321
ReefAngel.FeedingModePorts = B11100110;
ReefAngel.WaterChangePorts = B01100100;
//ReefAngel.OverheatShutoffPorts = B00000000;
ReefAngel.LightsOnPorts = B00000110;


// Ports that are always on
ReefAngel.Relay.On(Port8);
}

void loop()
{
ReefAngel.ShowInterface();

//ReefAngel.Refresh();
//Serial.println(ReefAngel.Params.Temp1);
//Serial.println(ReefAngel.Params.Temp2);
//Serial.println(ReefAngel.Params.Temp3);


// accensione luce lunare
if ((NumMins(hour(),minute()) >= NumMins(23,28)) || (NumMins(hour(),minute()) <= NumMins(10,00))) ReefAngel.Relay.On(Port1);
else ReefAngel.Relay.Off(Port1);

// accensione pompa dx
if (((NumMins(hour(),minute()) >= NumMins(0,00)) && (NumMins(hour(),minute()) <= NumMins(6,13))) || (NumMins(hour(),minute()) >= NumMins(12,00)) && (NumMins(hour(),minute()) <= NumMins(18,13))) ReefAngel.Relay.On(Port4);
else ReefAngel.Relay.Off(Port4);


// accensione pompa sx
if (((NumMins(hour(),minute()) >= NumMins(6,00)) && (NumMins(hour(),minute()) <= NumMins(12,13))) || (NumMins(hour(),minute()) >= NumMins(18,00)) && (NumMins(hour(),minute()) <= NumMins(23,59))) ReefAngel.Relay.On(Port5);
else ReefAngel.Relay.Off(Port5);

// Specific functions
ReefAngel.StandardLights(Port2);
ReefAngel.StandardLights(Port3);
ReefAngel.StandardFan(Port6);
ReefAngel.StandardHeater(Port7);

RitardoSkimmer(Port8,120);
}

Forse se te lo mando per email è un pò più ordinato!!

Rita stasera lo provo grazie mille

rita87 08-04-2011 16:31

Quote:

Originariamente inviata da LukeLuke (Messaggio 3554757)
Quote:

Originariamente inviata da rita87 (Messaggio 3554604)
Quote:

Originariamente inviata da LukeLuke (Messaggio 3554589)
Quote:

Originariamente inviata da Skynyrd (Messaggio 3554512)
Ok ho risolto, sono troppo un babbo come board era selezionata arduino diecimila :-D.

La stringa http://www.reefangel.com/status/imag...spx?id=skynyrd

nella firma mettila gra i tag [img]....[/img]

almeno viene così http://www.reefangel.com/status/imag...spx?id=skynyrd

solo io sono rimasta a piedi col wifi.
Ho provato ad impostarlo con la wifi di mio fratello che non richiede autenticazione, quindi ho messo sia open che not used, e niente password.
Quando faccio get w mi esce ill giusto ssid, e come password esce rubygirl... Perchèèèèèèèèèèèèèè???????????????????????????
Non si connette insomma


ma dopo che fai le modifiche fai save e poi reboot ?

si seguo la guida passo passo...
------------------------------------------------------------------------
Quote:

Originariamente inviata da lucaeff (Messaggio 3554906)

Rita stasera lo provo grazie mille

Se posso aiutare, lo faccio volentieri!;-)

Skynyrd 08-04-2011 17:13

Rieccomi, allora per adesso il web banner lo sto lanciando attraverso client e dunque per vederlo aggiornato debbo necessariamente avere il pc acceso..
C'è anche la possibilità che il controller attraverso modulo wifi comunichi con il router e crei il webanner senza l'ausilio del client?

LukeLuke 08-04-2011 23:14

se hi già messo le stringe per il webbanner sul tuo pde....

devi dare questi comandi al modulino wifi e farà tutto da solo

http://reefangel.com/GetFile.aspx?Pa...fiSettings.png

lucaeff 08-04-2011 23:20

ragazzi mi sono perso un 'attimo nella configurazione per visualizzare il web banner,
ho configurato il modulo wifi, ed ora?

Psyco 09-04-2011 07:45

allora...hai configurato il modulo wifi attraverso teraterm?..bene....adesso devi inserire le stringhe del webbanner nel pde e poi riaprire il teraterm e digitare i comandi postati da luke...

lucaeff 09-04-2011 10:00

scusa quali sono le stringhe per il webbanner?

Skynyrd 09-04-2011 10:53

Se non sbaglio dovrebbe trovarsi nella cartella sketchbook di curtbinder (quella dove hai preso il pde RAMenus ) sotto la cartella RALoggingWeb c'è un esempio di pde con il log al webbanner ovviamente devi modificare i parametri in base al tuo rele box...
A naso dovrebbe funzionare, mi confermate?

rita87 09-04-2011 11:41

Chi mi aiuta col wifi?

lucaeff 09-04-2011 12:26

Quote:

Originariamente inviata da rita87 (Messaggio 3556093)
Chi mi aiuta col wifi?

rita per quello che posso contraccambio volentieri
dammi i paramentri della tua configurazione wifi il problema è nella impostazione dei dati di collegamento, io mi incasinavo con quelli

Psyco 09-04-2011 13:21

che problema avete col wifi??...non avete ancora inserito le stringhe del webbanner??spero che lo sketch non vi diventi troppo grosso

rita87 09-04-2011 16:16

Quote:

Originariamente inviata da lucaeff (Messaggio 3556175)
Quote:

Originariamente inviata da rita87 (Messaggio 3556093)
Chi mi aiuta col wifi?

rita per quello che posso contraccambio volentieri
dammi i paramentri della tua configurazione wifi il problema è nella impostazione dei dati di collegamento, io mi incasinavo con quelli

Quali parametri?
Cos'è che ti creava problemi?

Io non riesco a capire perche se non imposto nessuna password mi esce rubygirl...
Dato che la password non c'è io il comando set w p <....> non lo metto.
O dovrei?
Pur non mettendolo qnd faccio "get w" mi esce passphrase: rubygirl, non si connette e quindi io: factory RESET factory RESET factory RESET.

Heeeeeeelp!
E poi come autenticazione faccio open o not used???????????


Tutti gli orari sono GMT +2. Attualmente sono le 21:36.

Powered by vBulletin versione 3.8.9
Copyright ©: 2000 - 2025, Jelsoft Enterprises Ltd.
Traduzione italiana Team: AcquaPortal
User Alert System provided by Advanced User Tagging v3.2.5 Patch Level 2 (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Copyright Zero Pixel Srl

Page generated in 0,13110 seconds with 13 queries