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

nodo-domotica.nl

Pulsen tellen/meten

Voor hulp om je Nodo aan de praat te krijgen

Pulsen tellen/meten

Berichtdoor OCMEROS » 13 maart 2012, 17:23

Ik ben e.e.a. aan het proberen met de beta versie van de mega nodo en de webapp. Ik heb nu een sensor op mijn draaischijfmeter gemonteerd. Deze heb ik op de IR ontvanger pin van de nodo aangesloten. De sensor geeft iedere rotatie een negatieve pulse. Ik begreep van de NodoWiki pagina dat je gebruik kan maken van de PulseFormula om pulsen te tellen of de tijd tussen de pulsen te berekenen.

Klopt het dat ik het als volgt moet uitvoeren?
Mijn meter geeft 600 pulsen per kWh.

Meten verbruik per dag:
Formule1: Variable = ( Pulse / 600 ) * 1 + 0
Dus invoeren: PulseFormula Count, 1, 600, 1, 0

Meten verbruik op dit moment:
Formule2: Variable = ( 3600 / Pulse ) * 1 + 0
Dus invoeren: PulseFormula Time, 2, 3600, 1, 0

En hoe krijg ik vervolgens de waardes naar de webapp gestuurd?

Alvast bedankt voor de reactie's.
OCMEROS
 
Berichten: 53
Geregistreerd: 21 nov 2011, 16:38

Re: Pulsen tellen/meten

Berichtdoor mdegraaf » 14 maart 2012, 23:00

mdegraaf
 
Berichten: 81
Geregistreerd: 18 okt 2011, 22:03

Re: Pulsen tellen/meten

Berichtdoor h143 » 14 maart 2012, 23:35

Dit wil ik dus ook met de nodo doen wat voor sensor heb je hier voor gebruik?. Kan ik ook met 1 nodo zowel de elektriciteit en gas uitlezen?
Arduino Mega 2560
Arduino Ethernet shield
Arduino uno
Nodo 1.0
h143
 
Berichten: 137
Geregistreerd: 05 nov 2011, 10:08
Woonplaats: Hoogkerk

Re: Pulsen tellen/meten

Berichtdoor Sjoerdp » 15 maart 2012, 11:51

Sjoerdp
 
Berichten: 106
Geregistreerd: 01 okt 2011, 17:20

Re: Pulsen tellen/meten

Berichtdoor OCMEROS » 15 maart 2012, 13:54

@h143: De sensor die ik hiervoor gebruik is de http://www.dealextreme.com/p/intelligen ... sor-121352
Ik heb nog niet gekeken of deze ook op mijn gas meter e.d. werkt.

@mdegraag: Bedankt voor de informatie. Ik kan nu iig weer even verder. Ga het in ieder geval proberen voor het totaal verbruik.

@Sjoerdp zoals je zegt is nu eigenlijk het actuele verbruik het verbruik tussen de 2 laatste pulsen van de afgelopen minuut. Eigenlijk zou je eigenlijk voor het actuele verbruik een berekening maken van hoeveel pulsen er de afgelopen minuut zijn geweest en afhankelijk daarvan de waarde iedere minuut naar de webapp sturen.
OCMEROS
 
Berichten: 53
Geregistreerd: 21 nov 2011, 16:38


Keer terug naar Nodo aan de praat krijgen

Wie is er online?

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