jump to navigation

LED Sensing ~ Bi-Directional LEDs – Part 2 Sunday, 3 May, 2009

Posted by Taha in Hardware, My Progress.
trackback

So to continue on with my last post … Now that we have this photo current what can we do with it, how can we make use of it, to detect inputs. The nature the LED is such that the photo current is very small, due to the geometry of the PN junction, which is not designed to maximise to act as a photo diode. However using a small trick we can integrate all photo currents over a set period of time, and make the diode act as a capacitor.  We  this by charging up the diode  and then seeing how long it takes the photo current to discharge and go to a logic zero.

However this can take a long time since going to logic zero will take time, an easier way to detect input is simply by measure the voltage across it, after you have given it a short time to discharge. What this will give you is capacitive charge held by LED, you can use this to determine whether an input was created or not.The LED is not an ideal device, that is, not all of the discharge is caused by photons, other causes include thermal noise and leakage. So given enough time the charge will decay without any light.

Finally, since LEDs are not designed to be used as light sensors, the light sensing ability varies from LED to LED. There are some types that are better than others.  I’ve found Red LEDs are the best as they will be sensitive to more colours of light where as blue LEDs will be sensitive to only blue light. Worst of all are white and IR LEDs most dont work effectivly to obtain any significant reading. The junction size is also important so the smaller an LED is the more sensitive it will be as the capacitance is smaller and it takes less photons to discharge it. Finally a clear package will let more light in than a coloured one. If you want to use LED light sensors as touch sensors then surface mount LEDs are probably best, since they have a wider FOV and are in a clear package.

Comments»

No comments yet — be the first.


  • Multi-Touch Blogs

  • Justin
  • Paul D'Intino (Fairlane)
  • Seth Sandler (cerupcat)
  • Bridger
  • David Wallin (whitenoise)
  • Donovan Solms (donovan_sa)
  • Elliot Franford (efranford)
  • Joroen Braspenning
  • Laurence Muller (falcon4ever)
  • Lynn Marentette
  • Mark van Wijnen
  • Mike (miketavius)
  • Mike Wags
  • Multitouch-Barcelona
  • Pawel Solyga (solydzajs)
  • Tim Roth
  • Tag Cloud

    aesthetic plans app application AS3 bandpass filter begining C# cam Camera concept conceptual design design electrooptical Hardware IR keyboard Leds lens media app mediaapp Multi-touch multitouch Nasa NWW Osyris Patch Photo photo app pictures plans screen Software spectrum touch touchlib touchSpectrum update video video app vision visualisation Webcam welcome World Wind xbox 360
  • Categories

  • Recent Posts

  • Archives

  • Pages

  • Meta

  • Blog Stats

  • Current Viewers

    hit counter Display Pagerank
  • Category Cloud

    Acrylic General Hardware IR Frame Leds My Progress Software Webcam