UK Vintage Radio Repair and Restoration Powered By Google Custom Search Vintage Radio and TV Service Data

Go Back   UK Vintage Radio Repair and Restoration Discussion Forum > General Vintage Technology > Components and Circuits

Notices

Components and Circuits For discussions about component types, alternatives and availability, circuit configurations and modifications etc. Discussions here should be of a general nature and not about specific sets.

Closed Thread
 
Thread Tools
Old 26th Mar 2017, 7:56 pm   #1
julie_m
Dekatron
 
Join Date: May 2008
Location: Derby, UK.
Posts: 7,735
Default Light Sensing Question

I need a way of sensing the LEDs on my electricity meters, and turning on an NPN transistor each time one of them flashes.

My key meter has an LED that is normally green, but pulses orange for a few milliseconds, 800 times per kWh consumed (or once for every 1.25 Wh; either way, up to a maximum of 11200 pulses per hour or about one pulse per 320 ms., in the worst case with absolutely everything switched on). Using a piece of red plastic as a crude filter, the green light gets absorbed by the red plastic, leaving only a pulse of red light shining through it.

My solar generation meter has a red LED that pulses 1000 times per kWh generated (or once for every watt-hour; up to 2250 pulses per hour) or stays on steadily during the hours of darkness when nothing is being generated. This looks as though it is part of a communications link, allowing a meter reader to take a reading directly with a special device, so the pulses may turn out to be modulated with data.

I want to use a Raspberry Pi to sense and log the times of each of these pulses, to build up a graph of my generation and consumption in the time domain.

I don't really need strictly to monitor the generation meter, since I can get at the telemetry from the inverter to determine how much is being generated. But the best way I can see to get a handle on my consumption is via the flashing LED -- it neatly provides electrical separation, and avoids the need to insert a sense resistor into the high-current cables, with all the potential ways that could go wrong.

So, what is the best device currently available at a sensible price, that I could use to read the flashing meter lights? Back in the Day, I probably would have started with the ORP12 Cadmium Sulphide light-dependent resistor; but there probably is something more modern, and with less noxious chemicals, available now ..... The sensor needs to be capable of being stuck over the LED with Blu-Tack.

Any ideas?
__________________
If I have seen further than others, it is because I was standing on a pile of failed experiments.
julie_m is offline  
Old 26th Mar 2017, 8:58 pm   #2
MrElectronicman
Heptode
 
MrElectronicman's Avatar
 
Join Date: Feb 2011
Location: Washington DC, USA
Posts: 619
Default Re: Light Sensing Question

How about a LDR out of an old photoelectric night light. I have several of them and they are about 5 x 4 mm in size and have dark resistance of several K and bright light resistance of 100R or so.

Would be easy to adapt to a Raspberry Pi with a couple of fixed resistors and they are quite small
__________________
David
MrElectronicman is offline  
Old 26th Mar 2017, 9:31 pm   #3
G6Tanuki
Dekatron
 
G6Tanuki's Avatar
 
Join Date: Apr 2012
Location: Wiltshire, UK.
Posts: 13,998
Default Re: Light Sensing Question

Rather than spending time/effort doing this yourself why not contact your utility-company and ask them what they can provide?

Whether it's a "smart meter" or one of the less-sophisticated clamp-on power consumption meters, for the last couple of decades there have been ~free~ options to log your consumption and send it via WiFi or 433.92MHz RF or similar to a remote display.

Example: http://www.theowl.com/

While I can appreciate the pure intellectual-exercise in "rolling-your-own", I must admit it does seem a bit like reinventing the wheel from first-principles when you could get a solution free/off the shelf and spend more time down the pub rather than hunched over a workbench.
G6Tanuki is offline  
Old 26th Mar 2017, 11:29 pm   #4
julie_m
Dekatron
 
Join Date: May 2008
Location: Derby, UK.
Posts: 7,735
Default Re: Light Sensing Question

Even a clamp-on current sensor is still going to need a wired-in voltage sensing connection, if only to get the power factor. And the data still has to be got into the R.Pi somehow for processing; so a ready-made proprietary solution is next to useless.

I don't have a night-light (or anything else with a light sensor, for that matter) to strip down for parts. Are such things still available?
__________________
If I have seen further than others, it is because I was standing on a pile of failed experiments.
julie_m is offline  
Old 26th Mar 2017, 11:36 pm   #5
Alistair D
Nonode
 
Alistair D's Avatar
 
Join Date: Jan 2010
Location: Edinburgh, UK.
Posts: 2,008
Default Re: Light Sensing Question

http://www.finntestelectronics.com/product/finn/

In a past life I used to use these sensors to detect the displayed colour and intensity of bi-colour LEDs in our automated test equipment. Basically they were photo diodes with a colour filter built in. The output was a voltage in proportion to the LED intensity.

Alas I can no longer remember how much they cost but they were 100% effective

Al
__________________
I won't tell you how I discovered that.
Alistair D is offline  
Old 26th Mar 2017, 11:38 pm   #6
broadgage
Nonode
 
Join Date: Jan 2010
Location: North Somerset, UK.
Posts: 2,129
Default Re: Light Sensing Question

Most clamp on current sensors for monitoring domestic energy use are NOT used in conjunction with any wired connection to sense the voltage.
They are therefore very inaccurate on loads with poor power factor, and also somewhat inaccurate under varying supply voltages. They are in effect AC ampere meters and AC ampere hour meters and not true wattmeters or kilowatt hour meters.
The difference between 10 amps at 220 volts and 10 amps at 250 volts is significant, but both are within statutory tolerances.
broadgage is offline  
Old 27th Mar 2017, 5:33 am   #7
Diabolical Artificer
Dekatron
 
Diabolical Artificer's Avatar
 
Join Date: Jul 2009
Location: Sleaford, Lincs. UK.
Posts: 7,662
Default Re: Light Sensing Question

Found these at 50p - http://cpc.farnell.com/webapp/wcs/st...&storeId=10180 and these - http://cpc.farnell.com/optical-slot-...ectric-sensors

I have a couple of photo diode's you can have to play with Julie. I havn't experimented much with them apart from connecting them up to a diode checker and shining a light at them, they're very sensitive.

The other thought is using one half of an opto-coupler.

Andy.
__________________
Curiosity hasn't killed this cat...so far.
Diabolical Artificer is offline  
Old 27th Mar 2017, 8:37 am   #8
trsomian
Hexode
 
Join Date: Oct 2010
Location: Box End, Beds. UK.
Posts: 271
Default Re: Light Sensing Question

LEDs work as photodiodes, so a red encapsulated LED will be most sensitive to red light, green encapsulated ones most sensitive to green light. Whether or not the encapsulation would be an effective enough filter for your application I do not know, but it might be worth an experiment
trsomian is offline  
Closed Thread




All times are GMT +1. The time now is 9:13 pm.


All information and advice on this forum is subject to the WARNING AND DISCLAIMER located at https://www.vintage-radio.net/rules.html.
Failure to heed this warning may result in death or serious injury to yourself and/or others.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright ©2002 - 2023, Paul Stenning.