The function of an LED is to emit light when the device is forward biased within its operating range, and it’s known by most people that an LED can also operate as a photodiode. Perhaps some readers are also aware that a reverse biased LED also has a significant capacitance, to the extent that they can be used in some RF circuits in the place of a varicap diode. But how do those two unintentional properties of an LED collide? As it turns out, an LED can also behave as a light dependent capacitor. [Bornach] has done just that, and created a light dependent sawtooth oscillator.
The idea is simple enough, there is a capacitance between the two sides of the depletion zone in a reverse biased diode, and since an LED is designed such that its junction is exposed to the external light, any photons which hit it will change the charge on the junction. Since the size of the depletion zone and thus the capacitance is dependent on the voltage and thus the charge, incoming light can thus change the capacitance.
The circuit is a straightforward enough sawtooth oscillator using an op-amp with a diode in its feedback loop, but where we might expect to find a capacitor to ground on the input, we find our reverse biased LED. The video below the break shows it in operation, and it certainly works. There’s an interesting point here in that and LED in this mode is suggested as an alternative to a cadmium sulphide LDR, and it’s certainly quicker responding. We feel duty bound to remind readers that using the LED as a photodiode instead is likely to be a bit simpler.
This project is part of the Hackaday Component Abuse Challenge, in which competitors take humble parts and push them into applications they were never intended for. You still have time to submit your own work, so give it a go!
Tape a forward biased LED to it and get a voltage controlled capacitor?
Tape a forward biased LED with programmable current driver to it and get a digitally controlled capacitor?
Think of the diode PN junction as a sponge. When you apply a reverse voltage, the sponge gets “emptier”, impacting how much water it can hold. The quicker you push (change the voltage), the more it “reacts,” acting like a capacitor. Similar trick is used in old russian radars to generate microwave radiation.
Next step: use two LEDs aimed at each other, and figure out what voltage is needed on the emitting LED to make different musical pitches. Then make an amplifier circuit to turn 1 V / octave into the right curve, and you’ve got yourself a wacky new Eurorack module.
Before one of the typical Hackaday commenter pedants comes out: current, whatever, you know I assumed there’s a series resistor.