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

nodo-domotica.nl

Pulsen tellen

Hier alles over de hardware kant van de Nodo

Pulsen tellen

Berichtdoor bertb » 05 jan 2014, 23:15

Hallo Allemaal,

Ik ben nu druk doende om een satelliet nodo in de meterkast te bouwen, met de nobele taak om pulsjes te tellen van gas, water en licht.
Daar zit nog een leuke uitdaging, want het ledje op de elektra meter flitst ook wanneer de zonnepanelen stroom leveren aan het Nutsbedrijf. Maar dat is voor later.
Eerst de gasmeter. Ik gebruik daarvoor de CNY70, maar vind het signaalverschil tussen wel spiegeltje/geen spiegeltje wat tegenvallen. Om de werking te controleen, zou ik graag een ledje willen laten branden als het spiegeltje voorbijkomt. Dat zou met het event WiredIn moeten kunnen, maar dat lijkt het niet goed te doen.
Mijn vraag: Als je de Pulse plugin (028) gebruikt, werken dan de functies WiredSmittTrigger, WiredThreshold en WiredIn dan nog?

Groeten, Bert
Nodo Mega 2560 R619 met breadboard, Nodo Uno met breadboard
Tiny Kaku met breadboard, DS18B20, AlectoV1, DHT11
bertb
 
Berichten: 268
Geregistreerd: 14 sep 2013, 14:00
Woonplaats: Amsterdam

Re: Pulsen tellen

Berichtdoor avdl72 » 06 jan 2014, 18:54

Hoi Bert,

Ik gebruik deze en hier zit een led op.
Deze werkt perfect voor mijn gas en watermeter.
Nodo-Mega V3.7 R744
Web App version: SWINWA-PROD-V099 - lokaal
Nodo Ethernet Shield v2.0.2
Nodo Small v2.0.0 - t.b.v. Gas-, Water- en Stroommeter
Nodo Small v2.0.0 - t.b.v. KAKU
Nodo Mini - t.b.v. Temperatuur (Arduino Pro Mini)
avdl72
 
Berichten: 114
Geregistreerd: 29 nov 2012, 15:50

Re: Pulsen tellen

Berichtdoor bertb » 06 jan 2014, 22:26

Nodo Mega 2560 R619 met breadboard, Nodo Uno met breadboard
Tiny Kaku met breadboard, DS18B20, AlectoV1, DHT11
bertb
 
Berichten: 268
Geregistreerd: 14 sep 2013, 14:00
Woonplaats: Amsterdam

Re: Pulsen tellen

Berichtdoor BazemanKM » 07 jan 2014, 16:04

Ik gebruik plug in 028.

Wat is de pinbezetting voor de NES als ik gebruik maak van de eerste analoge ingang?

Met het commando Pulse 1,10 geef ik dan 1 op voor de eerste analoge poort of een ander nummer?
Mijn blog over de Nodo:

Nodo-Mega V3.6, Product=SWACNC-MEGA-R596|WebApp lokaal (SWINWA-PROD-V099)|DHT-22, Dallas DS18B20, WS-3500|
BazemanKM
 
Berichten: 44
Geregistreerd: 08 aug 2012, 09:49

Re: Pulsen tellen

Berichtdoor bertb » 07 jan 2014, 17:30

Nodo Mega 2560 R619 met breadboard, Nodo Uno met breadboard
Tiny Kaku met breadboard, DS18B20, AlectoV1, DHT11
bertb
 
Berichten: 268
Geregistreerd: 14 sep 2013, 14:00
Woonplaats: Amsterdam

Re: Pulsen tellen

Berichtdoor BazemanKM » 08 jan 2014, 08:55

Mijn blog over de Nodo:

Nodo-Mega V3.6, Product=SWACNC-MEGA-R596|WebApp lokaal (SWINWA-PROD-V099)|DHT-22, Dallas DS18B20, WS-3500|
BazemanKM
 
Berichten: 44
Geregistreerd: 08 aug 2012, 09:49

Re: Pulsen tellen

Berichtdoor bertb » 08 jan 2014, 10:52

Dit is het stukje script dat ik voor de pulsen heb gemaakt voor een satelliet Nodo.
Op de poorten 1 en 2 van de satelliet zit een optische sensor (een LDR en een IR reflectie)
Met Pulse gebruik je telkens twee variabelen.

Je moet wel de juiste Plugin (028) meecompileren.

EventlistWrite; Boot 14; Timerset 1,60;
EventlistWrite; Timer 1; Timerset 1,60;
EventlistWrite; Timer 1; Pulse 1,1;
EventlistWrite; Timer 1; Pulse 2,3;
EventlistWrite; Timer 1; VariableSend 1,RF; timer 1; delay 1
EventlistWrite; Timer 1; VariableSend 2,RF; timer 1; delay 1
EventlistWrite; Timer 1; VariableSend 3,RF; timer 1; delay 1
EventlistWrite; Timer 1; VariableSend 4,RF

Groet, Bert
Nodo Mega 2560 R619 met breadboard, Nodo Uno met breadboard
Tiny Kaku met breadboard, DS18B20, AlectoV1, DHT11
bertb
 
Berichten: 268
Geregistreerd: 14 sep 2013, 14:00
Woonplaats: Amsterdam

Re: Pulsen tellen

Berichtdoor pl0ink » 09 jan 2014, 01:55

Afhankelijk van je gas meter kun je deze trouwens ook prima met een reed relay of een hal sensortje uitlezen. Bv bij de veel gebruikte Actaris G4 RF1. Er zit een magneetje in het telwerk van het laatste cijfer. Je kunt er standaard opnemers voor kopen maar die zijn duur (20 - 60 euro heb ik gezien).

Ik heb getest met een simpel klein reed relay, en dat doet het prima. (telwerk loopt toch niet zo snel, dus is snel genoeg), haaks plaatsen boven het laatste cijfer.

voor positie zie plaatje, dat is trouwens de flukso sensor, vond ik dus te duur.

Afbeelding
pl0ink
 
Berichten: 26
Geregistreerd: 30 sep 2013, 21:48

Re: Pulsen tellen

Berichtdoor BazemanKM » 09 jan 2014, 09:20

Mijn blog over de Nodo:

Nodo-Mega V3.6, Product=SWACNC-MEGA-R596|WebApp lokaal (SWINWA-PROD-V099)|DHT-22, Dallas DS18B20, WS-3500|
BazemanKM
 
Berichten: 44
Geregistreerd: 08 aug 2012, 09:49

Re: Pulsen tellen

Berichtdoor rtenklooster » 09 jan 2014, 10:52

Normaal gesproken Rood op + zwart op wiredin.
rtenklooster
 
Berichten: 377
Geregistreerd: 04 aug 2012, 12:10
Woonplaats: Aduard

Volgende

Keer terug naar Nodo Hardware

Wie is er online?

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

cron