Pulse Counting

Hi All,

we have a solar generation meter. (Rayleigh Instruments RIHXE12R) Reading the manual it has a pulse counter led also it has a wired output, is it possible to wire this directly to an emonpi?

Thanks
Paul

It should be possible, but the manual is far from clear. You will need to do a basic check.

Using a multimeter, with the leads connected to the pulse output with the polarity shown, check for any indication of a voltage. I would expect that there will be none.
If that is the case, you can connect the pulse terminals to the pulse input of your emonPi.
On the RJ45 I/O connector (the one on the same end as the c.t. jack sockets), connect the meterā€™s pulse ā€˜+ā€™ (5) to the RJ45 pin 6 and the meterā€™s pulse ā€˜-ā€™ (6) to the RJ45 pin 5. (Coincidentally crossed over, just to be confusing!)

3 Likes

Hi @Robert.Wall

Thanks for your help. it work great.

Paul

Iā€™ve got the same meter and was just searching for info on where to stick the pulse meter, but direct wiring seems a better option. Iā€™m a total noob at this (the OEM kit only arrived yesterday!).
Have you got any photos of what you did for direct wiring?
Many thanks


This is our meter for our ASHP which I want to monitor with OEM. Iā€™m not sure where to stick the pulse meter. Presumably on the red flashing LEDs (circled yellow on the photo), but I wondered what the other LEDs are for (circled red).
Although if I can direct wire a connection, I donā€™t need the led pulse meter anymore.

Welcome, Charles, to OEM.

pulse meter?
I think you mean the optical pulse detector? This: Optical Utility Meter LED Pulse Sensor - Shop | OpenEnergyMonitor

OK, I now see your picture. Itā€™s the yellow-circled one. The others are likely to be for resetting/calibration (and that data will be encrypted!).

I think the printing says ā€œ1000 pulses/kWhā€ - youā€™ll need that to calibrate it in emonCMS. Check before you cover it up. :wink:

For direct wiring, youā€™ll need to look for a pair of smallish terminals. They should be clearly marked + and - . Youā€™ll need to unscrew that cover and BEWARE, that will expose live terminals. If youā€™re at all unsure, post another picture or use the optical sensor.

What did you order?

Is it just to measure this meter?

Thatā€™s the one, optical pulse detector.
Many thanks. Iā€™ll look for wiring terminals on the meter and see if it looks straightforward. Otherwise Iā€™ll use the optical pulse detector.

Iā€™ve ordered one emonpi solar PV, plus a emonTx.
The tx is for the ASHP meter. Emonpi going on main consumer unit board to monitor solar energy production.

If I can get all this kit working, next thing I want to look into is a solar diverter for the immersion element (all that hardware is next to ASHP).
ASHP is a nibe f2040 with SM020

Welcome

The terminals to hardwire are under the screwcover make sure you turn off the power before you open it as it will be live at 240v

If you want to use the pulsecounter use the red led (yellow circle) the red circle is for a handheld device that can read the meter/program it

1 Like

great, thanks paul

hi,
So Iā€™ve managed to get the EmonPi (solar PV kit) and EmonTx installed. I havenā€™t had much time to explore it all yet, but it seems to be working correctly. Itā€™s certainly not ā€˜plug & playā€™ equipment (not that i was expecting that) but impressive how well it works and how expandable and detailed the system is. Iā€™ve got the EmonTX set up at the ASHP, currently measuring: total power used (CT clip), power used by immersion backup (CT clip), and pulse counting from wired connection on the ASHP electricity meter to RJ45 plugged into the EmonTX.
One thing Iā€™d like to do next is to install some temp sensors (DS18B20). I plan to buy a breakout terminal so I can add multiple temp sensors.
I have a couple of questions:

  1. Can I wire a pulse sensor (either optical, or direct wired from the meter) into the breakout board (emonPi / emonTx RJ45 to Terminal Block Breakout for DS18B20 - Shop | OpenEnergyMonitor) alongside temp sensors? Or is the breakout terminal board only for temp sensors?
  2. I see itā€™s possible to wire optical pulse sensors to IRQ 1 rather than use the RJ45 connection. The wiring diagram for this show 4 screw terminals. My electricty meter has only a (+) and (-) terminal for pulse sensing. So Iā€™m guessing I need to wire the (+) to screw terminal 4 and the (-) to screw terminal 3 on the IRQ 1. Is this correct? (i checked for any voltage from the electricity meter (+) and (-) pulse output and there was none, so I hope I donā€™t need any resistors?

Yes, the breakout board is just a number of sockets, the pulse and temperature are on different pins and all pins are paralleled - and the corresponding pins are also paralleled with the screw terminals. (So in fact IRQ1 is on the screw terminals and on pin 6 of the RJ45.) The only difference is the power to the temperature sensors on the screw terminals of the emonTx is switched, it is permanently on for the RJ45 socket for both the emonTx and the emonPi.

That is correct - but the internal pull-up on the pulse input is quite weak, if it doesnā€™t work, youā€™ll need to help it with a medium-value resistor between screw terminals 2 (3.3 V) and 4 (IRQ1). The value will depend on what your meter wants - Iā€™d guess anything between 1 kĪ© and 10 kĪ© would work (the internal pull-up is approx. 40 kĪ©).

1 Like

Ah, that all makes sense. Thanks Robert.
There isnā€™t much info on the requirements in manual for the electricity meter (link on first post). Will it be easy to tell if I need to add in a resistor from terminal 2? e.g. will I not get any signal from the electricity meter if the ā€œinternal pull-upā€ is too weak, or could i get missing or bad values?
Iā€™ve got a load of resistors knocking around somewhere.
If i get the resistor wrong, can i do any damage to A) myself, B) electricity meter, C) EmonTX?

Sorry for perhaps daft questions. Iā€™m not any kind of electrical engineer.

Thanks

Youā€™ll either get no pulses or missing ones.

Probably not yourself. Just maybe the electricity meter, but unless you are using a 5 V USB power supply, the emonTxā€™s power supply is likely to politely decline and the whole emonTx will stop working before you damage the meter - the emonTx supplies 3.3 V and the meter should accept 5 - 30 V, according to the S0 standard.

1 Like

Looking at the output from the pulse counting it looks like i do need to add a resistor as you suggested.
Iā€™ve found the datasheet for the meter which says the pulse output terminals are ā€œS0-Standard DIN 43864ā€ (see attached)
RIHXE12R_Ver_01_2015_04.pdf (747.3 KB). So according to the info on this page: Monitoring energy via utility meter pulse output ā€” OpenEnergyMonitor 0.0.1 documentation, and what you said, I need to add a 1K Ohm resistor between terminal 2 and 4 on emonTX. So, to double check:
terminal 2-> terminal 4 with resistor,
terminal 3-> -ve meter terminal,
terminal 4 ā†’ +ve meter terminal.
Do you think itā€™s worth trying a 10K resistor first or just bung a 1K in?

That looks about right.

If you have a selection of values, try 10 kĪ© and see if it works - it should do, especially if itā€™s not going any distance (i.e. feet rather than 10s of yards). If itā€™s not reliable, go to 3.3 kĪ© or so, and only end up at 1 kĪ© if needed - thereā€™s no point in taking too much current if you donā€™t need to.

1 Like

great, thanks. Iā€™ll try a 10K and see what it gives. I only have 10K and 1K. I guess i could put two or three 1K resistors in series to give me 2K or 3KĪ©

Or 2 Ɨ 10 kĪ© in parallel to give you 5 kĪ©. :smiley: