I recently stumbled upon this site which mentions, "In 1977, Forrest M. Mims reminds us in one of his "Engineer's Notebooks" that LEDs can also be used as photodiodes... " The page features a LED matrix being used as a multi-touch input but offers very little information. I still have no idea how to make his project, but I did learn how to use LEDs as light sensors.
This instructable goes over my experimenting with different kinds of LEDs as light sensors and making a dark activated night light using LEDs as sensors.
Step 1: What You Will Need
- random assortment of LEDs
- current limiting resistors for LEDs
- bright flashlight
- microcontroller (I used Arduino)
Step 2: How Does it Work?
LED as light sensor:
"A LED is simply a diode that has been doped specifically for efficient light emission and has been packaged in a transparent case. Therefore, if inserted into a circuit in the same way as a photodiode, which is essentially the same thing, the LED will perform the same function."
"A photodiode is a type of photodetector capable of converting light into either current or voltage, depending upon the mode of operation."
Step 3: Sensing
Step 4: Experimenting with different LEDs
Get a few different color LEDs and see how the color affects the voltage output.
(see second image)
The voltage readings for ambient light were consistent with the wavelength property explained above. IR had the highest voltage and blue had the lowest.
The max reading I get seemed to do more with the type of LED rather than the color. The red, yellow, and green ultra bright LEDs put out the most voltage.
Dark was .001 or 0 for all of them.
As for current, my multimeter read .000 amps. I'm sure it puts out some, but nothing I can measure. If someone has some equipment that can get a reading I'd be interested to know what it is.
Step 5: Add some programming
Straw diffuser on the blue leds for a dark detecting night light:
Note: This program is just a simple example I thought of and made in a few minutes. This is by no means the only thing you can do with this concept. The meat of this instructable is in the experimenting.
Now that you know how to use LEDs as light sensors go and make something awesome!