Infrared Detection on Electricity Meter Impulse

Hi All,

I'm currently trying to build a device to measure the impulses sent from my electricity meter. I've built the sketches and it works fine, it can detect a flash of light, but on my meter, it doesn't detect anything. After reading the manual of the meter I'm starting to think it's an IR light source rather than just a red led as they describe.

Is there something that I can do to my photoresists to make it detect IR flashes? or is there another device like a photoresistor I can use in place of it?

Hope someone can help :slight_smile:

Can you see the LED flash?

.....if so then it isn't Infra-Red.

I have stood and watched the LED for a few minutes at a time and can not see it flash. This is why I think its an Infra red. :slight_smile:

Mine flashes in a visible red colour, but the flash is very brief.

A detector would need to have quite a fast response time to see mine. That would rule out a Light Dependent Resistor. A Phototransistor is faster and a Photodiode faster still.

What kind of sensor do you have?


Try putting your phone camera infront of the LED and see if you can see the IR flashes.

Tom... :grinning: :+1: :coffee: :australia:

Handy hint: You can check whether your phone camera will detect Infra-Red by looking at an IR remote control with it.

@JohnLincoln from what I can read in the document of the "EFR SGM-C4 Meter" it says the light should blink for 80ms each time. I created the sketch to just output the light level continuously to grab this. It works flawlessly when I flash a torch light over it and responds instantaneously. I assume if it was just a flash for 90ms it would register. Sensor is a bog standard 5506, GL5506 LDR.

@TomGeorge I thought of this too, but most modern phones have an IR filter now. I tried everything, might have to dig out an old Nokia from the depths of the basement :slight_smile:


An LDR is not going to respond quick enough, you need a phototransistor.

Tom... :grinning: :+1: :coffee: :australia:

As well as not responding very quickly, an ordinary CdS LDR is not very sensitive to Infra-Red.
LDR Spectral Response

Infra-Red is from 700nm to 1mm wavelength.

No. Use a photodiode, or in a pinch an IR LED in photovoltiac mode.

IR LEDs are wavelength sensitive when used as photodiodes, and there are two popular wavelength ranges, ~850 and ~940 nm. Try one of each, keeping in mind that the optimum response is to light with wavelength 25-50 nm shorter than the LED emission peak.

@jremington would something like this work?

Seems to cover the right wave lengths.

Thanks for the push in the right direction! :slight_smile:

The " OSRAM Fotodiode TO-39 1100 nm 55 ° BPX 61" for 12,60 Euros would work fine, but seems a bit expensive.

If the flash duration is 80 ms, you may be able to use the Arduino analog read function (use the internal 1.1V AREF) with the naked diode in photovoltaic mode. Note the "reversed polarity" compared to the diode symbol:

Otherwise, you may need an op amp transimpedance amplifier:



It will be very helpful to use an IR filter or other means of excluding extraneous light.

Thanks all for the great advice!

I’ll get one ordered and update you on my progress :smile:

You could also search the forum for Stromzähler. There have been a number of attempts to interpret data from these devices by German forum members.

You may need to adjust the values to suit your photodiode, but I have had this working for about 3 months now with no issues. Almost any small signal npn transistor will do.

I've tried with a red LED as detector without success.

Fill in some details - what arduino module you are using, what outcome you want etc.

I'm logging monthly data to spiffs, reading with ftp, and displaying results on a web page.

I’ve “ obtained” one of these . Included here to show the meter usually has a magnet so this device will just hold in place and stop outside light .
There is a visible led ( on mine 1pulse = 1/100 KWh) and an IR pickup for programming the meter .


Hi All,

Sorry for the delay in getting back, Im still waiting the delivery of the photodiode, but in the meantime, I managed to find an old phone and find the ir output, which ill be honest confused me.

On my meter in the documents (in German) :smiley:

I was expecting the "3 - LED Impulskonstante" to flash the usage, but with my phone I can see the IR flash on the second LED on group 5. I also tried it with the photoresister and it actually picks up the flash.

I assume that's actually correct as the device @hammy suggested would connect on point 5.

So whats point 3 for? :confused:

Ive also updated the current setup to be a nodemcu board + 10k resister and photoresister (partly for the wifi connection) This then sends the data to influxdb which I can then graph via Grafana.

On my meter the led at 5 flashes every 1/100kwh and I don’t have the second led at 3.
Position 5 is the data port and can give other data .

I would suspect you can use position 5 or 3 , need to try it really ! I would use a phototransistor as the response is quicker

As I said on my meter there is only the one led available

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.