[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/bbcode.php on line 112: 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 112: 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 112: 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 hulp gezocht - crashende arduino • nodo-domotica.nl

nodo-domotica.nl

Arduino hulp gezocht - crashende arduino

Hier alles over software in combinatie met de Nodo

Arduino hulp gezocht - crashende arduino

Berichtdoor Sjoerdp » 29 dec 2011, 19:41

Sjoerdp
 
Berichten: 106
Geregistreerd: 01 okt 2011, 17:20

Re: Arduino hulp gezocht - crashende arduino

Berichtdoor Paul » 01 jan 2012, 21:02

Ik vind het een leuk project. Ik neem in overweging om de WiredIn ook te koppelen met Pachube. wellicht is het een idee om je code/project niet in de Nodo te willen integreren, maar te laten samenwerken. Je hoeft alleen een 433Mhz routine te maken (slopen uit de Nodo Software) die de pulswaarden naar de Nodo verzend via RF. Voordeel is dat je de lastige integratie in de Nodo software achterwege kan laten en het ook heel goedkoop en eenvoudig op kunt zetten. Een heel klein Arduinootje bv. met een ATMega168 en een 433 zender en klaar.

Dan wil in wel kijken hoe data van deze kleine "satelieten" kan worden opgevangen met de Nodo met ethernet funktionaliteit. waarna je vervolgens er mee kan doen wat je wilt. Dit maakt het ook modulairder en beter uitbreidbaar.
Groeten Paul
Paul
 
Berichten: 1152
Geregistreerd: 31 aug 2011, 20:33

Re: Arduino hulp gezocht - crashende arduino

Berichtdoor Paul » 03 jan 2012, 07:37

Als je kijkt naar de volgende link...



...dan kun je lezen dat het allemaal nogal buggy is. Het feit alleen al dat er een WDT moet draaien geeft aan dat dit ook onderkend wordt. Ik neem aan dat er nog wel wat ontwikkelingen zullen zijn die maken dat het wel stabiel gaat werken.

Ik heb een Pachube connectie voor de Nodo op de wishlist gezet.



Ik ga zeker niet omwille van vastlopers Nodo gebruikers op het spoor zetten dat zij een nieuwe bootloader moeten installeren. Dus in de eerstkomende release zul je het helaas nog niet vinden.

Wordt vervolgd...
Groeten Paul
Paul
 
Berichten: 1152
Geregistreerd: 31 aug 2011, 20:33

Re: Arduino hulp gezocht - crashende arduino

Berichtdoor Sjoerdp » 03 jan 2012, 21:41

@Paul: Super dat je er naar gaat kijken. Ik ben er inderdaad ook achter gekomen dat alles nogal buggy is. Dat is erg jammer. Ik heb inmiddels weer een hoop aanpassingen gemaakt (waaronder niet de pulsen tellen, maar juist de tijd dat het duurt voordat er 5 pulsen zijn), waardoor de nauwkeurigheid nog een stuk vergroot is. Ook Watchdog timers en dergelijke toegevoegd, maar die lijken helaas niet te helpen. Als het crasht, reset hij ook niet meer. Ik moet me er dus nog verder in gaan verdiepen.

Jouw idee van informatie via 433MHz aanleveren aan de Nodo staat me wel aan. Daar ga ik ook eens naar kijken! Maar aangezien jouw nodo ontwerp niet met interrupts werkt en dus permanent in de loop () lus moet blijven zitten, is er volgens mij geen tijd om naar Pachube te versturen zonder misschien signalen te missen. Of zie ik dat verkeerd?

Ik wacht vol spanning op mijn NODO shield en ga dan zelf pas experimenteren hoe deze projecten in elkaar kunnen integreren :D
Sjoerdp
 
Berichten: 106
Geregistreerd: 01 okt 2011, 17:20

Re: Arduino hulp gezocht - crashende arduino

Berichtdoor Paul » 03 jan 2012, 21:52

Groeten Paul
Paul
 
Berichten: 1152
Geregistreerd: 31 aug 2011, 20:33

Re: Arduino hulp gezocht - crashende arduino

Berichtdoor Sjoerdp » 07 jan 2012, 13:23

Ik heb inmiddels de interrupts maar laten varen. Want zelfs met een in andere gevallen werkende watchdog, bleek hij toch nog te crashen. Geen idee waarom. Als iemand me dit kan uitleggen, erg graag! Want blijkbaar doe ik daar toch iets grondig fout (zie code hierboven).

Inmiddels heb ik alles stabiel werkend zonder interrupts door af en toe te pollen. Ook heb ik nu de Pachube library gebruikt om mij het leven makkelijker te maken. Ik heb de nieuwe sketch gepost in deze Thread:
Sjoerdp
 
Berichten: 106
Geregistreerd: 01 okt 2011, 17:20

Re: Arduino hulp gezocht - crashende arduino

Berichtdoor Paul » 07 jan 2012, 14:23

Groeten Paul
Paul
 
Berichten: 1152
Geregistreerd: 31 aug 2011, 20:33


Keer terug naar Overige software Nodo

Wie is er online?

Gebruikers in dit forum: Geen geregistreerde gebruikers. en 1 gast