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)

LukeLuke 23-06-2011 11:35

funziona l'ultimo postato da me....

baghyyy 23-06-2011 21:23

Quote:

Originariamente inviata da LukeLuke (Messaggio 1060973856)
funziona l'ultimo postato da me....

confermo...!!!

micos_1972 25-06-2011 18:50

ragazzi a me non va
provato ma nulla, dopo che lo carico non riesco a settare nulla.. il pde è quello presente nella pag 46

baghyyy 25-06-2011 19:47

Quote:

Originariamente inviata da LukeLuke (Messaggio 1060921612)
Ritardo dello skimmer

fix by curt:

void RitardoSkimmer(byte SKPort, byte SKDelay)
{
unsigned long d = SKDelay;
d *= SECS_PER_MIN;
if (now()-RAStart > d) ReefAngel.Relay.On(SKPort);
}

void setup()
{
ReefAngel.Init(); //Initialize controller
if ( RAStart == 0 ) RAStart = now();
}

void loop()
{
ReefAngel.ShowInterface();
RitardoSkimmer(Port8, 1); // 2 minute delayed on
}


Micos devi provare questo!
io l'ho provato e funziona al 100%

micos_1972 25-06-2011 19:58

Quote:

Originariamente inviata da baghyyy (Messaggio 1060978215)
Quote:

Originariamente inviata da LukeLuke (Messaggio 1060921612)
Ritardo dello skimmer

fix by curt:

void RitardoSkimmer(byte SKPort, byte SKDelay)
{
unsigned long d = SKDelay;
d *= SECS_PER_MIN;
if (now()-RAStart > d) ReefAngel.Relay.On(SKPort);
}

void setup()
{
ReefAngel.Init(); //Initialize controller
if ( RAStart == 0 ) RAStart = now();
}

void loop()
{
ReefAngel.ShowInterface();
RitardoSkimmer(Port8, 1); // 2 minute delayed on
}


Micos devi provare questo!
io l'ho provato e funziona al 100%

ok ma il mio problema è di altro tpo
prova a guardare il file pde inserito da me... ha anche le pompe ma quando lo verifico è tutto ok ma dopo caricato nulla va tutto in blocco

baghyyy 25-06-2011 20:01

e forse perche la porta8 che è per il ritardo ce l'hai anche messa tra le porte sempre on e quindi per questo che va in blocco! la porta8 cancellala dalle porte sempre on

ma tu le porte sempre on ce l'hai anche messe sulle pompe ecc...
ecco perche non capisce piu un cavolo...o gli dai una funzione oppure un'altra insieme non vanno bene!

micos_1972 26-06-2011 00:01

ragazzi ricordate che le macchine sono dette anche stupide, ma io le batto sono piu stupido di loro... non ho ancora provato domani vi faccio sapere

micos_1972 26-06-2011 16:44

nulla non funonzia...
questo è il mio pde funzionante con il ritardo pompe, aggiungetemi voi il ritardo skimmer vediamo se cambia il risultato....
// Autogenerated file by RAGen (v1.0.4.92), (04/10/2011 18:17)
// RA_041011_1817.pde
//
// This version designed for v0.8.5 Beta 12 or later

/* The following features are enabled for this PDE File:
#define DosingPumpIntervalSetup
#define OverheatSetup
#define DateTimeSetup
#define VersionMenu
#define DisplayLEDPWM
#define wifi
#define RelayExp
#define RemoveAllLights
#define SaveRelayState
*/


#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
ReefAngel.SetTemperatureUnit(1); // set to Celsius Temperature

ReefAngel.FeedingModePorts = B11111001;
ReefAngel.WaterChangePorts = B00000000;
ReefAngel.OverheatShutoffPorts = B00000000;
ReefAngel.LightsOnPorts = B00000000;

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

void loop()
{
ReefAngel.ShowInterface();
// 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(Port2);
else ReefAngel.Relay.Off(Port2);


// 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(Port3);
else ReefAngel.Relay.Off(Port3);
// Specific functions
ReefAngel.DosingPumpRepeat1(Port4);
ReefAngel.DosingPumpRepeat2(Port5);
ReefAngel.StandardFan(Port6);
ReefAngel.StandardHeater(Port7);
}

LukeLuke 26-06-2011 17:34

codice:

#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)
{
unsigned long d = SKDelay;
d *= SECS_PER_MIN;
if (now()-RAStart > d) ReefAngel.Relay.On(SKPort);
}

void setup()
{
    ReefAngel.Init();  //Initialize controller
    ReefAngel.SetTemperatureUnit(1);  // set to Celsius Temperature

    ReefAngel.FeedingModePorts = B11111001;
    ReefAngel.WaterChangePorts = B00000000;
    ReefAngel.OverheatShutoffPorts = B00000000;
    ReefAngel.LightsOnPorts = B00000000;

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

if ( RAStart == 0 ) RAStart = now();

}

void loop()
{
    ReefAngel.ShowInterface();
// 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(Port2);
else ReefAngel.Relay.Off(Port2);


// 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(Port3);
else ReefAngel.Relay.Off(Port3);
    // Specific functions
    ReefAngel.DosingPumpRepeat1(Port4);
    ReefAngel.DosingPumpRepeat2(Port5);
    ReefAngel.StandardFan(Port6);
    ReefAngel.StandardHeater(Port7);

RitardoSkimmer(Port8, 1); // 2 minute delayed on


}


baghyyy 26-06-2011 23:14

Senti LukeLuke ma la stringa per i led:

ReefAngel.PWM.SetActinic(PWMSlope(12,00,23,30,0,In ternalMemory.LEDPWMActinic_read(),30,ReefAngel.PWM .GetActinicValue()));
ReefAngel.PWM.SetDaylight(PWMSlope(13,00,22,30,0,I nternalMemory.LEDPWMDaylight_read(),30,ReefAngel.P WM.GetDaylightValue()));


analizzando la prima stringa ovvero in particolare i numeri:
12,00,23,30,0 sta ad indicare che si accende alle 12 e si spegne alle 23.30, poi lo 0 cosa è?
poi continuando a leggere l'altro valore 30 cosa sta ad indicare?

a me interessa modificare la rampa di accensione e quella di spegnimento!


Tutti gli orari sono GMT +2. Attualmente sono le 08:05.

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,09481 seconds with 13 queries