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)

daniele5235 12-04-2011 17:37

è quello del tuo file zip
------------------------------------------------------------------------
// 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);
}

LukeLuke 12-04-2011 17:40

nel mio file zip non c'è il pde....

facciamo il contrario... crea un file chiamato RAMenus.pde e ci incolli dentro queste righe:

codice:

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


    // 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);
}


rita87 12-04-2011 17:40

Quote:

Originariamente inviata da LukeLuke (Messaggio 3562054)
Ho fatto di nuovo lo ZIP correggendolo per il WIFI e le dosometriche/Wavemaker (come da specifiche di Curt)....

Usate questo che è quello definitvo e funzionante....

http://rapidshare.com/files/457086635/arduino.zip

altro mirror

http://www.mediafire.com/?1h3d266zbyh8gn5

devo mettere tutte le librerie o posso limitarmi solo alla cartella reefangel wifi?

LukeLuke 12-04-2011 17:42

ah ok... cmq quello che hai usato è corretto... non capisco perchè non si accende ....

rita87 12-04-2011 17:42

il webbanner va con l'ora americana, però finalmente si sta aggiornando!!!!!

LukeLuke 12-04-2011 17:43

Quote:

Originariamente inviata da rita87 (Messaggio 3562141)
Quote:

Originariamente inviata da LukeLuke (Messaggio 3562054)
Ho fatto di nuovo lo ZIP correggendolo per il WIFI e le dosometriche/Wavemaker (come da specifiche di Curt)....

Usate questo che è quello definitvo e funzionante....

http://rapidshare.com/files/457086635/arduino.zip

altro mirror

http://www.mediafire.com/?1h3d266zbyh8gn5

devo mettere tutte le librerie o posso limitarmi solo alla cartella reefangel wifi?

puoi anche solo sostituire il file ReefAngel_WIFI
------------------------------------------------------------------------
Quote:

Originariamente inviata da rita87 (Messaggio 3562146)
il webbanner va con l'ora americana, però finalmente si sta aggiornando!!!!!

è sempre con l'ora americana devi aggiungerci il time+2 alla fine:

http://www.reefangel.com/status/imag...keLuke&time=+2

daniele5235 12-04-2011 17:48

Binary sketch size: 27624 bytes (of a 30720 byte maximum)
C:\Users\hp\Documents\arduino\arduino-0022\hardware/tools/avr/bin/avrdude -CC:\Users\hp\Documents\arduino\arduino-0022\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P\\.\COM4 -b57600 -D -Uflash:w:C:\Users\hp\AppData\Local\Temp\build15365 79677815501011.tmp\RAMenus.cpp.hex:i

avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

System wide configuration file is "C:\Users\hp\Documents\arduino\arduino-0022\hardware/tools/avr/etc/avrdude.conf"

Using Port : \\.\COM4
Using Programmer : stk500v1
Overriding Baud Rate : 57600
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: Send: Q [51] [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

avrdude done. Thank you.

LukeLuke 12-04-2011 17:52

hai selezionato la com giusta e come Board Arduino2009 ???

daniele5235 12-04-2011 17:54

la com è giusta perche il led lampeggia
la board è arudino duemilanove e nano.....
------------------------------------------------------------------------
ho rifatto col tuo file e non mi da piu errore
ma il monitor non si accende
per me è rotto solo che è un bel casino adesso

rita87 12-04-2011 18:14

luke guarda l'ora del tuo webbanner e quella del mio.
http://www.reefangel.com/status/imag...2.aspx?id=Rita
Il tuo sembra sempre fisso, il mio adesso si sta aggiornando. Strana sta cosa!

Mi spieghi con l'ATO come hai settato il ritardo dello skimmer please?
------------------------------------------------------------------------
a me non si accendeva nemmeno il monitor all'inizio, poi ho caricato il setinternalmemory e da lì non ho avuto più problemi......
Se il tuo è rotto è proprio una bella sfiga


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

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