[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/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 ds1820 uitlezen • nodo-domotica.nl

nodo-domotica.nl

dallas ds1820 uitlezen

Hier alles over de Software in de Nodo

dallas ds1820 uitlezen

Berichtdoor DMeekelenkamp » 27 feb 2014, 18:31

Hallo,

Ik ben bezig om een dallas ds1820 uit te lezen maar krijg rare waardes, bij kamer temperatuur laat de sensor 3,563 graden zien. Nu las ik dit op de wiki:

Zodra je weet wat het type is, weet je ook of je in de code een kleine aanpassing moet doen. Is het type een DS18B20, dan hoef je niets te doen en zal de sensor meteen goed werken, en het VariableDevice commando zal de juist berekende temperatuur weergeven. Heb je echter een DS1820 of DS18S20, dan moet je het volgende aanpassen:
kijk in de Nodo code in tabje User_Device, en scroll omlaag tot ongeveer regel 128 (exact regelnummer kan iets afwijken, afhankelijk van Nodo versie)
je ziet twee regels met berekening: de eerste wordt voorafgegaan door "//", de tweede niet.
haal de twee slashes van de eerste berekenings regel weg
plaats twee slashes aan het begin van de tweede berekenings regel.

Maar waar is dat "Tabje" User_Device te vinden. heb heel de code doorgekeken maar kan het nergens vinden. Bestaat deze manier nog wel in 3.6.9 R735?

Groeten Dennis
DMeekelenkamp
 
Berichten: 87
Geregistreerd: 20 dec 2013, 19:25

Re: dallas ds1820 uitlezen

Berichtdoor henkdejonge » 28 feb 2014, 10:20

Dennis,

Het volgende vond ik bij de wiki van de plugin...

weerstand van 4K7 tussen pootjes 2 en 3
Let op: als je de 4K7 weerstand niet monteert, dan zal de sensor "vreemd" gedrag vertonen of zelfs helemaal niet werken. Ik ken een voorbeeld waarbij de sensor in zo'n geval beurtelings temperatuur 0.00 doorgeeft, en dan weer "device error". Om gek van te worden, totdat je aan die weerstand denkt... :-)

Is dit mss iets!

Grtz,

Henk
henkdejonge
 
Berichten: 102
Geregistreerd: 21 maart 2012, 16:29

Re: dallas ds1820 uitlezen

Berichtdoor DMeekelenkamp » 28 feb 2014, 12:30

Dankjewel voor je reactie.
Maar dat is het niet heb de weerstand over vcc en Data zitten.
Maar het is een ds1820 ipv een ds18B20. Deze geeft een andere bit stream en dit moet aan te passen zijn volgens de wiki "dallas sensor" in het tabje user_device.

Groeten Dennis
DMeekelenkamp
 
Berichten: 87
Geregistreerd: 20 dec 2013, 19:25

Re: dallas ds1820 uitlezen

Berichtdoor henkdejonge » 28 feb 2014, 17:18

Dennis,

Het begrip User_Device stamt nog uit de periode voor de plugin's. Misschien dat Paul cq Martinus hier een antwoord op hebben.

Suc6.

GRtz,

Henk.
henkdejonge
 
Berichten: 102
Geregistreerd: 21 maart 2012, 16:29

Re: dallas ds1820 uitlezen

Berichtdoor DaveJessen » 28 feb 2014, 17:43

Ik zit met het zelfde probleem als Dennis.

Ik zit in de woonkamer met dikke jas aan want volgens de Nodo is het 2.6 graden ;)
DaveJessen
 
Berichten: 37
Geregistreerd: 13 jan 2014, 15:27

Re: dallas ds1820 uitlezen

Berichtdoor manjh » 01 maart 2014, 12:43

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

Re: dallas ds1820 uitlezen

Berichtdoor DMeekelenkamp » 01 maart 2014, 13:18

Dankjewel ga dit eens proberen laat wel even wat weten als het werkt.
Eerst even carnavallen :mrgreen:

Gr Dennis
DMeekelenkamp
 
Berichten: 87
Geregistreerd: 20 dec 2013, 19:25

Re: dallas ds1820 uitlezen

Berichtdoor manjh » 01 maart 2014, 13:26

kwestie van prioriteiten stellen... :)
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: dallas ds1820 uitlezen

Berichtdoor DaveJessen » 01 maart 2014, 19:17

Bedankt Manjh voor de gouden tip!
DaveJessen
 
Berichten: 37
Geregistreerd: 13 jan 2014, 15:27

Re: dallas ds1820 uitlezen

Berichtdoor manjh » 03 maart 2014, 15:08

betekent dit dat het werkt?
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Volgende

Keer terug naar Nodo Software

Wie is er online?

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

cron