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?
@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
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.
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:
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 .
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?
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.