Using Pulse input and CT input at the same time?

I've looked into the code and it's easy to glue it all together, but has anyone actually used the emonTX with Pulse input and CT inputs at the same time? Does the interruption of the pulse input counting affect the radio transmissions or the CT measurements?

I'm thinking of using the pulse input to read my water meter, but before I dig up the front lawn to lay cable and drill holes I thought I'd ask...

Cheers,

Mark

abalam's picture

Re: Using Pulse input and CT input at the same time?

I would be interested in an answer on this too...

Do you have ever tested ?

Petrik's picture

Re: Using Pulse input and CT input at the same time?

Yes, have had pulse input and CT input running for about an year.

You can find a working code that I posted on the forum to  count rpm of a heat pump. If remember correctly the examples given in building blocks are not really good for pulse reading at any higher frequencies as millis inside interrupt is not accurate. Basic principle to have accurate pulse count is to have an interrupt that triggers counter++; and then count millis() between sending rfm12v packages to get pulses per minute/h (i.e. Liters per hour) or so that is reported to emoncms.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.