Low-cost sensing and communication with an LED

led touch

LEDs are extremely common in electronic devices. They are used as light emitters, but can also be used as light detectors since they are photodiodes. By quickly switching between light emitting and detecting, you can use the LEDs to determine the ambient lighting and even do bidirectional communication. MERL has a good paper covering the basics of how this system works and how they used it as a "last-centimeter" communication device. The system can be implemented using one LED, a resistor, and two I/O pins. So, it could be used cheaply in almost any device. The microprocessor quickly switches the LED between emitting light, detecting light (LED acts as a charging capacitor), and measuring the discharge rate of the LED to determine light level. Jeff Han has a neat video demo of how this system can be used as a proximity sensor.

UPDATE: [hawkeyeaz1] pointed to a blog covering one person's investigations into LED sensors.

[thanks branen]

Recent Posts

Reader Comments

(Page 1)
Next 20 Comments

Add your comments

Please keep your comments relevant to this blog entry: inappropriate or purely promotional comments may be removed. Email addresses are never displayed, but they are required to confirm your comments. To create a live link, simply type the URL (including http://) or email address and we will make it a live link for you. You can put up to 3 URLs in your comments. Line breaks and paragraphs are automatically converted — no need to use <p> or <br> tags.

Your name (required):

Your email address (required, will not be shown to the public):

Your site’s URL (optional):

Do you want us to remember your personal information for next time?
   
Add your comments:

hack a day serves up a fresh hack each day, every day from around the web and a special how-to hack each week.

send us your hacks

have a hack you'd like to see here? tell us about it

Hacks
aibo hacks (1)
cellphones hacks (80)
cons (78)
contests (28)
daily (114)
digital audio hacks (17)
digital cameras hacks (72)
downloads hacks (16)
gameboy hacks (34)
google hacks (5)
gps hacks (35)
HackIt (20)
handhelds hacks (61)
home entertainment hacks (146)
home hacks (21)
how-to (16)
ipod hacks (75)
laptops hacks (51)
laser hacks (32)
macs hacks (40)
misc hacks (823)
news (191)
pcs hacks (146)
peripherals hacks (185)
playstation hacks (52)
podcasts (8)
portable audio hacks (43)
portable video hacks (27)
robots hacks (108)
roundup (3)
security hacks (55)
solar hacks (2)
tablet pcs hacks (6)
tivo hacks (6)
tool-hacks (10)
transportation hacks (90)
wii hacks (18)
wireless hacks (84)
xbox hacks (51)

resources

rss newsfeeds

Powered by Blogsmith