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

nodo-domotica.nl

ds18b20

Hier alles over de hardware kant van de Nodo

ds18b20

Berichtdoor Remko » 15 jan 2013, 22:40

Arduino Ethernet W5100-netwerk shield
Arduino Mega 2560 ATmega2560-16AU
Nodo 1.2 met koppelprint
Software: V3.7
Remko
 
Berichten: 99
Geregistreerd: 26 okt 2012, 19:47

Re: ds18b20

Berichtdoor proza » 15 jan 2013, 23:21

Deze compleet gezien? http://www.nodo-domotica.nl/index.php/T ... or_DS18B20
En die D7 hoort bij de Slave en is naar mijn idee niet gelijk aan de Mega. Dit moet volgens mij de pin 30 zijn.

http://www.nodo-domotica.nl/index.php/D ... or_scanner
- Jura Impressa F50 and a Starbucks MUG makes my day complete
Gebruikers-avatar
proza
 
Berichten: 420
Geregistreerd: 03 nov 2011, 22:44

Re: ds18b20

Berichtdoor manjh » 16 jan 2013, 00:01

Fout, beiden.
Neem hetstatement:
VariableDevice 3,1
Dan gaat het om variabele 3 die je wilt vullen vanuit het eerste userdevice.
Kijk in het tabje userdevice, daar staat welke digi poort je gebruikt voor de sensor. Default staat er (geloof ik) poort 1, maar dat kun je veranderen.
Dus in het statement zoals hierboven zal var3 gevuld worden met de meetwaarde uit userdevice 1, en die is gekoppeld aan poort1.

Heb je twee sensoren, dan maak je een tweede userdevice daaronder aan, als 2e tak van de switch.
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: ds18b20

Berichtdoor Remko » 16 jan 2013, 08:18

Thanx. Helder. Hoe is de vertaling van poort 1 naar de nodo? Is dit d7?
Ik gebruik dus een mega met nodo, ethernetkaart en koppelprint.
Arduino Ethernet W5100-netwerk shield
Arduino Mega 2560 ATmega2560-16AU
Nodo 1.2 met koppelprint
Software: V3.7
Remko
 
Berichten: 99
Geregistreerd: 26 okt 2012, 19:47

Re: ds18b20

Berichtdoor manjh » 16 jan 2013, 10:58

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

Re: ds18b20

Berichtdoor Remko » 16 jan 2013, 19:22

dat begrijp ik niet helemaal. Op mijn nodo versie 1.2 zit een header van 4 waar bij staat dat ze digitaal zijn. De cijfers hierbij lopen van 7 t/m 10. Hier staat dus geen 1 bij. Zie pijl. Ik zou toch zeggen dat ik deze zou moeten gebruiken.
Er zit ook een blok van 8 waar analoog bij staat. Die loopt van 1 tot 5. Deze poort 1 moet ik niet gebruiken neem ik aan omdat dit analoog is. Dit is mijn configuratie:

Waar is dan digitale poort 1? Ik neem niet aan dat ik hem op mijn ethernetboard moet inprikken. Andere vrije headers zitten er niet op.
Ik ben een tijdje op zoek geweest naar de documentatie hieromtrent en hoe ik dan een onbeveiligde poort moet maken maar het zal aan mij liggen maar ik kom geen goede beschrijving tegen. In de handleidingen van de nodo V1,2 staat het niet en ook niet in die van de couplershield. Waar ik jumpers zou moeten plaatsen zie ik niet.
Arduino Ethernet W5100-netwerk shield
Arduino Mega 2560 ATmega2560-16AU
Nodo 1.2 met koppelprint
Software: V3.7
Remko
 
Berichten: 99
Geregistreerd: 26 okt 2012, 19:47

Re: ds18b20

Berichtdoor PieterS » 16 jan 2013, 22:45

Laatst bijgewerkt door PieterS op 16 jan 2013, 23:00, in totaal 2 keer bewerkt.
PieterS
 
Berichten: 234
Geregistreerd: 21 dec 2011, 22:11

Re: ds18b20

Berichtdoor manjh » 16 jan 2013, 22:45

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

Re: ds18b20

Berichtdoor Remko » 17 jan 2013, 08:23

Super dank voor jullie advies. Het werkt nu. D7 is wiredout 1. Met variabledevice 7,1 werkt het. Waarde wordt dan via variabele 7 in de webapp getoond. Hoe krijg ik een grafiek? Ik zie nam. geen graph opties? Als ik op de temp waarde klik in de webapp krijg ik alleen een + en een -.Ik heb mijn sensor met een pullupweerstand verbonden. Is dit nodig?
Arduino Ethernet W5100-netwerk shield
Arduino Mega 2560 ATmega2560-16AU
Nodo 1.2 met koppelprint
Software: V3.7
Remko
 
Berichten: 99
Geregistreerd: 26 okt 2012, 19:47

Re: ds18b20

Berichtdoor PieterS » 17 jan 2013, 10:12

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

Volgende

Keer terug naar Nodo Hardware

Wie is er online?

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

cron