element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Dev Tools
  • Products
  • More
Dev Tools
Forum Touch interface by detecting light levels in a single LED
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Dev Tools to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 4 replies
  • Subscribers 79 subscribers
  • Views 1039 views
  • Users 0 members are here
  • technologies
  • lighting
  • led
  • led_lighting
  • leds
Related

Touch interface by detecting light levels in a single LED

Catwell
Catwell over 15 years ago

Using two digital i/o pins a microprocessor can be used to both emit and detect light through a LED. The concept is simple, switch the biasing of the diode for each condition depending on the circuit layout of the diode. Since the LED is a photodiode, sensitive to light that is above the spectrum at which it displays, it can be polled for the current light level it sees.

 

imageimage

Then you simulate the biasing of the LED in the microcontroller to emit and detect. Depending on the number of LEDs, even a low frequency uC could handle the job.
imageimage
The video attached to the post demonstrates how fast and accurate this interface can operate. Also attached is a document on building a touch LED interface, where the above Figure clips were taken from. My immediate idea is a fun interactive light wall for advertisement. But the versatility of this simple input has no bounds. Buttons for a device, a simple touch screen, a hand reconfigurable digital sign, to just name a few possibilities. But does it work in the dark?
 
See also "Engineer's Notebooks" 1977, By Forrest M. Mins. Mins describes how an LED can be used as a photodiode.
 
Cabe
Attachments:
TR2003-35.pdf

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    Former Member over 14 years ago

    Neat idea, that I hadn't come across before, thank you.

    Using an analogue input connected to the junction between the LED and the resistor, you might also measure temperature when the diode is forward biased....

     

    Andy

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Catwell
    Catwell over 14 years ago in reply to Former Member

    Dogmagnet,

     

    Can you post a temperature measuring schematic based on your idea?

     

    Cabe

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Catwell
    Catwell over 14 years ago in reply to Former Member

    Dogmagnet,

     

    Can you post a temperature measuring schematic based on your idea?

     

    Cabe

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Former Member
    Former Member over 14 years ago in reply to Catwell

    The forward voltage of an LED (or any diode) is a function of its junction temperature, decreasing about 4mV per degree Celcius.  So when a calibration curve exists, Vf => Tj.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube