Arduino + LDR + 9 LED's

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,142
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 9, 2009

I hooked up my Arduino microcontroller to a light dependent resistor I found in a motion activated Halloween toy and output its analog signal to some LED's for a visual effect.

I used the Arduino Programming Language, which is essentially a C/C++ variant. The microcontroller and the language is all open source and runs under Ubuntu and Windows just fine.

The microcontroller is around $40-50 and you can get lots of electronics from old toys or just about anywhere for free.

Its cheap, easy and fun!

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (Shawnbjj)

  • Basically just details on how u did that...

  • @Malik0505 I read the analog values of the LDR and using a bunch of if / else statements I turned on / off the LED's if it was within a certain value.

    ie. if LDR < 100 turn on LED 1 and turn off LED 2-10.

    Hope this helps

see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • Can you post the code for that? And the schematics? I'd love to play around with it

  • Good work....how much did arduino set cost...?

    is it available in electric store?

Loading...

Alert icon
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