[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)
nodo-domotica.nl • Toon onderwerp - Arduino hulp gezocht - crashende arduino - Afdrukweergave
nodo-domotica.nl
http://www.nodo-domotica.nl/forum/

Arduino hulp gezocht - crashende arduino
http://www.nodo-domotica.nl/forum/viewtopic.php?f=13&t=149
Pagina 1 van 1
Auteur:  Sjoerdp [ 29 dec 2011, 19:41 ]
Titel:  Arduino hulp gezocht - crashende arduino

Auteur:  Paul [ 01 jan 2012, 21:02 ]
Titel:  Re: Arduino hulp gezocht - crashende arduino

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.
Auteur:  Paul [ 03 jan 2012, 07:37 ]
Titel:  Re: Arduino hulp gezocht - crashende arduino

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...
Auteur:  Sjoerdp [ 03 jan 2012, 21:41 ]
Titel:  Re: Arduino hulp gezocht - crashende arduino

@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
Auteur:  Paul [ 03 jan 2012, 21:52 ]
Titel:  Re: Arduino hulp gezocht - crashende arduino

Auteur:  Sjoerdp [ 07 jan 2012, 13:23 ]
Titel:  Re: Arduino hulp gezocht - crashende arduino

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:
Auteur:  Paul [ 07 jan 2012, 14:23 ]
Titel:  Re: Arduino hulp gezocht - crashende arduino

Pagina 1 van 1 Alle tijden zijn GMT + 1 uur