I want my rpi zero to know if a wire to an LED on an appliance is either getting current or not, no need to measure more than on or off.
What's the best way to safely transfer this information to the rpi?
A camera.axel77 wrote:What's the best way to safely transfer this information to the rpi?
No you can't do that LEDs do not produce voltage if you shine light on them even form another LED.Heater wrote: You could even use just another LED as a photodetector to detect if your LED is on.
I have not tried this but I suspect that a red LED collecting light from another red LED will generate enough voltage to move a Raspi GPIO input from 0 to 1.
Yes but its true:pcmanbob wrote:No you can't do that LEDs do not produce voltage if you shine light on them even form another LED.Heater wrote: You could even use just another LED as a photodetector to detect if your LED is on.
I have not tried this but I suspect that a red LED collecting light from another red LED will generate enough voltage to move a Raspi GPIO input from 0 to 1.
LED = Light Emitting Diode
ok so you get a small voltage from a very bright light as you say a novelty using it to detect another led being on not going to work realistically.Mortimer wrote:
Yes but its true:
http://makezine.com/projects/make-36-bo ... ect-light/
http://www.instructables.com/id/LEDs-as-light-sensors/
Bit of a novelty granted. There are better ways to detect whether light is on or off.
an LDR may well work but the one you linked to is for an Arduino and operates at 5v you do not want to connect that directly to you 3.3v gpio or it will damage the gpio.axel77 wrote:The type of appliance is a washing machine and dryer. Was planning on taking the shroud off the display and wiring into the small green led that indicates power (the warranty/guarantee isn't an issue since they passed a year ago). Original idea was to sugru a LDR sensor over the led and get the reading that way, but thought it might be easier to simply daisy chain the zero and get a reading without using the LDR.
In all honesty I haven't yet opened up either cabinet so I don't know what I'll find behind the display shroud. Thought I'd ask if it was even possible before attempting.
To the original idea, I never thought that it might not be possible to have a sensor read light from an LED. Would this LDR module not work for my purposes?
It says that the working voltage is 3.3V-5V so it should be ok.pcmanbob wrote:an LDR may well work but the one you linked to is for an Arduino and operates at 5v you do not want to connect that directly to you 3.3v gpio or it will damage the gpio.
Reading your answers to soma of the posts ,leads me to that you have no basic knowledge of electronicsaxel77 wrote:The type of appliance is a washing machine and dryer. Was planning on taking the shroud off the display and wiring into the small green led that indicates power (the warranty/guarantee isn't an issue since they passed a year ago). Original idea was to sugru a LDR sensor over the led and get the reading that way, but thought it might be easier to simply daisy chain the zero and get a reading without using the LDR.
In all honesty I haven't yet opened up either cabinet so I don't know what I'll find behind the display shroud. Thought I'd ask if it was even possible before attempting.
To the original idea, I never thought that it might not be possible to have a sensor read light from an LED. Would this LDR module not work for my purposes?
How right you are, I've sat and watched electrolytic capacitors burst with the wrong voltage across themMortimer wrote:And blow a few things up along the way!
That's fine when its low voltage but when you start messing with mains at 240vac it can be fatal and often is, axel77 is talking about opening up a washing machine were you have water and electricity a bad combination when you know what your doing, deadly for an amateur.boyoh wrote:How right you are, I've sat and watched electrolytic capacitors burst with the wrong voltage across themMortimer wrote:And blow a few things up along the way!
What a stink. We all make mistakes ,when learning, AND STILLDO.
Regards BoyOH