Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

LEDs as sensors!

Loading...

Sign in or sign up now!
54,271
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 16, 2008

This project uses very simple off-the-shelf high-brightness red LEDs.

The theory is that each and every LED (even the standard ones) act as capacitors when it's connected backwards, and the speed at which it discharges depends by the light it "sees".
Therefore, timing the discharge one can calculate how much light was there in the first place. A quicker way is to simply calculate the voltage drop provided by the LED when it's disconnected, which is what I am doing.

The two bright LEDs are alternating between forward bias (emitting), reverse bias (charging) and high impedance (discharging).
The ADC is triggered shortly after putting them into hi-Z mode, and uses a 1.5 V reference generated by an LM317.

MCU: ATmega8 running at 8 MHz internal oscillator); binary size: 534 bytes.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (51)

Sign In or Sign Up now to post a comment!
  • Thanks for that - wanna make a touch remote controller for Winamp, for when I am in the shower (will be sealed in a box, with windows for the leds to make it water resistant). Gonna use a picaxe, then hack a cheap usb numeric keypad (unsolder keys & replace dem with relays) to give an input for next or last track or volume up or down. Coool!

  • will this be affected by daylight...and darkness?...

  • hi im looking to just fade 1 led up and down by this type of sensor...any ideas..i want to be able to fade a led up and down with my foot?... :)

  • can you do the same with Flexi Force Sensors

  • Type PRIZE before youtube and hit enter

  • 00:54 OVNIS!

  • can you please give us the schematic diagram of this project and it's components? thank you in advance!

  • my friend could you tell me how to do this proyect please

  • very nice, good job!

  • I have few Soviet transistrors in metal. If remove a part of its body they became a fototransistors. Sensitivity depends of its amplification characteristics.

View all Comments »
Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more