The other option of course is a pulse output. If you can find out the name of the sensor you will be using I can try to advise on the best approach. A pulse output would work well with the EmonTx if that is an option…
It’s a pair of Mitsubishi-branded VVX20 on a couple of Ecodan ASHP
(there’s another post from Jan this year from George (GCK303) assembling the same kind of project. In the other post there’s reference by Robert to “There’s a diagram in section 5.1.1 of the manual”, but I’m not sure what he is referring to). I’ve asked George today if he has progressed…
I’m not sure if I am getting anything sensible out of it, as it’s a Mitsubishi one, where the face plate states “do not use” for the pulse.
However, I’m not clear of the config setting I need for the Continuous Monitoring firmware for the EmonTx3.4. If my max flow is 50 litres / min, and the sensor is one pulse / litre, is it correct to set the minimum period as 60/50 = 1200ms?
(TBH, I’ve tried a range of numbers, with no impact - on the serial port I’ve just been getting a slow increment in steps of 1, from 1 to 6 in about 20 mins - so I suspect the ‘do not use’ info on the sensor means just that, though why would they also print a calibration on the faceplate?)
Hello @dlongson if the Ecodan is already using the pulse output, Im not sure that you can use it with the EmonTx as well, the voltage supplied by the EcoDan might be different and the ground of the EmonTx will not be the same ground as the EcoDan control unit… I would be weary of interfering with the EcoDan’s measurement system as it may affect the heat pump operation…
No, the sensor is no longer connected to the ASHP in any way - the installer disconnected it as it was no longer needed, and so that I could use it in this project.
Alternatively I could use the voltage output, but am I right in understanding that I need the Heatpump Monitor board rather than the EmonTx3.4 as there are no analogue I/p on the EmonTx that I can use for this purpose?
Essentially, the minimum pulse period is a lockout in an attempt to inhibit spurious counts arising from mechanical contact bounce. An electronic output won’t have contact bounce, so you should be able to set the setPulseMinPeriod to zero.
“weary”? I think he meant wary.
@TrystanLea Damien says the sensor is no longer connected, so I don’t see why it won’t work with the correct interface, assuming that he has the “open collector frequency output” option.
Having found the manual now…
You will need to have a 5 V d.c.version as well as the frequency output.
You can connect pin 3 (GND) to the emonTx GND, and pin 1 (UB) to the emonTx 5 V. You will need to use a 5 V d.c. USB adapter to power the emonTx.
The pulse output (pin 4) goes to the emonTx pulse input.
If you have the “NPN” version, the internal pull-up is not strong enough given the possible 10 kΩ load of the sensor, so you will need to add a “RL” (Fig. 5.1.1) of say 4.7 kΩ between the pulse and the 3.3 V output of the emonTx.
If you have the “PNP” version, then “RL” will need to be a pair of resistors to divide down the 5.5 V so that no more than 3.3 V is applied to the emonTx pulse input. I suggest 1.8 kΩ connected to the meter pulse output pin 4, 3.3 kΩ connected to the meter GND (pin 3), the junction of the two being the pulse output to the emonTx.
Correct, there is no analogue d.c. input available.