Oggi è martedì 21 aprile 2026, 3:54

Tutti gli orari sono UTC + 1 ora [ ora legale ]




Apri un nuovo argomento Rispondi all’argomento  [ 234 messaggi ]  Vai alla pagina Precedente  1 ... 10, 11, 12, 13, 14, 15, 16  Prossimo
Autore Messaggio
 Oggetto del messaggio: Re: DCC ++ chi era costui?
MessaggioInviato: giovedì 1 febbraio 2018, 17:59 
Non connesso

Iscritto il: mercoledì 1 febbraio 2006, 12:40
Messaggi: 2857
Località: Bracciano (Roma)
Io sulla scia della sperimentazione della A21, ho preso un Wemos.
Appena mi arriva, lo provo con la app Roco e riferisco.


Top
 Profilo  
 
 Oggetto del messaggio: Re: DCC ++ chi era costui?
MessaggioInviato: giovedì 1 febbraio 2018, 22:11 
Non connesso

Nome: Benedict Littlesaturday
Iscritto il: lunedì 18 ottobre 2010, 10:39
Messaggi: 1198
Località: Sutri (VT)
Vedrai che funziona senza problemi:

https://youtu.be/AXdyCQaExlc


PS: la 342 ha un decoder LaisDCC


Top
 Profilo  
 
 Oggetto del messaggio: Re: DCC ++ chi era costui?
MessaggioInviato: sabato 3 febbraio 2018, 11:38 
Non connesso

Nome: Benedict Littlesaturday
Iscritto il: lunedì 18 ottobre 2010, 10:39
Messaggi: 1198
Località: Sutri (VT)
Segnalo agli utenti della centrale Arduino DCC++ A21 che è uscita una nuova app (per IOS ed Android) Roco Z21; non è un aggiornamento della vecchia versione, è proprio una nuova app, chiamata semplicemente Z21, dagli screenshot sembra promettere bene, ovviamente è perfettamente compatibile con la "nostra" A21 DCC++:
Allegato:
IMG_2382.jpg


Top
 Profilo  
 
 Oggetto del messaggio: Re: DCC ++ chi era costui?
MessaggioInviato: sabato 3 febbraio 2018, 11:43 
Non connesso

Nome: Benedict Littlesaturday
Iscritto il: lunedì 18 ottobre 2010, 10:39
Messaggi: 1198
Località: Sutri (VT)
PS: dai primi test sembrerebbe supportare anche il cab drive per telecamere installate sui rotabili...


Top
 Profilo  
 
 Oggetto del messaggio: Re: DCC ++ chi era costui?
MessaggioInviato: sabato 3 febbraio 2018, 12:05 
Non connesso

Iscritto il: venerdì 20 gennaio 2006, 10:59
Messaggi: 5071
max63 ha scritto:
PS: dai primi test sembrerebbe supportare anche il cab drive per telecamere installate sui rotabili...


... ma questo lo faceva anche la precedente ...


Top
 Profilo  
 
 Oggetto del messaggio: Re: DCC ++ chi era costui?
MessaggioInviato: sabato 3 febbraio 2018, 14:51 
Non connesso

Nome: Benedict Littlesaturday
Iscritto il: lunedì 18 ottobre 2010, 10:39
Messaggi: 1198
Località: Sutri (VT)
Anche su Dcc++? Non avevo mai visto la funzione, ma forse dipende dal mio smartphone dell'età della pietra!


Top
 Profilo  
 
 Oggetto del messaggio: Re: DCC ++ chi era costui?
MessaggioInviato: venerdì 16 febbraio 2018, 21:34 
Non connesso

Iscritto il: mercoledì 1 febbraio 2006, 12:40
Messaggi: 2857
Località: Bracciano (Roma)
Ciao Max,
mi è arrivata la wemos, ma seguendo la tua guida all'installazione, non trovo il file
A21_WiFi_DCC_Zentrale_v477_MSH.zip
ma solo quello ethernet.
Mi indichi da dove scaricarlo?
Grazie
Luca


Top
 Profilo  
 
 Oggetto del messaggio: Re: DCC ++ chi era costui?
MessaggioInviato: venerdì 16 febbraio 2018, 21:46 
Non connesso

Nome: Benedict Littlesaturday
Iscritto il: lunedì 18 ottobre 2010, 10:39
Messaggi: 1198
Località: Sutri (VT)
Scarica quello che ho postato sul sezione digitale di ScalaTT funziona perfettamente.


Top
 Profilo  
 
 Oggetto del messaggio: Re: DCC ++ chi era costui?
MessaggioInviato: lunedì 19 febbraio 2018, 20:00 
Non connesso

Iscritto il: sabato 11 dicembre 2010, 22:18
Messaggi: 800
Località: San Giovanni La Punta (CT)
Mi è arrivato l'Arduino Mega e la ethernet shield, ho seguito le istruzioni saltando la parte che riguarda il wifi, ma nella compilazione mi da tantissimi errori:

Arduino:1.8.5 (Windows 10), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from C:\Users\Michele\Desktop\z21\Z21_Ethernet_DCC_Zentrale_v477_MSH\Z21_Ethernet_DCC_Zentrale_v477_MSH.ino:314:0:

sketch\Z21_LAN.h: In function 'void Z21LANreceive()':

Z21_LAN.h:264: error: 'notifyz21getSystemInfo' was not declared in this scope

notifyz21getSystemInfo(0); //SysInfo an alle BC Clients senden!

^

sketch\Z21_LAN.h: In function 'void notifyz21getSystemInfo(uint8_t)':

Z21_LAN.h:417: error: 'class z21Class' has no member named 'sendSystemInfo'

z21.sendSystemInfo(client, inAm, volt, temp); //report System State to z21 clients

^

sketch\Z21_LAN.h: In function 'void notifyz21CVREAD(uint8_t, uint8_t)':

Z21_LAN.h:430: error: 'class DCCPacketScheduler' has no member named 'opsReadDirectCV'

dcc.opsReadDirectCV(cvAdr); //read cv

^

sketch\Z21_LAN.h: In function 'void notifyz21CVWRITE(uint8_t, uint8_t, uint8_t)':

Z21_LAN.h:435: error: ambiguating new declaration of 'void notifyz21CVWRITE(uint8_t, uint8_t, uint8_t)'

void notifyz21CVWRITE(uint8_t cvAdrMSB, uint8_t cvAdrLSB, uint8_t value)

^

In file included from C:\Users\Michele\Desktop\z21\Z21_Ethernet_DCC_Zentrale_v477_MSH\Z21_Ethernet_DCC_Zentrale_v477_MSH.ino:221:0:

C:\Users\Michele\Documents\Arduino\libraries\z21/z21.h:118:17: note: old declaration 'uint8_t notifyz21CVWRITE(uint8_t, uint8_t, uint8_t)'

extern uint8_t notifyz21CVWRITE(uint8_t cvAdrMSB, uint8_t cvAdrLSB, uint8_t value) __attribute__((weak));

^

In file included from C:\Users\Michele\Desktop\z21\Z21_Ethernet_DCC_Zentrale_v477_MSH\Z21_Ethernet_DCC_Zentrale_v477_MSH.ino:314:0:

sketch\Z21_LAN.h: In function 'void notifyz21CVPOMREADBYTE(uint16_t, uint16_t)':

Z21_LAN.h:471: error: 'class DCCPacketScheduler' has no member named 'opsPOMreadCV'

dcc.opsPOMreadCV(Adr, cvAdr); //get decoder value

^

sketch\Z21_LAN.h: In function 'void notifyz21UpdateConf()':

Z21_LAN.h:500: error: 'Debug' was not declared in this scope

Debug.println("Z21 Conf: ");

^

Z21_LAN.h:502: error: 'EEPROMRailCom' was not declared in this scope

Debug.print(EEPROM.read(EEPROMRailCom), HEX);

^

Z21_LAN.h:508: error: 'EEPROMRSTsRepeat' was not declared in this scope

Debug.print(EEPROM.read(EEPROMRSTsRepeat));

^

Z21_LAN.h:510: error: 'EEPROMRSTcRepeat' was not declared in this scope

Debug.print(EEPROM.read(EEPROMRSTcRepeat));

^

Z21_LAN.h:512: error: 'EEPROMProgRepeat' was not declared in this scope

Debug.print(EEPROM.read(EEPROMProgRepeat));

^

Z21_LAN.h:518: error: 'class DCCPacketScheduler' has no member named 'loadEEPROMconfig'

dcc.loadEEPROMconfig();

^

C:\Users\Michele\Desktop\z21\Z21_Ethernet_DCC_Zentrale_v477_MSH\Z21_Ethernet_DCC_Zentrale_v477_MSH.ino: In function 'void globalPower(byte)':

Z21_Ethernet_DCC_Zentrale_v477_MSH:322: error: 'class z21Class' has no member named 'setCVNackSC'

z21.setCVNackSC(); //response SHORT while Service Mode!

^

Z21_Ethernet_DCC_Zentrale_v477_MSH:326: error: 'Debug' was not declared in this scope

Debug.print(F("Power: "));

^

Z21_Ethernet_DCC_Zentrale_v477_MSH:380: error: 'SHORT' was not declared in this scope

dcc.setpower(SHORT); //shut down via GO/STOP just for the Roco Booster

^

C:\Users\Michele\Desktop\z21\Z21_Ethernet_DCC_Zentrale_v477_MSH\Z21_Ethernet_DCC_Zentrale_v477_MSH.ino: In function 'void ShortDetection()':

Z21_Ethernet_DCC_Zentrale_v477_MSH:456: error: 'Debug' was not declared in this scope

Debug.println(F("TRACK_SHORT_CIRCUIT INT"));

^

Z21_Ethernet_DCC_Zentrale_v477_MSH:466: error: 'Debug' was not declared in this scope

Debug.print(VAmp);

^

C:\Users\Michele\Desktop\z21\Z21_Ethernet_DCC_Zentrale_v477_MSH\Z21_Ethernet_DCC_Zentrale_v477_MSH.ino: In function 'void updateLedButton()':

Z21_Ethernet_DCC_Zentrale_v477_MSH:487: error: 'Debug' was not declared in this scope

Debug.print(F("Button "));

^

C:\Users\Michele\Desktop\z21\Z21_Ethernet_DCC_Zentrale_v477_MSH\Z21_Ethernet_DCC_Zentrale_v477_MSH.ino: In function 'void notifyTrnt(uint16_t, bool)':

Z21_Ethernet_DCC_Zentrale_v477_MSH:684: error: 'Debug' was not declared in this scope

Debug.print(F("DCC Trnt "));

^

C:\Users\Michele\Desktop\z21\Z21_Ethernet_DCC_Zentrale_v477_MSH\Z21_Ethernet_DCC_Zentrale_v477_MSH.ino: In function 'void notifyCVVerify(uint16_t, uint8_t)':

Z21_Ethernet_DCC_Zentrale_v477_MSH:694: error: 'class z21Class' has no member named 'setCVReturn'

z21.setCVReturn (CV, value);

^

Z21_Ethernet_DCC_Zentrale_v477_MSH:696: error: 'Debug' was not declared in this scope

Debug.print(F("Loco CV#"));

^

C:\Users\Michele\Desktop\z21\Z21_Ethernet_DCC_Zentrale_v477_MSH\Z21_Ethernet_DCC_Zentrale_v477_MSH.ino: In function 'void notifyCVNack()':

Z21_Ethernet_DCC_Zentrale_v477_MSH:706: error: 'class z21Class' has no member named 'setCVNack'

z21.setCVNack(); //send back to device and stop programming!

^

Z21_Ethernet_DCC_Zentrale_v477_MSH:708: error: 'Debug' was not declared in this scope

Debug.println("CV# no ACK");

^

C:\Users\Michele\Desktop\z21\Z21_Ethernet_DCC_Zentrale_v477_MSH\Z21_Ethernet_DCC_Zentrale_v477_MSH.ino: In function 'void setup()':

Z21_Ethernet_DCC_Zentrale_v477_MSH:773: error: no matching function for call to 'DCCPacketScheduler::setup(int, int, int)'

dcc.setup(DCCPin, 0, SwitchFormat); //no NDCC and no RAILCOM

^

C:\Users\Michele\Desktop\z21\Z21_Ethernet_DCC_Zentrale_v477_MSH\Z21_Ethernet_DCC_Zentrale_v477_MSH.ino:773:40: note: candidate is:

In file included from C:\Users\Michele\Desktop\z21\Z21_Ethernet_DCC_Zentrale_v477_MSH\Z21_Ethernet_DCC_Zentrale_v477_MSH.ino:189:0:

C:\Users\Michele\Documents\Arduino\libraries\DCCInterfaceMaster/DCCPacketScheduler.h:89:7: note: void DCCPacketScheduler::setup(uint8_t, uint8_t)

void setup(uint8_t pin = 6, uint8_t format = ROCO); //for any post-constructor initialization

^

C:\Users\Michele\Documents\Arduino\libraries\DCCInterfaceMaster/DCCPacketScheduler.h:89:7: note: candidate expects 2 arguments, 3 provided

Z21_Ethernet_DCC_Zentrale_v477_MSH:777: error: 'class DCCPacketScheduler' has no member named 'setCurrentLoadPin'

dcc.setCurrentLoadPin(VAmpIntPin);

^

Z21_Ethernet_DCC_Zentrale_v477_MSH:787: error: 'Debug' was not declared in this scope

Debug.begin(DebugBaud);

^

Z21_Ethernet_DCC_Zentrale_v477_MSH:787: error: 'DebugBaud' was not declared in this scope

Debug.begin(DebugBaud);

^

exit status 1
'notifyz21getSystemInfo' was not declared in this scope

Questo report potrebbe essere più ricco di informazioni abilitando l'opzione
"Mostra un output dettagliato durante la compilazione"
in "File -> Impostazioni"


Questa la videata dell'ide:


Allegati:
schermata ide.jpg
schermata ide.jpg [ 114.58 KiB | Osservato 4905 volte ]
Top
 Profilo  
 
 Oggetto del messaggio: Re: DCC ++ chi era costui?
MessaggioInviato: lunedì 19 febbraio 2018, 20:02 
Non connesso

Iscritto il: sabato 11 dicembre 2010, 22:18
Messaggi: 800
Località: San Giovanni La Punta (CT)
non so che fare :(

Michele


Top
 Profilo  
 
 Oggetto del messaggio: Re: DCC ++ chi era costui?
MessaggioInviato: lunedì 19 febbraio 2018, 20:51 
Non connesso

Nome: Benedict Littlesaturday
Iscritto il: lunedì 18 ottobre 2010, 10:39
Messaggi: 1198
Località: Sutri (VT)
Non hai installato correttamente le librerie. Hai settato correttamente il Mega in Arduino Ide?


Top
 Profilo  
 
 Oggetto del messaggio: Re: DCC ++ chi era costui?
MessaggioInviato: lunedì 19 febbraio 2018, 21:42 
Non connesso

Iscritto il: sabato 11 dicembre 2010, 22:18
Messaggi: 800
Località: San Giovanni La Punta (CT)
Mi era venuto il dubbio perchè avevo provato in precedenza la base station su Arduino uno.
Ho cancellato le cartelle delle librerie su documenti\arduino e scaricando come indicato su scalatt, ho reintallato le librerie e gli errori di compilazione sono cambiati ma continuano ad esserci.

Avevo scaricato da qualche parte su questo sito http://pgahtow.de/wiki/index.php?title=Zentrale/en librerie e file e caricando la versione Wi-Fi del .ino, funziona tutto perfettamente, ovviamente nel monitor seriale mi da all'avvio errore di inizializzazione Wi-Fi, ma è normale perchè non ho il Wi-Fi.

Resettando tutto, IDE e librerie, e caricando quelli linkati su scalatt, non va. Domani con calma riprovo tutto.

Michele.


Top
 Profilo  
 
 Oggetto del messaggio: Re: DCC ++ chi era costui?
MessaggioInviato: lunedì 19 febbraio 2018, 22:22 
Non connesso

Nome: Benedict Littlesaturday
Iscritto il: lunedì 18 ottobre 2010, 10:39
Messaggi: 1198
Località: Sutri (VT)
Mi viene il dubbio che la parte ethernet sia disattivata nello sketch quello è specifico per il Wi-Fi. Prova a scaricarlo dal sito dell'autore.


Top
 Profilo  
 
 Oggetto del messaggio: Re: DCC ++ chi era costui?
MessaggioInviato: martedì 20 febbraio 2018, 7:22 
Non connesso

Iscritto il: sabato 11 dicembre 2010, 22:18
Messaggi: 800
Località: San Giovanni La Punta (CT)
OK, vedo se trovò il link e provo


Michele


Top
 Profilo  
 
 Oggetto del messaggio: Re: DCC ++ chi era costui?
MessaggioInviato: mercoledì 21 febbraio 2018, 21:19 
Non connesso

Iscritto il: sabato 11 dicembre 2010, 22:18
Messaggi: 800
Località: San Giovanni La Punta (CT)
Vi aggiorno, ho trovato la verso 465 da questo sito https://sites.google.com/site/valerieva ... cts/a21-ru e seguendo passò passò, non ho nessun errore di compilazione.

Ho provato arduino mega + Wi-Fi ed il motor shield, all'avvio mi da nel monitor

19200 start Wi-Fi ......................Failed.

Strano che dia 19200 anzichè 115200, tuttavia se collego lo shield ethernet ed il motor shield, funziona tutto, sia con rocrail che con l'app.

Non capisco perchè non funziona il Wi-Fi e mi dia la velocitá diversa dal monitor del tutorial

Michele.


Top
 Profilo  
 
Visualizza ultimi messaggi:  Ordina per  
Apri un nuovo argomento Rispondi all’argomento  [ 234 messaggi ]  Vai alla pagina Precedente  1 ... 10, 11, 12, 13, 14, 15, 16  Prossimo

Tutti gli orari sono UTC + 1 ora [ ora legale ]


Chi c’è in linea

Visitano il forum: Nessuno e 74 ospiti


Non puoi aprire nuovi argomenti
Non puoi rispondere negli argomenti
Non puoi modificare i tuoi messaggi
Non puoi cancellare i tuoi messaggi
Non puoi inviare allegati

Cerca per:
Vai a:  
banner_piko

Duegi Editrice - Via Stazione 10, 35031 Abano Terme (PD). Italy - Tel. 049.711.363 - Fax 049.862.60.77 - duegi@duegieditrice.it - shop@duegieditrice.it
Direttore editoriale: Luigi Cantamessa - Amministratore unico: Federico Mogioni - Direttore responsabile: Pietro Fattori.
Registro Operatori della Comunicazione n° 37957. Partita iva IT 05448560283 Tutti i diritti riservati Duegi Editrice Srl