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!
Basically just details on how u did that...
Malik0505 3 months ago
@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
Shawnbjj 3 months ago