Author Topic: Magic LEDs  (Read 935 times)

0 Members and 1 Guest are viewing this topic.

Offline wholderTopic starter

  • Regular Contributor
  • *
  • Posts: 72
  • Country: us
    • Wayne's Tinkering Page
Magic LEDs
« on: December 07, 2018, 12:30:14 am »
I've posted a YouTube video that shows how to program an Arduino to “Magically” switch an LED on and off by shining a keychain light at it. 

   

The video describes how the technique works for one LED as well as for a set of 8 LEDs, each of which can be switched on and off independently.  There also a bonus effect shown at the end of the video.  Complete source code is available for all 4 examples and can be downloaded from a web page that’s linked in the description for the video.  Enjoy!

Wayne
 
The following users thanked this post: kizmit99

Offline chris_leyson

  • Super Contributor
  • ***
  • Posts: 1542
  • Country: wales
Re: Magic LEDs
« Reply #1 on: December 07, 2018, 01:28:51 am »
Thanks Wayne that's really neat. It would never have occurred to me to use a LED's junction capacitance to measure ambient light so I've learnt something new today, thanks. Given your YouTube video a thumbs up.
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: Magic LEDs
« Reply #2 on: December 07, 2018, 01:52:19 am »
Miraculoso!
"What the large print giveth, the small print taketh away."
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf