[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/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 - Dallas DS18B20 via nodo satelliet hoe wekend krijgen. • nodo-domotica.nl

nodo-domotica.nl

Dallas DS18B20 via nodo satelliet hoe wekend krijgen.

Hier alles over de hardware kant van de Nodo

Dallas DS18B20 via nodo satelliet hoe wekend krijgen.

Berichtdoor comtech » 23 dec 2012, 20:15

comtech
 
Berichten: 52
Geregistreerd: 22 jan 2012, 21:57

Re: Dallas DS18B20 via nodo satelliet hoe wekend krijgen.

Berichtdoor PieterS » 25 dec 2012, 22:41

Ook ik ben er me aan het prutsen... En ik ben weer stapje verder.

Inmiddels zie ik de variabele vanuit satelliet binnen komen op de centrale Nodo..!
Afbeelding

En dat allemaal omdat ik twee regels heb toegevoegd aan script op de satelliet..
Sendto 15; EventlistErase
sendto 15; EventlistWrite; Boot 15; Sound 7

Sendto 15; EventlistWrite; WildCard Variables,All; SendEvent RF
Sendto 15; EventlistWrite; WildCard Wired,All; SendEvent RF

sendto 15; EventlistWrite; Boot 15; TimerSetMin 1,1
sendto 15; EventlistWrite; Timer 1,0; VariableDevice 1,1
sendto 15; EventlistWrite; Timer 1,0; TimerSetMin 1,1


Echter: Waarom de variabele leeg blijft kan ik niet verklaren.
Waar ik mee werk:
Satelliet is Duemilanove met daarop Nodo Shield V1.2 (geen extension shield)
DS18B20 zit met middelste poot in Digital7. Dat zou mijns inziens Wired-Out1 zijn. Maar ik zou daar graag bevestiging over willen krijgen... 5V en aarde zou goed moeten zijn alsmede 4K7 tussen data en 5V.

Waarom blijft de variabele 1 nu leeg? Misschien om dat sensor niet geactiveerd wordt? Waar exact in de software geef ik zo nodig aan dat sensor gekoppeld moet worden?
Elders in dit forum (draadje: Dallas sensoren uitlezen) wordt daar nogal cryptisch over gedaan. Misschien kan iemand wat specifieker zijn..

Alvast dank.
PieterS
 
Berichten: 234
Geregistreerd: 21 dec 2011, 22:11

Re: Dallas DS18B20 via nodo satelliet hoe wekend krijgen.

Berichtdoor manjh » 26 dec 2012, 13:37

Je sensor zit op op een slave op de 1e poort, en in de userdevice is dat ook zo aangegeven?
Dan heb je in eventlist van de slave dit statement nodig:
VariableDevice 7,1
Hiermee wordt variabele 7 gevuld vanuit het eerste userdevice. En dat is gekoppeld aan de sensor op digi poort 1 (pin 7).
Het Device statement is niet relevant hier.
Laat anders je eventlist uit de slave nog even zien.
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: Dallas DS18B20 via nodo satelliet hoe wekend krijgen.

Berichtdoor comtech » 26 dec 2012, 21:52

comtech
 
Berichten: 52
Geregistreerd: 22 jan 2012, 21:57

Re: Dallas DS18B20 via nodo satelliet hoe wekend krijgen.

Berichtdoor PieterS » 26 dec 2012, 22:13

Hoi,

Ik kan me je gevoel voorstellen! Maar mijn inziens ook Proza verdient mijn/onze dank! Hij bracht me (onbedoeld) op een idee...

Wat ik ik me alleen nog afvraag is welke aansluiting je op je Nodo-shield hebt gebruikt... Ben momenteel niet in gelegenheid te testen maar ben daar erg benieuwd naar.

Fijn dat je ook ff jouw eventlist publiceert. Iedereen bedankt.

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

Re: Dallas DS18B20 via nodo satelliet hoe wekend krijgen.

Berichtdoor proza » 26 dec 2012, 23:25

Goed te horen, en nu Naar bed, Ja :D
- Jura Impressa F50 and a Starbucks MUG makes my day complete
Gebruikers-avatar
proza
 
Berichten: 420
Geregistreerd: 03 nov 2011, 22:44

Re: Dallas DS18B20 via nodo satelliet hoe wekend krijgen.

Berichtdoor comtech » 27 dec 2012, 14:15

comtech
 
Berichten: 52
Geregistreerd: 22 jan 2012, 21:57

Re: Dallas DS18B20 via nodo satelliet hoe wekend krijgen.

Berichtdoor manjh » 27 dec 2012, 22:21

Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: Dallas DS18B20 via nodo satelliet hoe wekend krijgen.

Berichtdoor proza » 28 dec 2012, 21:16

Laatst bijgewerkt door proza op 30 dec 2012, 13:23, in totaal 5 keer bewerkt.
- Jura Impressa F50 and a Starbucks MUG makes my day complete
Gebruikers-avatar
proza
 
Berichten: 420
Geregistreerd: 03 nov 2011, 22:44

Re: Dallas DS18B20 via nodo satelliet hoe wekend krijgen.

Berichtdoor manjh » 29 dec 2012, 15:23

zou moeten werken.
Ik heb zelf diverse sensoren als tor, werken allemaal wel goed.
Mijn waterproof sensor heeft als kleuren rood (vcc) geel (data) en groen (ground). Zat ook geen aansluitschema bij, dus heb ik gewoon alle combinaties geprobeerd. Meestal gaf hij geen resultaat, bij eentje altijd nul en bij eentje de juiste waarde.

Ik zou hem eens aan een Mega hangen, dat experimenteert wat makkelijker vanwegen het user interface.

Andere vraag: heb je bij het compileren gecontroleerd of bij UserDevice 1 poort 1 staat gespecificeerd?
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Volgende

Keer terug naar Nodo Hardware

Wie is er online?

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

cron