[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
Toon onderwerp - Arduino uploaden • nodo-domotica.nl

nodo-domotica.nl

Arduino uploaden

Hier alles over software in combinatie met de Nodo

Arduino uploaden

Berichtdoor markuser » 25 apr 2012, 22:25

Hallo,

Het uploaden van de nodo.ini gaat niet niet goed. Hij begint te uploaden, en na een minuutje komt de onderstaande melding. ?
Ik heb alles gevolgd via de wiki, maar kom er niet uit.
Ik heb de nodo.ini versleept naar de arduino software, dubbelkik werkte niet. Wellicht zit hier de fout?
Hoe kan ik de nodo.ini wel openen in de arduinno software. File open werkt niet?!

Ik ben een beginner, dus wellicht doe ik iets doms. :oops:

core.a(main.cpp.o): In function `main':
C:\Program Files\arduino-0023\hardware\arduino\cores\arduino/main.cpp:7: undefined reference to `setup'
C:\Program Files\arduino-0023\hardware\arduino\cores\arduino/main.cpp:10: undefined reference to `loop'
Mvg, Mark

4 Unit's met ethernet. Nodo-Mega V3.7, Product=SWACNC-MEGA-R744
Devices: Diverse Kaku's, DS18b20, DHT11, LCD, WS3500, CNY70, BPW40, LDR, Watersensor, Slimme meter kaifa MA304, RFLink, Raspberry PI, Domoticz
Gebruikers-avatar
markuser
 
Berichten: 497
Geregistreerd: 29 feb 2012, 13:19

Re: Arduino uploaden

Berichtdoor PieterS » 26 apr 2012, 11:26

Je bent wat onvolledig in het aanleveren van informatie.

Kun je ons even duidelijk maken

1: welke versie van de compiler (zo te zien versie 0023??)
2: welke versie van de software
3: welke Arduino-bordje

je gebruikt.

Als je beta-software 386 wil gebruiken dan moet je toch echt compilerversie 1.0 downloaden van de Arduino-site en gaan gebruiken...

Gr.
Pieter
PieterS
 
Berichten: 234
Geregistreerd: 21 dec 2011, 22:11

Re: Arduino uploaden, SerialHold' was not declared in this s

Berichtdoor markuser » 26 apr 2012, 17:00

Bedankt voor je reactie,

De Arduino die ik heb.
Arduino Ethernet W5100-netwerk shield
Arduino Mega 2560 ATmega2560-16AU
Alles is op elkaar aangesloten inclusief Nodo plaat 1.2 met koppelprint

USB is com 11, usb kabel uiteraard ook aangesloten.
Netwerkkabel is aangesloten.


Ik gebruikte 023 en heb nu net 1.0 geprobeerd.
Maar ik krijg nu de onderstaande melding.

Ik had gelezen dat je dan 023 moet gebruiken, vandaar de oude versie die ik gebruikt heb.
viewtopic.php?f=9&t=142&p=596&hilit=SerialHold%27+was+not+declared+in+this+scope%5D#p596

Op de ethernet kaart branden meerdere lampjes blauwe lampjes. Ethernetpoort knippert groen.
Op de Mega 2560 brand 1 lampje rood, een ander knippert (vlak onder de ethernet poort).
Power lampje van de Nodo brand groen.


SerialHold(true);// XOFF verzenden zodat PC even wacht met versturen van data via Serial (Xon/Xoff-handshaking)

En in e onderste balk:
sketch_apr26a.cpp: In function 'void setup()':
Nodo:724: error: 'SerialHold' was not declared in this scope
Nodo:725: error: 'Led' was not declared in this scope
Nodo:726: error: 'LoadSettings' was not declared in this scope
Nodo:727: error: 'ResetFactory' was not declared in this scope
Nodo:760: error: 'PulseCounterISR' was not declared in this scope
Nodo:772: error: 'ProgmemString' was not declared in this scope
Nodo:780: error: 'ClockRead' was not declared in this scope
Nodo:781: error: 'SetDaylight' was not declared in this scope
Nodo:804: error: 'PrintWelcome' was not declared in this scope
Nodo:805: error: 'command2event' was not declared in this scope
Nodo:805: error: 'ProcessEvent' was not declared in this scope
sketch_apr26a.cpp: In function 'void loop()':
Nodo:826: error: 'SerialHold' was not declared in this scope
Nodo:844: error: 'FetchSignal' was not declared in this scope
Nodo:846: error: 'AnalyzeRawSignal' was not declared in this scope
Nodo:853: error: 'CheckRawSignalKey' was not declared in this scope
Nodo:855: error: 'ProcessEvent' was not declared in this scope
Nodo:869: error: 'FetchSignal' was not declared in this scope
Nodo:871: error: 'AnalyzeRawSignal' was not declared in this scope
Nodo:878: error: 'CheckRawSignalKey' was not declared in this scope
Nodo:880: error: 'ProcessEvent' was not declared in this scope
Nodo:899: error: 'Led' was not declared in this scope
Nodo:915: error: 'Led' was not declared in this scope
Nodo:926: error: 'ExecuteIP' was not declared in this scope
Nodo:951: error: 'ProgmemString' was not declared in this scope
Nodo:953: error: 'RaiseError' was not declared in this scope
Nodo:965: error: 'ProgmemString' was not declared in this scope
Nodo:982: error: 'ExecuteLine' was not declared in this scope
Nodo:993: error: 'PrintWelcome' was not declared in this scope
Nodo:1000: error: 'ProgmemString' was not declared in this scope
Nodo:1006: error: 'cmd2str' was not declared in this scope
Nodo:1039: error: 'ExecuteLine' was not declared in this scope
Nodo:1066: error: 'ClockRead' was not declared in this scope
Nodo:1069: error: 'CheckEventlist' was not declared in this scope
Nodo:1072: error: 'ProcessEvent' was not declared in this scope
Nodo:1085: error: 'SetDaylight' was not declared in this scope
Nodo:1088: error: 'command2event' was not declared in this scope
Nodo:1090: error: 'ProcessEvent' was not declared in this scope
Nodo:1109: error: 'command2event' was not declared in this scope
Nodo:1110: error: 'ProcessEvent' was not declared in this scope
Nodo:1116: error: 'command2event' was not declared in this scope
Nodo:1117: error: 'ProcessEvent' was not declared in this scope
Nodo:1136: error: 'command2event' was not declared in this scope
Nodo:1137: error: 'ProcessEvent' was not declared in this scope

Alvast bedankt voor de hulp,
Mark
Mvg, Mark

4 Unit's met ethernet. Nodo-Mega V3.7, Product=SWACNC-MEGA-R744
Devices: Diverse Kaku's, DS18b20, DHT11, LCD, WS3500, CNY70, BPW40, LDR, Watersensor, Slimme meter kaifa MA304, RFLink, Raspberry PI, Domoticz
Gebruikers-avatar
markuser
 
Berichten: 497
Geregistreerd: 29 feb 2012, 13:19

Re: Arduino uploaden

Berichtdoor PieterS » 26 apr 2012, 17:10

H Mark,
Je schrijft nergens welke versie van software je wil uploaden. Maar gezien de hardware die je opsomt moet je beta r386 uploaden. Dat kan alleen met compiler 1.0

Software die in de link gebruikt wordt is niet de betasoftware... Daar wordt gesproken over pde-files en de beta kent alleen ino-bestanden.
PieterS
 
Berichten: 234
Geregistreerd: 21 dec 2011, 22:11

Re: Arduino uploaden

Berichtdoor markuser » 26 apr 2012, 17:32

Ja je hebt gelijk ik wil de beta r386 uploaden. Met de compiler 1.0
En dan krijg ik de foutmelding zoals hiervoor gepost.

Ik had gezocht op de foutmelding, en toen kwam ik deze link tegen.

Of moet ik alle .ino bestanden uploaden ? Ik volg de wiki site.
http://www.nodo-domotica.nl/index.php/C ... odo_bouwen


Mark
Mvg, Mark

4 Unit's met ethernet. Nodo-Mega V3.7, Product=SWACNC-MEGA-R744
Devices: Diverse Kaku's, DS18b20, DHT11, LCD, WS3500, CNY70, BPW40, LDR, Watersensor, Slimme meter kaifa MA304, RFLink, Raspberry PI, Domoticz
Gebruikers-avatar
markuser
 
Berichten: 497
Geregistreerd: 29 feb 2012, 13:19

Re: Arduino uploaden

Berichtdoor bryan241 » 26 apr 2012, 18:46

Wat je moet doen is als volgt:
Je pakt de bestanden uit de zip file uit en laat ze in de directory nodo staan (ja allemaal).
Als je dan de arduino compiler opstart ga je naar (linksboven) file - open.
Dan opent er een 'open an arduino sketch' scherm waarmee je gaat zoeken naar de directory die je net uitgepakt hebt.
Dan selekteer je op Nodo.ino en druk je op openen.

Dan wordt er een nieuw aduino scherm geopend.

Als alles goed is verlopen dan heb je nu een scherm voor je met meerdere tab-bladen.
Deze tab-bladen bevatten de code van de files die in dezelfde directory staan als de Nodo.ino file.

Klopt het tot dusver?

Heb je de EthernetNodo library al gekopieerd naar de library directory van de arduino software?

Heb je onder tools-board het juiste bordje gekozen? En de juiste compoort?

Welke foutmelding krijg je nu nog?
bryan241
 
Berichten: 172
Geregistreerd: 07 jan 2012, 14:14

Re: Arduino uploaden

Berichtdoor markuser » 26 apr 2012, 19:44

Hoi,

Ik heb het zip bestand Nodo beta r386.zip uitgepakt.
En dan met file open op nodo.ini geklikt.
Een nieuw scherm word geopend, met een tabblad nodo
Als ik de nodo.ini aanklik komt er een melding nodo.ini moet in een sketch folder staan, move and continue.
Ik klik dan op ja.
Dan klik ik op upload (pijl naar rechts)

De ethernetnodo map staat onder de map library
Het juiste bordje en poort heb ik geselecteerd.

Dan komt de foutmelding zoals hierboven.

Mark
Mvg, Mark

4 Unit's met ethernet. Nodo-Mega V3.7, Product=SWACNC-MEGA-R744
Devices: Diverse Kaku's, DS18b20, DHT11, LCD, WS3500, CNY70, BPW40, LDR, Watersensor, Slimme meter kaifa MA304, RFLink, Raspberry PI, Domoticz
Gebruikers-avatar
markuser
 
Berichten: 497
Geregistreerd: 29 feb 2012, 13:19

Re: Arduino uploaden

Berichtdoor bryan241 » 26 apr 2012, 19:56

ok, bij het uitpakken moeten alle files die je uitpakt in de folder Nodo komen te staan.
Als alle files erin staan open je deze vanuit de arduino software op de eerder beschreven manier.
Nu zou je meerdere tabbladen moeten zien en kan je gaan verifieren en uploaden.
bryan241
 
Berichten: 172
Geregistreerd: 07 jan 2012, 14:14

Re: Arduino uploaden

Berichtdoor PieterS » 26 apr 2012, 21:05

H Mark,
Ik heb even getest:

Je hebt naar mijn idee in de compiler het verkeerde board geselecteerd. Je moet de Mega2560 actief hebben.

OF
Je hebt de library niet in de goede map staan en niet geïmporteerd.

Maak eventueel van genoemde punten eens printscreens van die compilerschermen...

Eerst alleen een verify doen. Want dit ziet er (nog) niet uit als een communicatieprobleem

Gr.
Pieter
PieterS
 
Berichten: 234
Geregistreerd: 21 dec 2011, 22:11

Re: Arduino uploaden

Berichtdoor markuser » 26 apr 2012, 21:11

Hoi,

Ja gelukt!!! Ik kan weer verder knutselen.

Nu gauw weer naar de visite, wel lastig als je wat wil knutselen!!!
Morgen gaan we verder.

Bedankt zover!!!

Mark
Mvg, Mark

4 Unit's met ethernet. Nodo-Mega V3.7, Product=SWACNC-MEGA-R744
Devices: Diverse Kaku's, DS18b20, DHT11, LCD, WS3500, CNY70, BPW40, LDR, Watersensor, Slimme meter kaifa MA304, RFLink, Raspberry PI, Domoticz
Gebruikers-avatar
markuser
 
Berichten: 497
Geregistreerd: 29 feb 2012, 13:19

Volgende

Keer terug naar Overige software Nodo

Wie is er online?

Gebruikers in dit forum: Geen geregistreerde gebruikers. en 3 gasten